Announcement

Collapse
No announcement yet.

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

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

  • 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; 21 November 2012, 09:15 PM.

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

    Comment


    • #3
      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.

      Comment


      • #4
        "ulimit -a"

        Comment


        • #5
          Originally posted by curaga View Post
          "ulimit -a"
          The issue also exists.

          Comment


          • #6
            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

            Comment


            • #7
              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

              Comment

              Working...
              X