i was using cairo-1.6.4 since i need this library to compile gtk and in <a href="http://mozilla.org">mozilla.org</a> this particular version was specified . i was not sure abt which is the stable version . does 1.8.4 also require patches<br>
<br><div class="gmail_quote">On Fri, Nov 21, 2008 at 2:18 PM, tina nambiar <span dir="ltr"><<a href="mailto:teena.nambiar@gmail.com">teena.nambiar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all ,<br><br>when i try ./configure --build=arm-linux --host=i686-linux --enable-directfb=yes --enable-xlib=no --enable-xlib-xrender=no --enable-xcb=no --without-x --disable-win32 --enable-freetype <br><br>for cairo-1.6.4 i get the error <br>
<br>checking for cairo's FreeType font backend... <br>checking for FONTCONFIG... yes<br>checking for FcFini... no<br>no<br>checking whether cairo's FreeType font backend could be enabled... no (requires fontconfig)<br>
configure: error: requested FreeType font backend could not be enabled<br><br><br>the config.log says the following<br><br>configure:27789: checking for FcFini<br>configure:27845: arm-linux-gnu-gcc -o conftest -g -O2 -I/root/usr/cpusr/moz//include conftest.c -lm -L/root/usr/cpusr/moz/lib >&5<br>
/tmp/ccOI075p.o(.text+0x4): In function `main':<br>/root/Desktop/cairo-1.6.4/conftest.c:59: undefined reference to `FcFini'<br>collect2: ld returned 1 exit status<br>configure:27851: $? = 1<br>configure: failed program was:<br>
| /* confdefs.h. */<br>| #define PACKAGE_NAME "cairo"<br>| #define PACKAGE_TARNAME "cairo"<br>| #define PACKAGE_VERSION "1.6.4"<br>| #define PACKAGE_STRING "cairo 1.6.4"<br>| #define PACKAGE_BUGREPORT "<a href="http://bugs.freedesktop.org/enter_bug.cgi?product=cairo" target="_blank">http://bugs.freedesktop.org/enter_bug.cgi?product=cairo</a>"<br>
| #define PACKAGE "cairo"<br>| #define VERSION "1.6.4"<br>| #define STDC_HEADERS 1<br>| #define HAVE_SYS_TYPES_H 1<br>| #define HAVE_SYS_STAT_H 1<br>| #define HAVE_STDLIB_H 1<br>| #define HAVE_STRING_H 1<br>
| #define HAVE_MEMORY_H 1<br>| #define HAVE_STRINGS_H 1<br>| #define HAVE_INTTYPES_H 1<br>| #define HAVE_STDINT_H 1<br>| #define HAVE_UNISTD_H 1<br> #define HAVE_DLFCN_H 1<br>| #define STDC_HEADERS 1<br>| #define FLOAT_WORDS_BIGENDIAN 1<br>
| #define HAVE_CTIME_R 1<br>| #define HAVE_DRAND48 1<br>| /* end confdefs.h. */<br>| /* Define FcFini to an innocuous variant, in case <limits.h> declares FcFini.<br>| For example, HP-UX 11i <limits.h> declares gettimeofday. */<br>
| #define FcFini innocuous_FcFini<br>|<br>| /* System header to define __stub macros and hopefully few prototypes,<br>| which can conflict with char FcFini (); below.<br>| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since<br>
| <limits.h> exists even on freestanding compilers. */<br>|<br>| #ifdef __STDC__<br>| # include <limits.h><br>| #else<br>| # include <assert.h><br>| #endif<br>|<br>| #undef FcFini<br>|<br>| /* Override any GCC internal prototype to avoid an error.<br>
| Use char because int might match the return type of a GCC<br>| builtin and then its argument prototype would still apply. */<br>| #ifdef __cplusplus<br>| extern "C"<br>| #endif<br>| char FcFini ();<br>
| /* The GNU C library defines this for functions which it implements<br>
| to always fail with ENOSYS. Some functions are actually named<br>| something starting with __ and the normal name is an alias. */<br>| #if defined __stub_FcFini || defined __stub___FcFini<br>| choke me<br>| #endif<br>
<br>int<br>| main ()<br>| {<br>| return FcFini ();<br>| ;<br>| return 0;<br>| }<br>configure:27869: result: no<br>
configure:27877: result: no<br>
configure:28046: checking whether cairo's FreeType font backend could be enabled<br>configure:28049: result: no (requires fontconfig)<br>configure:28074: error: requested FreeType font backend could not be enabled<br>
<br><br><br>could someone help me in configuring cairo properly . i already have freetype and fontconfig libraries and other required libraries installed in my prefix path .<br><br>
</blockquote></div><br>