[cairo] Build OSX 10.7.5 undefined symbols __cairo_xlib_display_mutex

Paul White shift7solutions at gmail.com
Thu Oct 10 02:18:50 CEST 2013


I receive an error when installing Cairo to support Pango to support
FontForge.
I'm at the stage where Fontforge fires up ok, but I have not really started
using the features in earnest.
I would like to understand the errors I am getting building Cairo


Pauls-MacBook-Pro:cairo paul$ pwd
/Users/paul/Documents/FontForge/BuildCairo/cairo

Pauls-MacBook-Pro:cairo paul$ make
make  all-recursive
Making all in src
make  all-am
  CCLD   libcairo.la
Undefined symbols for architecture x86_64:
  "__cairo_xlib_display_mutex", referenced from:
      __cairo_xlib_device_create in cairo-xlib-display.o
      __cairo_xlib_close_display in cairo-xlib-display.o
ld: symbol(s) not found for architecture x86_64
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

Pauls-MacBook-Pro:cairo paul$


Following instructions at
end_to_end_build_for_mac_os_x<http://cairographics.org/end_to_end_build_for_mac_os_x/>
gave
me all sorts of errors, I changed the target platforms and library names
and made sure PATH variables updated. So I started a clean install using
instructions here:
Installation---OSX<https://github.com/LearnBoost/node-canvas/wiki/Installation---OSX>
and
have installed into /usr/local.

ok. freetype-2.5.0.1.tar.bz2
ok. pkg-config-0.28.tar.gz
ok. libpng-1.6.6.tar.xz
ok. pixman-0.30.2.tar.gz
err. pango-1.36.0.tar.xz  (error: *** Could not enable any backends.)
err. cairo-1.12.16.tar.xz (error unreferenced symbol)
err. FFLibs-mac-20081207.pkg ( fontforge.sf.net.bom doesn’t exist)
ok. fontforge_full-20120731-b.tar.bz2


PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig

Thanking you in advance

-- 
Paul White
& Shift Seven Solutions
www.shift7solutions.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20131010/d058baf9/attachment.html>


More information about the cairo mailing list