[cairo] Cairo 1.2.6 fails to compile on Mac OS X 10.5.1

John Musbach johnmusbach at gmail.com
Sat Nov 24 12:48:44 PST 2007


On Nov 24, 2007 12:39 PM, John Musbach <johnmusbach at gmail.com> wrote:
> Configured via: ./configure --enable-atsui --enable-quartz --disable-png
>
> make failed with: Undefined symbols:
>   "_FcNameConstant", referenced from:
>       _get_integer_default in cairo-xlib-screen.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** [libcairo.la] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2


I realize that atsui and quartz support is apparently experimental but
for some reason even though fontconfig is installed:

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

the configure script never finds it and thus does not enable freetype
support, if there is a way to point the configure script to the
location of fontconfig then obviously that'd be preferable

Thanks!


-- 
Best Regards,

John Musbach


More information about the cairo mailing list