[cairo] disable compiling of cairo test suite

Pranav Ganorkar pranavg189 at gmail.com
Sun Jul 20 22:31:37 PDT 2014


Hi , I am trying to build latest cairo from git in archlinux but i get the
following error.....

make[5]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/boilerplate'
  CC       any2ppm-any2ppm.o
  CCLD     any2ppm
  CCLD     cairo-test-suite
cairo_test_suite-cairo-test-runner.o: In function `_parse_cmdline':
/home/pranav/jhbuild/checkout/cairo/test/cairo-test-runner.c:355: undefined
reference to `_cairo_getopt'
../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:321: undefined
reference to `lpyramid_create'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:322: undefined
reference to `lpyramid_create'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined
reference to `lpyramid_get_value'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined
reference to `lpyramid_get_value'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined
reference to `lpyramid_get_value'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined
reference to `lpyramid_get_value'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:356: undefined
reference to `lpyramid_get_value'
../test/pdiff/.libs/libpdiff.a(pdiff.o):/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:357:
more undefined references to `lpyramid_get_value' follow
../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:412: undefined
reference to `lpyramid_destroy'
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:413: undefined
reference to `lpyramid_destroy'
collect2: error: ld returned 1 exit status
Makefile:1750: recipe for target 'cairo-test-suite' failed
make[4]: *** [cairo-test-suite] Error 1
make[4]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'
Makefile:8121: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'
Makefile:1691: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'
Makefile:897: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pranav/jhbuild/checkout/cairo'
Makefile:747: recipe for target 'all' failed
make: *** [all] Error 2

i have added the following the flags to configure ....
--disable-static --disable-lto --disable-cairo-spinx --disable-trace
--disable-test-suite
I dont know why but it still builds the cairo test suite and gives me the
above compile error.
I am using gcc 4.9.0.
can anyone guide me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20140721/d57bed5a/attachment.html>


More information about the cairo mailing list