Results 1 to 7 of 7

Thread: How to use phoronix-test-suite to install cairo-demos?

  1. #1
    Join Date
    Nov 2012
    Posts
    7

    Post How to use phoronix-test-suite to install cairo-demos?

    OS: Fedora 16 x86_64
    Hardware: IVB Desktop
    Command: phoronix-test-suite debug-install cairo-demos


    Error Info:


    /tmp/pts-compiler-mask-cairo-demos1.0.1//gcc: redirection error: cannot duplicate fd: Too many open files
    /tmp/pts-compiler-mask-cairo-demos1.0.1//gcc: line 5: /tmp/pts-compiler-mask-cairo-demos1.0.1/CC-options-gcc: Too many open files
    /tmp/pts-compiler-mask-cairo-demos1.0.1//gcc: line 5: /tmp/pts-compiler-mask-cairo-demos1.0.1/CC-options-gcc: Too many open files
    /bin/bash: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Error 24
    /tmp/pts-compiler-mask-cairo-demos1.0.1//gcc: redirection error: cannot duplicate fd: Too many open files

    Can you help me solve it?
    Last edited by tianye; 11-21-2012 at 08:15 PM.

  2. #2
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,051

    Default

    You have too limited environment. Raise your limits if you have the permissions. (ulimit is the command)

  3. #3
    Join Date
    Nov 2012
    Posts
    7

    Post

    Quote Originally Posted by curaga View Post
    You have too limited environment. Raise your limits if you have the permissions. (ulimit is the command)
    I use root account, also run ulimit command, but report the same error info.

  4. #4
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,051

    Default

    "ulimit -a"

  5. #5
    Join Date
    Nov 2012
    Posts
    7

    Post

    Quote Originally Posted by curaga View Post
    "ulimit -a"
    The issue also exists.

  6. #6
    Join Date
    Nov 2012
    Posts
    7

    Arrow

    Quote Originally Posted by tianye View Post
    The issue also exists.

    I can install success that follow the install-file "test-profiles/pts/cairo-demos-1.0.1/install.sh" step by step, but use phoronix-test-suite install cairo-demos will report the same error.

    cat install.sh
    #!/bin/sh

    tar -xvjf cairo-demos-20120130.tar.bz2
    cd cairo-demos/
    make -j $NUM_CPU_JOBS
    echo $? > ~/install-exit-status
    cd ~

    echo "#!/bin/sh
    cd cairo-demos/
    ./\$@ > \$LOG_FILE 2>&1
    echo \$? > ~/test-exit-status" > cairo-perf-demos
    chmod +x cairo-perf-demos

  7. #7
    Join Date
    Jun 2011
    Posts
    10

    Default

    the Makefile is missing -lm to link to the math library, making the cos calls fail...

    works with this in the makefile...

    spinner-demo: spinner-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ spinner-demo.c $(SOURCES) $(LIBS) -lm
    spiral-demo: spiral-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ spiral-demo.c $(SOURCES) $(LIBS) -lm
    slideshow-demo: slideshow-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ slideshow-demo.c $(SOURCES) $(LIBS) -lm
    poppler-demo: poppler-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ poppler-demo.c $(SOURCES) $(LIBS) -lm
    tiger-demo: tiger-demo.c $(SOURCES) demo.h Makefile tiger.inc
    $(CC) $(DEFINES) $(CFLAGS) -o $@ tiger-demo.c $(SOURCES) $(LIBS) -lm
    fish-demo: fish-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ fish-demo.c $(SOURCES) $(LIBS) -lm
    fish2-demo: fish2-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ fish2-demo.c $(SOURCES) $(LIBS) -lm
    flowers-demo: flowers-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ flowers-demo.c $(SOURCES) $(LIBS) -lm
    gears-demo: gears-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ gears-demo.c $(SOURCES) $(LIBS) -lm
    gradient-demo: gradient-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ gradient-demo.c $(SOURCES) $(LIBS) -lm
    chart-demo: chart-demo.c $(SOURCES) demo.h Makefile
    $(CC) $(DEFINES) $(CFLAGS) -o $@ chart-demo.c $(SOURCES) $(LIBS) -lm
    clean:
    rm -f *-demo

Tags for this Thread

Posting Permissions

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