Results 1 to 5 of 5

Thread: BUG installing render_bench

  1. #1
    Join Date
    Feb 2009
    Posts
    7

    Exclamation BUG installing render_bench

    On Ubuntu Jaunty (9.04), updated today. Test suite installed from ubuntu repo, not the deb file on your site.

    Code:
    2009-02-23 16:01:18 (14.2 KB/s) - `render_bench.tar.gz.temp' saved [22512/22512]
    
    
    ====================================
    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
    And then it thinks the benchmark was corectly installed and when attempting to run it I get:

    Code:
    ====================================
    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
    
    ####################################
    Render Bench:
    Phoronix Test Suite v1.6.0
    
    
    Average: 0.00 Seconds
    ####################################
    What it's missing (on Ubuntu) is libimlib2-dev.

    If you're going the route of downloading source tarballs and compiling and installing on my machine, at least do it right. Use or make debs out of everything (and rpms for rpm distros) or use the gentoo ebuilds. If you can't even detect that a dependency is not installed, don't do it yourself. Not Invented Here Syndrome at its worst.

  2. #2

    Default

    Quote Originally Posted by wolf550e View Post
    If you can't even detect that a dependency is not installed, don't do it yourself. Not Invented Here Syndrome at its worst.
    imlib2-dev was just mistakenly left out of our external dependencies support, but will be added in now that it's known.

  3. #3

    Default

    Actually I just checked on it and the Imlib2 development files is already covered by the PTS External Dependencies. When installing render-bench, did you decline to enter your root password when prompted or anything like that?

  4. #4
    Join Date
    Feb 2009
    Posts
    7

    Default

    It uses apt to install other dependencies, so it can install libimlib2-dev too. But the problem is worse than an unspeficied dependency: the build totally failed and the thing still decided the benchmark was correctly installed.

  5. #5

    Default

    Quote Originally Posted by wolf550e View Post
    It uses apt to install other dependencies, so it can install libimlib2-dev too.
    Right, PTS should have installed that dependency for you. It does in all cases I have used render_bench, but I am not sure why it didn't for you.

    Quote Originally Posted by wolf550e View Post
    But the problem is worse than an unspeficied dependency: the build totally failed and the thing still decided the benchmark was correctly installed.
    More safety checks will be added in the future.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •