Announcement

Collapse
No announcement yet.

qgears failure.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • qgears failure.

    libqt4-dev and libqt3-dev are installed. So not sure what development libraries it is after.

    Code:
    david@david /capture/Trojans2009 $
     phoronix-test-suite benchmark xrender
    
    
    ====================================
    3 Tests To Be Installed
    Estimated Download Size: 0.28 MB
    Estimated Install Size: 0.62 MB
    ====================================
    
    No installation script found for 2d-test
    
    ====================================
    Downloading Files For: render-bench
    Estimated Download Size: 0.02 MB
    ====================================
    
    
    
    Downloading File: render_bench.tar.gz
    
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 22512  100 22512    0     0  15550      0  0:00:01  0:00:01 --:--:-- 31223
    
    ====================================
    Installing Test: render-bench
    Estimated Install Size: 0.12 MB
    ====================================
    
    /bin/sh: imlib2-config: not found
    In file included from main.c:1:
    main.h:18:20: error: Imlib2.h: No such file or directory
    main.c: In function ‘populate_from_file’:
    main.c:168: error: ‘Imlib_Image’ undeclared (first use in this function)
    main.c:168: error: (Each undeclared identifier is reported only once
    main.c:168: error: for each function it appears in.)
    main.c:168: error: expected ‘;’ before ‘im’
    main.c:169: error: ‘DATA32’ undeclared (first use in this function)
    main.c:169: error: ‘pixels’ undeclared (first use in this function)
    main.c:172: error: ‘im’ undeclared (first use in this function)
    main.c: At top level:
    main.c:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘im_win’
    main.c:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘im_img’
    main.c: In function ‘test_over_imlib2’:
    main.c:216: error: ‘im_win’ undeclared (first use in this function)
    main.c:219: error: ‘im_img’ undeclared (first use in this function)
    main.c: In function ‘test_over_scale_half_imlib2’:
    main.c:255: error: ‘im_win’ undeclared (first use in this function)
    main.c:258: error: ‘im_img’ undeclared (first use in this function)
    main.c: In function ‘test_over_scale_double_smooth_imlib2’:
    main.c:294: error: ‘im_win’ undeclared (first use in this function)
    main.c:297: error: ‘im_img’ undeclared (first use in this function)
    main.c: In function ‘test_over_scale_double_nearest_imlib2’:
    main.c:333: error: ‘im_win’ undeclared (first use in this function)
    main.c:336: error: ‘im_img’ undeclared (first use in this function)
    main.c: In function ‘test_over_scale_general_nearest_imlib2’:
    main.c:375: error: ‘im_win’ undeclared (first use in this function)
    main.c:378: error: ‘im_img’ undeclared (first use in this function)
    main.c: In function ‘test_over_scale_general_smooth_imlib2’:
    main.c:415: error: ‘im_win’ undeclared (first use in this function)
    main.c:418: error: ‘im_img’ undeclared (first use in this function)
    main.c: In function ‘main_loop’:
    main.c:453: error: ‘im_win’ undeclared (first use in this function)
    main.c:454: error: ‘im_img’ undeclared (first use in this function)
    make: *** [main.o] Error 1
    render_bench/
    render_bench/Makefile
    render_bench/main.c
    render_bench/main.h
    render_bench/tst_opaque.png
    render_bench/tst_transparent.png
    cc -g -I/usr/X11R6/include `imlib2-config --cflags` -c main.c -o main.o
    
    ====================================
    Downloading Files For: qgears2
    Estimated Download Size: 0.26 MB
    ====================================
    
    
    
    Downloading File: qgears2.tar.bz2
    
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  267k  100  267k    0     0   121k      0  0:00:02  0:00:02 --:--:--  155k
    
    ====================================
    Installing Test: qgears2
    Estimated Install Size: 0.5 MB
    ====================================
    
    In file included from main.cpp:1:
    qgears.h:4:19: error: QWidget: No such file or directory
    In file included from qgears.h:6,
                     from main.cpp:1:
    commonrenderer.h:9:17: error: QTime: No such file or directory
    commonrenderer.h:10:24: error: QPainterPath: No such file or directory
    In file included from commonrenderer.h:12,
                     from qgears.h:6,
                     from main.cpp:1:
    composite.h:4:19: error: QPixmap: No such file or directory
    In file included from commonrenderer.h:13,
                     from qgears.h:6,
                     from main.cpp:1:
    text.h:4:16: error: QPen: No such file or directory
    text.h:5:17: error: QFont: No such file or directory
    text.h:6:19: error: QString: No such file or directory
    In file included from main.cpp:2:
    qglgears.h:5:21: error: QGLWidget: No such file or directory
    main.cpp:4:24: error: QApplication: No such file or directory
    main.cpp:5:19: error: QtDebug: No such file or directory
    In file included from commonrenderer.h:12,
                     from qgears.h:6,
                     from main.cpp:1:
    composite.h:15: error: field ‘bg’ has incomplete type
    composite.h:16: error: field ‘fg’ has incomplete type
    composite.h:18: error: ‘qreal’ does not name a type
    composite.h:19: error: ‘qreal’ does not name a type
    composite.h:21: error: ‘qreal’ does not name a type
    composite.h:22: error: ‘qreal’ does not name a type
    In file included from commonrenderer.h:13,
                     from qgears.h:6,
                     from main.cpp:1:
    text.h:15: error: ‘QPen’ does not name a type
    text.h:16: error: ‘QFont’ does not name a type
    text.h:17: error: ‘QString’ does not name a type
    In file included from commonrenderer.h:14,
                     from qgears.h:6,
                     from main.cpp:1:
    rawpixmap.h:15: error: field ‘pix’ has incomplete type
    In file included from qgears.h:6,
                     from main.cpp:1:
    commonrenderer.h:35: error: ‘QPaintDevice’ has not been declared
    commonrenderer.h:37: error: ‘QPaintDevice’ has not been declared
    commonrenderer.h:39: error: ‘QPainterPath’ does not name a type
    commonrenderer.h:41: error: ‘QPaintDevice’ has not been declared
    commonrenderer.h:50: error: ‘QPainterPath’ does not name a type
    commonrenderer.h:51: error: ‘QPainterPath’ does not name a type
    commonrenderer.h:52: error: ‘QPainterPath’ does not name a type
    commonrenderer.h:56: error: ‘qreal’ does not name a type
    commonrenderer.h:57: error: ‘qreal’ does not name a type
    commonrenderer.h:64: error: ‘QTime’ does not name a type
    In file included from main.cpp:1:
    qgears.h:13: error: invalid use of incomplete type ‘struct QWidget’
    commonrenderer.h:5: error: forward declaration of ‘struct QWidget’
    qgears.h:14: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
    qgears.h:15: error: expected ‘;’ before ‘public’
    In file included from main.cpp:2:
    qglgears.h:13: error: expected class-name before ‘,’ token
    qglgears.h:16: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
    qglgears.h:17: error: expected ‘;’ before ‘public’
    main.cpp: In function ‘int main(int, char**)’:
    main.cpp:22: error: ‘QApplication’ was not declared in this scope
    main.cpp:22: error: expected `;' before ‘app’
    main.cpp:28: error: ‘strcmp’ was not declared in this scope
    main.cpp:49: error: ‘stderr’ was not declared in this scope
    main.cpp:49: error: ‘fprintf’ was not declared in this scope
    main.cpp:50: error: ‘exit’ was not declared in this scope
    main.cpp:60: error: cannot convert ‘QGLGears*’ to ‘QWidget*’ in assignment
    main.cpp:67: error: no matching function for call to ‘QGears::QGears(bool)’
    qgears.h:13: note: candidates are: QGears::QGears()
    qgears.h:13: note:                 QGears::QGears(const QGears&)
    main.cpp:70: error: no matching function for call to ‘QGears::QGears(bool)’
    qgears.h:13: note: candidates are: QGears::QGears()
    qgears.h:13: note:                 QGears::QGears(const QGears&)
    main.cpp:73: error: cannot dynamic_cast ‘widget’ (of type ‘struct QWidget*’) to type ‘class CommonRenderer*’ (source is a pointer to incomplete type)
    main.cpp:75: error: ‘qDebug’ was not declared in this scope
    main.cpp:79: error: invalid use of incomplete type ‘struct QWidget’
    commonrenderer.h:5: error: forward declaration of ‘struct QWidget’
    main.cpp:80: error: ‘app’ was not declared in this scope
    make: *** [main.o] Error 1
    patching file commonrenderer.cpp
    g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o main.o main.cpp
    
    ====================================
    Test Suite: xrender
    ====================================
    
    
    Would you like to save these test results (Y/n)? n
    
    ====================================
    Render Bench (Run 1 of 3)
    ====================================
    
    ./render-bench-test: 4: ./render_bench: not found
    
    
    Test-Time: 0 Seconds
    
    ====================================
    Render Bench (Run 2 of 3)
    ====================================
    
    ./render-bench-test: 4: ./render_bench: not found
    
    
    Test-Time: 0 Seconds
    
    ====================================
    Render Bench (Run 3 of 3)
    ====================================
    
    ./render-bench-test: 4: ./render_bench: not found
    
    
    Test-Time: 0 Seconds
    
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36670064 bytes) in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_system_graphics.php on line 819

  • #2
    Hi Dave,

    What distribution are you using? Hmmm for render-bench it's missing imlib2. Are you sure libqt4-dev is installed?
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      Kubuntu Hardy


      Well from what I can see it is.


      Code:
      david@david /capture/Trojans2009 $
      sudo apt-get install libqt4-dev
      [sudo] password for david:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      libqt4-dev is already the newest version.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

      Which would you suggest?

      Code:
      david@david /capture/Trojans2009 $
      apt-file -l search imlib2
      camserv
      ffmpeg
      gdk-imlib11
      illuminator-doc
      libimage-imlib2-perl
      libimlib2
      libimlib2-dev
      libimlib2-ruby
      python-kaa-imlib2

      Comment


      • #4
        libimlib2-dev
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #5
          Cheers.

          But I need to some one "re-install" the suite.


          Code:
          david@david ~ $
          phoronix-test-suite benchmark xrender
          
          
          ====================================
          Test Suite: xrender
          ====================================
          
          
          Would you like to save these test results (Y/n)?
          Enter a name to save these results: 6600GT 6000
          Enter a unique name for this test run: default
          
          ###########################################
          If you wish, enter a new description below.
          Press ENTER to proceed without changes.
          ###########################################
          
          Current Description: This test suite consists of graphics tests that exercise the X11 RENDER extension.
          
          New Description:
          
          ====================================
          Render Bench (Run 1 of 3)
          ====================================
          
          ./render-bench-test: 4: ./render_bench: not found
          
          
          Test-Time: 0 Seconds
          
          ====================================
          Render Bench (Run 2 of 3)
          ====================================
          
          ./render-bench-test: 4: ./render_bench: not found
          
          
          Test-Time: 0 Seconds
          
          ====================================
          Render Bench (Run 3 of 3)
          ====================================
          
          ./render-bench-test: 4: ./render_bench: not found
          
          
          Test-Time: 0 Seconds
          
          Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 42068586 bytes) in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_system_graphics.php on line 819
          david@david ~ $
          man phoronix-test-suite
          david@david ~ $
          phoronix-test-suite install xrender
          
          Checking For Needed External Dependencies.
          Already Installed: 2d-test
          Already Installed: render-bench
          Already Installed: qgears2
          david@david ~ $

          Comment


          • #6
            phoronix-test-suite force-install render-bench
            Michael Larabel
            http://www.michaellarabel.com/

            Comment


            • #7
              I found a force install option.

              But back to square one though.

              Thanks for the help so far.

              Code:
              david@david ~ $
              phoronix-test-suite force-install xrender
              
              Checking For Needed External Dependencies.
              
              ====================================
              3 Tests To Be Installed
              Estimated Download Size: 0.28 MB
              Estimated Install Size: 0.62 MB
              ====================================
              
              No installation script found for 2d-test
              
              ====================================
              Installing Test: render-bench
              Estimated Install Size: 0.12 MB
              ====================================
              
              render_bench/
              render_bench/Makefile
              render_bench/main.c
              render_bench/main.h
              render_bench/tst_opaque.png
              render_bench/tst_transparent.png
              cc -g -I/usr/X11R6/include `imlib2-config --cflags` -c main.c -o main.o
              rm -f render_bench
              cc -o render_bench main.o -L/usr/X11R6/lib -lm -lX11 -lXext -lXrender `imlib2-config --libs`
              
              ====================================
              Installing Test: qgears2
              Estimated Install Size: 0.5 MB
              ====================================
              
              In file included from main.cpp:1:
              qgears.h:4:19: error: QWidget: No such file or directory
              In file included from qgears.h:6,
                               from main.cpp:1:
              commonrenderer.h:9:17: error: QTime: No such file or directory
              commonrenderer.h:10:24: error: QPainterPath: No such file or directory
              In file included from commonrenderer.h:12,
                               from qgears.h:6,
                               from main.cpp:1:
              composite.h:4:19: error: QPixmap: No such file or directory
              In file included from commonrenderer.h:13,
                               from qgears.h:6,
                               from main.cpp:1:
              text.h:4:16: error: QPen: No such file or directory
              text.h:5:17: error: QFont: No such file or directory
              text.h:6:19: error: QString: No such file or directory
              In file included from main.cpp:2:
              qglgears.h:5:21: error: QGLWidget: No such file or directory
              main.cpp:4:24: error: QApplication: No such file or directory
              main.cpp:5:19: error: QtDebug: No such file or directory
              In file included from commonrenderer.h:12,
                               from qgears.h:6,
                               from main.cpp:1:
              composite.h:15: error: field ‘bg’ has incomplete type
              composite.h:16: error: field ‘fg’ has incomplete type
              composite.h:18: error: ‘qreal’ does not name a type
              composite.h:19: error: ‘qreal’ does not name a type
              composite.h:21: error: ‘qreal’ does not name a type
              composite.h:22: error: ‘qreal’ does not name a type
              In file included from commonrenderer.h:13,
                               from qgears.h:6,
                               from main.cpp:1:
              text.h:15: error: ‘QPen’ does not name a type
              text.h:16: error: ‘QFont’ does not name a type
              text.h:17: error: ‘QString’ does not name a type
              In file included from commonrenderer.h:14,
                               from qgears.h:6,
                               from main.cpp:1:
              rawpixmap.h:15: error: field ‘pix’ has incomplete type
              In file included from qgears.h:6,
                               from main.cpp:1:
              commonrenderer.h:35: error: ‘QPaintDevice’ has not been declared
              commonrenderer.h:37: error: ‘QPaintDevice’ has not been declared
              commonrenderer.h:39: error: ‘QPainterPath’ does not name a type
              commonrenderer.h:41: error: ‘QPaintDevice’ has not been declared
              commonrenderer.h:50: error: ‘QPainterPath’ does not name a type
              commonrenderer.h:51: error: ‘QPainterPath’ does not name a type
              commonrenderer.h:52: error: ‘QPainterPath’ does not name a type
              commonrenderer.h:56: error: ‘qreal’ does not name a type
              commonrenderer.h:57: error: ‘qreal’ does not name a type
              commonrenderer.h:64: error: ‘QTime’ does not name a type
              In file included from main.cpp:1:
              qgears.h:13: error: invalid use of incomplete type ‘struct QWidget’
              commonrenderer.h:5: error: forward declaration of ‘struct QWidget’
              qgears.h:14: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
              qgears.h:15: error: expected ‘;’ before ‘public’
              In file included from main.cpp:2:
              qglgears.h:13: error: expected class-name before ‘,’ token
              qglgears.h:16: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
              qglgears.h:17: error: expected ‘;’ before ‘public’
              main.cpp: In function ‘int main(int, char**)’:
              main.cpp:22: error: ‘QApplication’ was not declared in this scope
              main.cpp:22: error: expected `;' before ‘app’
              main.cpp:28: error: ‘strcmp’ was not declared in this scope
              main.cpp:49: error: ‘stderr’ was not declared in this scope
              main.cpp:49: error: ‘fprintf’ was not declared in this scope
              main.cpp:50: error: ‘exit’ was not declared in this scope
              main.cpp:60: error: cannot convert ‘QGLGears*’ to ‘QWidget*’ in assignment
              main.cpp:67: error: no matching function for call to ‘QGears::QGears(bool)’
              qgears.h:13: note: candidates are: QGears::QGears()
              qgears.h:13: note:                 QGears::QGears(const QGears&)
              main.cpp:70: error: no matching function for call to ‘QGears::QGears(bool)’
              qgears.h:13: note: candidates are: QGears::QGears()
              qgears.h:13: note:                 QGears::QGears(const QGears&)
              main.cpp:73: error: cannot dynamic_cast ‘widget’ (of type ‘struct QWidget*’) to type ‘class CommonRenderer*’ (source is a pointer to incomplete type)
              main.cpp:75: error: ‘qDebug’ was not declared in this scope
              main.cpp:79: error: invalid use of incomplete type ‘struct QWidget’
              commonrenderer.h:5: error: forward declaration of ‘struct QWidget’
              main.cpp:80: error: ‘app’ was not declared in this scope
              make: *** [main.o] Error 1
              patching file commonrenderer.cpp
              g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o main.o main.cpp
              david@david ~ $

              Comment


              • #8
                render-bench is now running fine though, right?
                Michael Larabel
                http://www.michaellarabel.com/

                Comment


                • #9
                  For Debian 5:

                  for render-bench check for:

                  /usr/include/X11/extensions/Xrender.h

                  if not there install

                  libxrender-dev

                  Btw. on Debian

                  =====================================
                  Imlib2 Development Files
                  Possible Package Names: libimlib2-dev

                  This is not autoinstalled. Best use a Debian live image and try within vbox.

                  ggears missing:

                  /usr/include/qt4/QtOpenGL/QGLWidget -> libqt4-opengl-dev

                  /usr/include/X11/extensions/Xrender.h -> libxrender-dev
                  Last edited by Kano; 04-11-2009, 02:26 AM.

                  Comment


                  • #10
                    On Ubuntu at least, libqt4-dev takes care of libqt4-opengl-dev

                    xorg-dev should also install libxrender-dev
                    Michael Larabel
                    http://www.michaellarabel.com/

                    Comment


                    • #11
                      apt-cache show libqt4-dev|grep Recomm
                      Recommends: libqt4-opengl-dev (= 4.4.3-1)

                      Thats only a recommends, that does not install on a system which is configured NOT to install recommends by default. The U default has nothing to do with a correct depend.

                      xorg-dev could install libxrander-dev, but it was not installed as depend - and does not seem to be needed.

                      Comment


                      • #12
                        Fixed in Git.
                        Michael Larabel
                        http://www.michaellarabel.com/

                        Comment


                        • #13
                          hi there
                          I met below error when start running the qgears2 subitem OpenGL->Gears without a result comes out and return.

                          "PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 192771641 bytes) in /usr/share/phoronix-test-suite/pts-core/library/pts-includes-run.php on line 624"

                          any clue to help me to solve this?

                          (*Note) bellow are the php relatives packages that I have installed before the test.
                          //////////////////////////////////////////////////////////////////////////////////////////////////////////
                          The following NEW packages are going to be installed:
                          libedit php-cli php-common

                          3 new packages to install.
                          Overall download size: 3.2 MiB. After the operation, additional 9.4 MiB will be used.
                          Continue? [y/n/?] (y): y
                          Retrieving package libedit-3.0_snap20090923-3.16.i586 (1/3), 82.0 KiB (166.0 KiB unpacked)
                          Retrieving: libedit-3.0_snap20090923-3.16.i586.rpm [done]
                          Retrieving package php-common-5.3.1-1.i586 (2/3), 590.0 KiB (2.9 MiB unpacked)
                          Retrieving: php-common-5.3.1-1.i586.rpm [done]
                          Retrieving package php-cli-5.3.1-1.i586 (3/3), 2.5 MiB (6.3 MiB unpacked)
                          Retrieving: php-cli-5.3.1-1.i586.rpm [done]
                          Installing: libedit-3.0_snap20090923-3.16 [done]
                          Additional rpm output:
                          /sbin/ldconfig: /usr/lib/libQFileSelector.so.1 is not a symbolic link

                          /sbin/ldconfig: /usr/lib/libaTouchService.so.1 is not a symbolic link



                          Installing: php-common-5.3.1-1 [done]
                          Installing: php-cli-5.3.1-1 [done]
                          //////////////////////////////////////////////////////////////////////////////////////////////////////////

                          BRs
                          Maceo

                          Comment

                          Working...
                          X