<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Pranav Ganorkar</b> <span dir="ltr"><<a href="mailto:pranavg189@gmail.com">pranavg189@gmail.com</a>></span><br>
Date: Mon, Jul 21, 2014 at 7:28 AM<br>Subject: Re: [cairo] disable compiling of cairo test suite<br>To: <a href="mailto:nravi.n@samsung.com">nravi.n@samsung.com</a><br><br><br><div dir="ltr">Hi Ravi , I think I read --disable-test-suite flag somewhere in gentoo forums.....<div>
i think it may be specific to gentoo configuration only...</div><div>but I just want to build the cairo lib as I want to install the latest gtk3 from git.</div>
<div>is it necessary to build the cairo test suite to build cairo lib as it gives me the given error.....</div><div>If I simply run configure as:</div><div><br></div><div>./configure --prefix=$HOME/jhbuild/install --disable-static --disable-lto<br>
</div><div><br></div><div>the error is like:</div><div><div><br></div></div><div>**************************************************************************</div><div><div>cd ../boilerplate && make <a href="http://libcairoboilerplate.la" target="_blank">libcairoboilerplate.la</a></div>
<div>make[5]: Entering directory '/home/pranav/jhbuild/checkout/cairo/boilerplate'</div><div> CC cairo-boilerplate-system.lo</div><div> CC cairo-boilerplate.lo</div><div> CC cairo-boilerplate-xlib.lo</div>
<div> CC cairo-boilerplate-xcb.lo</div><div> CC cairo-boilerplate-script.lo</div><div> CC cairo-boilerplate-ps.lo</div><div> CC cairo-boilerplate-pdf.lo</div><div> CC cairo-boilerplate-svg.lo</div>
<div> CC cairo-boilerplate-constructors.lo</div><div> CCLD <a href="http://libcairoboilerplate.la" target="_blank">libcairoboilerplate.la</a></div><div><div class="h5"><div>make[5]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/boilerplate'</div>
<div> CC any2ppm-any2ppm.o</div><div> CCLD any2ppm</div><div> CCLD cairo-test-suite</div><div>cairo_test_suite-cairo-test-runner.o: In function `_parse_cmdline':</div><div>/home/pranav/jhbuild/checkout/cairo/test/cairo-test-runner.c:355: undefined reference to `_cairo_getopt'</div>
<div>../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:321: undefined reference to `lpyramid_create'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:322: undefined reference to `lpyramid_create'</div>
<div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined reference to `lpyramid_get_value'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined reference to `lpyramid_get_value'</div>
<div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined reference to `lpyramid_get_value'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined reference to `lpyramid_get_value'</div>
<div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:356: undefined reference to `lpyramid_get_value'</div><div>../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</div>
<div>../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:412: undefined reference to `lpyramid_destroy'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:413: undefined reference to `lpyramid_destroy'</div>
<div>collect2: error: ld returned 1 exit status</div><div>Makefile:1750: recipe for target 'cairo-test-suite' failed</div><div>make[4]: *** [cairo-test-suite] Error 1</div><div>make[4]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'</div>
<div>Makefile:8121: recipe for target 'all-recursive' failed</div><div>make[3]: *** [all-recursive] Error 1</div><div>make[3]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'</div><div>Makefile:1691: recipe for target 'all' failed</div>
<div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'</div><div>Makefile:897: recipe for target 'all-recursive' failed</div><div>make[1]: *** [all-recursive] Error 1</div>
<div>make[1]: Leaving directory '/home/pranav/jhbuild/checkout/cairo'</div><div>Makefile:747: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></div></div></div><div>**************************************************************************</div>
<div><br></div><div>so, i think there is some problem building the module cairo-test-suite...</div><div>Is there any other way i can skip it as think gtk3 depends only on the core cairo lib........</div><div>or is there any other workaround......</div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 21, 2014 at 5:59 AM, RAVI NANJUNDAPPA <span dir="ltr"><<a href="mailto:nravi.n@samsung.com" target="_blank">nravi.n@samsung.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi Pranav,<br>
<br>
I haven't seen this '--disable-test-suite' configure option.<br>
Can you please share where did you get this option from ?<br>
<br>
And also,<br>
<br>
`_cairo_getopt' is defined in boilerplate/cairo-boilerplate-getopt.c and lpyramid_XXXX() function definitions are available in test/pdiff/lpyramid.c<br>
Please cross check if these files are built properly or not.<br>
<br>
Thanks and Best Regards,<br>
N Ravi<br>
------- Original Message -------<br>
Sender : Pranav Ganorkar<<a href="mailto:pranavg189@gmail.com" target="_blank">pranavg189@gmail.com</a>><br>
Date : Jul 21, 2014 11:01 (GMT+05:30)<br>
Title : [cairo] disable compiling of cairo test suite<br>
<div><div><br>
Hi , I am trying to build latest cairo from git in archlinux but i get the following error.....<br>
<br>
<br>
make[5]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/boilerplate'<br>
CC any2ppm-any2ppm.o<br>
CCLD any2ppm<br>
CCLD cairo-test-suite<br>
cairo_test_suite-cairo-test-runner.o: In function `_parse_cmdline':<br>
/home/pranav/jhbuild/checkout/cairo/test/cairo-test-runner.c:355: undefined reference to `_cairo_getopt'<br>
../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:321: undefined reference to `lpyramid_create'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:322: undefined reference to `lpyramid_create'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined reference to `lpyramid_get_value'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined reference to `lpyramid_get_value'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined reference to `lpyramid_get_value'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined reference to `lpyramid_get_value'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:356: undefined reference to `lpyramid_get_value'<br>
../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<br>
../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:412: undefined reference to `lpyramid_destroy'<br>
/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:413: undefined reference to `lpyramid_destroy'<br>
collect2: error: ld returned 1 exit status<br>
Makefile:1750: recipe for target 'cairo-test-suite' failed<br>
make[4]: *** [cairo-test-suite] Error 1<br>
make[4]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'<br>
Makefile:8121: recipe for target 'all-recursive' failed<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'<br>
Makefile:1691: recipe for target 'all' failed<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'<br>
Makefile:897: recipe for target 'all-recursive' failed<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory '/home/pranav/jhbuild/checkout/cairo'<br>
Makefile:747: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
<br>
i have added the following the flags to configure ....<br>
--disable-static --disable-lto --disable-cairo-spinx --disable-trace --disable-test-suite<br>
<br>
I dont know why but it still builds the cairo test suite and gives me the above compile error.<br>
I am using gcc 4.9.0.<br>
can anyone guide me.</div></div></blockquote></div><br></div>
</div></div></div><br></div>