Re: disable compiling of cairo test suite

RAVI NANJUNDAPPA <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <16964513.189161405922397898.JavaMail.weblogic@epv6ml08>
hi Pranav,

I haven't seen this '--disable-test-suite' configure option. 
Can you please share where did you get this option from ?

And also, 

`_cairo_getopt' is defined in boilerplate/cairo-boilerplate-getopt.c and lpyramid_XXXX() function definitions are available in test/pdiff/lpyramid.c
Please cross check if these files are built properly or not.

Thanks and Best Regards, 
N Ravi
------- Original Message -------
Sender : Pranav Ganorkar<[email protected]>
Date : Jul 21, 2014 11:01 (GMT+05:30)
Title : [cairo] disable compiling of cairo test suite

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.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.