Make grabs the wrong libcairo
- From: Jeff Berman <spamact yahoo com>
- To: gtk-list gnome org
- Subject: Make grabs the wrong libcairo
- Date: Thu, 4 Sep 2008 00:26:27 -0700 (PDT)
Hi everyone,
I'm trying to compile gtk+ 2.13.7, but Make fails with an error about libcairo. As far as I know, I've successfully compiled all of gtk's dependencies, but for some reason gtk is looking for the libcairo in my X11 directory instead of in my /usr/local/lib directory. This is on OS X 10.5.4, and I've compiled everything myself (not using fink or darwin ports). Here's the last part of the Make output:
Extracting /Users/jeff/Desktop/gtk+-2.13.7/gdk/x11/.libs/libgdk-x11.a
(cd .libs/libgdk-x11-2.0.lax/libgdk-x11.a && ar x /Users/jberman/Downloads/forPan/gtk+-2.13.7/gdk/x11/.libs/libgdk-x11.a)
sed 's,^,_,' < .libs/libgdk-x11-2.0.exp > .libs/libgdk-x11-2.0-symbols.expsym
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgdk-x11-2.0.0.1307.0.dylib .libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkapplaunchcontext-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkasync.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcolor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcursor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdisplay-x11.o
.libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdnd-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdrawable-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkevents-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkfont-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgc-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgeometry-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkglobals-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkim-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkimage-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput-none.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkkeys-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkmain-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkpixmap-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkproperty-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkscreen-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkselection-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkspawn-x11.o
.libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdktestutils-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkvisual-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkwindow-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxftdefaults.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxid.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-client.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-common.o -L/usr/X11/lib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libX11.6.2.0.dylib -L/usr/local/lib /usr/local/lib/libpangocairo-1.0.dylib /usr/local/lib/libcairo.dylib /usr/local/lib/libpng12.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /usr/local/lib/libpixman-1.dylib /usr/local/lib/libpangoft2-1.0.dylib /usr/local/lib/libfontconfig.dylib /usr/lib/libiconv.dylib /usr/local/lib/libfreetype.dylib /usr/lib/libz.dylib
/usr/lib/libexpat.dylib /usr/local/lib/libpango-1.0.dylib /usr/lib/libc.dylib /usr/lib/libm.dylib /usr/X11/lib/libcairo.2.17.5.dylib /usr/X11/lib/libfreetype.dylib /usr/local/lib/libgio-2.0.dylib /usr/local/lib/libgobject-2.0.dylib /usr/local/lib/libgmodule-2.0.dylib /usr/local/lib/libglib-2.0.dylib /usr/local/lib/libintl.dylib /usr/X11/lib/libfontconfig.dylib -lm ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib -install_name /usr/local/lib/libgdk-x11-2.0.0.dylib -compatibility_version 1308 -current_version 1308.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libgdk-x11-2.0-symbols.expsym
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libcairo.2.17.5.dylib: No such file or directory
make[4]: *** [libgdk-x11-2.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Why would it suddenly look in /usr/X11/lib when pango found the correct libcairo? Any idea on how to get around this?
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]