GTK+ 2.18.0 released



Hi all,

I've got serious issues building gtk+ 2.18.0 under Mac OS X:

Whereas under 10.4 (Intel) and 10.6 I got a clean build, under 10.4
(PPC) and 10.5 (both PPC and Intel) I have problems.

First the 10.5 failure:

For some unknown reason we are trying to link the current versions of
libcairo and libpixman from the /usr/X11/lib (where there are obsolete
versions installed by the OS) rather than from the correct
/usr/local/lib directory. Manually adding the correct paths to LDFLAGS
did not help anything:

libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o
.libs/libtestaction.so -bundle  .libs/testaction.o
../../../../gtk/.libs/libgtk-x11-2.0.dylib -L/usr/local/lib
-L/usr/local -L/usr/X11/lib
/tmp/gtk+2-2.18.0/gdk/.libs/libgdk-x11-2.0.dylib
../../../../gdk/.libs/libgdk-x11-2.0.dylib
/usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib
/tmp/gtk+2-2.18.0/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
/usr/local/lib/libpangocairo-1.0.dylib /usr/local/lib/libcairo.dylib
/usr/local/lib/libpixman-1.dylib /usr/local/lib/libpng12.dylib
/usr/local/lib/libXrender.dylib /usr/local/lib/libfontconfig.dylib
/usr/local/lib/libfreetype.dylib /usr/local/lib/libexpat.dylib
/usr/local/lib/libatk-1.0.dylib /usr/local/lib/libgio-2.0.dylib
/usr/local/lib/libpangoft2-1.0.dylib /usr/local/lib/libpango-1.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/local/lib/libiconv.dylib
/usr/local/lib/libtiff.dylib -ljbig -lc /usr/local/lib/libjasper.a
/usr/local/lib/libjpeg.dylib /usr/X11/lib/libcairo.2.17.5.dylib
-L/usr/lib /usr/X11/lib/libfontconfig.dylib /usr/lib/libiconv.dylib
/usr/X11/lib/libfreetype.dylib /usr/lib/libexpat.dylib
/usr/X11/lib/libpng12.0.26.0.dylib -lz
/usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libX11.6.2.0.dylib
/usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib
/usr/X11/lib/libpixman-1.0.10.0.dylib -lm -lresolv  -Wl,-dylib_file
-Wl,/usr/local/lib/libgdk-x11-2.0.0.dylib:/tmp/gtk+2-2.18.0/gdk/.libs/libgdk-x11-2.0.dylib
-Wl,-dylib_file
-Wl,/usr/local/lib/libgdk_pixbuf-2.0.0.dylib:/tmp/gtk+2-2.18.0/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
-Wl,-dylib_file
-Wl,/usr/local/lib/libgdk_pixbuf-2.0.0.dylib:/tmp/gtk+2-2.18.0/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
-Wl,-dylib_file
-Wl,/usr/local/lib/libgdk_pixbuf-2.0.0.dylib:/tmp/gtk+2-2.18.0/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
  -framework Carbon -framework CoreFoundation -framework Cocoa
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libcairo.2.17.5.dylib: No
such file or directory
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libpixman-1.0.10.0.dylib:
No such file or directory
make[5]: *** [libtestaction.la] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Second 10.4 (PPC):

For some reason I now have to add -lresolv to LDFLAGS.

Note: For symmetry, I had to add -lresolv to LDFLAGS to build glib2
2.22.0 under 10.4 Intel...

Marius
--
Marius Schamschula


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]