[cairo] Help compiling Cairo-1.12.0 for the PS3
psychon at znc.in
Sun Dec 1 02:03:42 PST 2013
On 30.11.2013 21:01, Nacho Man wrote:
> Hello, I am trying to compile Cairo-1.12.0 for the Playstation 3. I am having trouble. Cairo-1.10.2 compiles just fine. With Cairo-1.12.0 or higher, I get the following error message:
> make: Leaving directory `/home/spork/src/toolchain/build/ps3libraries/build/cairo-1.12.0/build-ppu/boilerplate'
> CCLD cairo-test-suite
> cairo_test_suite-cairo-test.o: In function `.cairo_test_reference_filename':
> cairo-test.c:(.text.cairo_test_reference_filename+0x84): undefined reference to `.access'
> cairo-test.c:(.text.cairo_test_reference_filename+0xfc): undefined reference to `.access'
> cairo-test.c:(.text.cairo_test_reference_filename+0x15c): undefined reference to `.access'
> cairo-test.c:(.text.cairo_test_reference_filename+0x1dc): undefined reference to `.access'
> cairo-test.c:(.text.cairo_test_reference_filename+0x23c): undefined reference to `.access'
> cairo_test_suite-cairo-test.o:cairo-test.c:(.text.cairo_test_reference_filename+0x2ac): more undefined references to `.access' follow
> ../boilerplate/.libs/libcairoboilerplate.a(cairo-boilerplate.o):(.toc+0xf8): undefined reference to `pclose'
> ../boilerplate/.libs/libcairoboilerplate.a(cairo-boilerplate.o): In function `.cairo_boilerplate_open_any2ppm':
> cairo-boilerplate.c:(.text.cairo_boilerplate_open_any2ppm+0x90): undefined reference to `.popen'
> collect2: error: ld returned 1 exit status
> make: *** [cairo-test-suite] Error 1
> make: Leaving directory `/home/spork/src/toolchain/build/ps3libraries/build/cairo-1.12.0/build-ppu/test'
> It appears that in 1.10.2, the files in ./cairo-1.10.2/test do not get compiled at all, however, in the later versions they do. Is there any way to pass something to the configure script to get it to not compile the test suite?
This is due to the following commit:
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Jul 16 20:45:03 2011 +0100
test: Always compile cairo-test-suite
I'm tired of having to explicitly type make cairo-test-suite.
There doesn't seem to be any easy way to not build the test suite currently.
Assuming you only want the cairo library, you could try only calling "make" (and
perhaps "make install"?) in the src/ subdirectory.
<alanc> I think someone had a Xprint version of glxgears at one point,
but benchmarking how many GL pages you can print per second
was deemed too silly to merge
More information about the cairo