[cairo] install issues on OS X 10.4

Norman Khine norman at khine.net
Wed Jul 1 02:38:27 PDT 2009


Hello,
I am trying to build cairo-1.8.8 from source, but get the following issues:

 1) When configuring, poppler-glib is not found, here is the $
./configure output

http://paste.lisp.org/+1RWO

but from:

$ pkg-config --list-all

http://paste.lisp.org/+1RWP

$ pkg-config --list-all | grep glib

gio-unix-2.0          GIO unix specific APIs - unix specific headers
for glib I/O library
glib-2.0              GLib - C Utility Library
poppler-glib          poppler-glib - GLib wrapper for poppler
gio-2.0               GIO - glib I/O library


Then I get this output at the end of ./configure

The following surface backends:
  Image:         yes (always builtin)
  Xlib:          yes
  Xlib Xrender:  yes
  Quartz:        yes
  Quartz-image:  no (disabled, use --enable-quartz-image to enable)
  XCB:           no (disabled, use --enable-xcb to enable)
  Win32:         no (requires a Win32 platform)
  OS2:           no (disabled, use --enable-os2 to enable)
  PostScript:    yes
  PDF:           yes
  SVG:           yes
  glitz:         no (disabled, use --enable-glitz to enable)
  BeOS:          no (disabled, use --enable-beos to enable)
  DirectFB:      no (disabled, use --enable-directfb to enable)

The following font backends:
  User:          yes (always builtin)
  FreeType:      yes
  Win32:         no (requires a Win32 platform)
  Quartz:        yes

The following functions:
  PNG functions: yes

And the following internal features:
  gcov support:  no
  test surfaces: no (disabled, use --enable-test-surfaces to enable)
  ps testing:    no (requires ghostscript)
  pdf testing:   no (requires poppler-glib >= 0.9.2)
  svg testing:   no (requires librsvg-2.0 >= 2.15.0)


make returns the follwing error

$ make
...
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: can't map file:
/usr/X11R6/lib/libX11.dylib ((os/kern) invalid argument)
make[3]: *** [libcairo.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

full output can be found  http://paste.lisp.org/+1RWQ


I have installed the Gtk-Framework-2.14-LATEST.dmg, but this uses the following:

The frameworks contain the following components:

GLib:

  glib 2.18.1
  gettext 0.16
  intltool 0.40.4

Cairo:

  cairo 1.7.6
  pixman 0.12
  libpng 1.2.29

GTK+:

  gtk+ 2.14.3
  pango 1.22.0
  atk 1.24.0
...


Any thoughts on building cairo-1.8.8 on OS X 10.4.11 and how to avoid
this error.

Thanks

Norman


More information about the cairo mailing list