(only following up to -users because this looks like a general problem)
On Sat, Jan 31, 2009 at 08:01:27PM +0100, S?bastien Leygnac wrote:
> Hi,
> Has anybody successfully installed gdl on mac os 10.4 ?
Yup, worked fine for long time so far for me.
> I tried to install gdl, but the process stopped somewhere in the
> building. Here are the final lines of comments after I did
>
> $ fink -b install gdl
>
> gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
> ..libs/libgailutil.18.0.1.dylib .libs/libgailutil_la-gailmisc.o
> ..libs/libgailutil_la-gailtextutil.o -L/sw/lib/fontconfig2/lib -L/sw/lib
> .../../../../gtk/.libs/libgtk-x11-2.0.dylib
> /sw/lib/libgdk-x11-2.0.dylib -L/usr/X11R6/lib -L/sw/lib/pango-ft219/lib
> -L/sw/lib/freetype219/lib /sw/lib/libgdk_pixbuf-2.0.dylib
> /sw/lib/libpixman-1.dylib /sw/lib/libglitz.dylib /sw/lib/libpng12.dylib
> /sw/lib/libexpat.dylib /sw/lib/libiconv.dylib
> .../../../../gdk/.libs/libgdk-x11-2.0.dylib -lXrender -lX11
> /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib
> /usr/X11R6/lib/libXrender.dylib /usr/X11R6/lib/libSM.dylib
> /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib
> /sw/lib/libatk-1.0.dylib /sw/lib/libcairo.dylib /sw/lib/libgio-2.0.dylib
> /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib
> /sw/lib/pango-ft219/lib/libpango-1.0.dylib
> /sw/lib/freetype219/lib/libfreetype.dylib -lz
> /sw/lib/fontconfig2/lib/libfontconfig.dylib
> /sw/lib/libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib
> /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib -lm -Wl,-framework
> -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -install_name
> /sw/lib/libgailutil.18.dylib -compatibility_version 19
> -current_version 19.1 -Wl,-single_module
> ld: warning multiple references to dynamic shared library:
> /sw/lib/libgdk-x11-2.0.0.dylib (from /sw/lib/libgdk-x11-2.0.dylib and
> .../../../../gdk/.libs/libgdk-x11-2.0.dylib, using
> .../../../../gdk/.libs/libgdk-x11-2.0.dylib which has higher
> compatibility_version)
> ld: Undefined symbols:
> _gdk_pixbuf_new_from_stream referenced from libgtk-x11-2 expected to be
> defined in libgdk
> _gdk_pixbuf_new_from_stream_at_scale referenced from libgtk-x11-2
> expected to be defined in libgdk
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit
> command failed
> make[5]: *** [libgailutil.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
> ### execution of /var/tmp/tmp.2.AyfaAv failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.14.7-2
> (Lecture de la base de donn?es... 83568 fichiers et r?pertoires d?j?
> install?s.)
> Suppression de fink-buildlock-gtk+2-2.14.7-2 ...
> Failed: phase compiling: gtk+2-2.14.7-2 failed
So the problem is with building gtk+2, gdl is totally irrelevant here.
> I don't understand, because it seems that gtk+2 is installed:
>
> $ fink list gtk+2
> (i) gtk+2 2.14.7-2 The Gimp Toolkit
> (i) gtk+2-dev 2.14.7-2 The Gimp Toolkit
> (i) gtk+2-shlibs 2.14.7-2 The Gimp Toolkit
*Some older version* of gtk+2 is installed, but gdl probably needs a
newer one than that. 'fink dumpinfo -fallversions gtk+2' to see what's
presently installed vs what's available and 'fink show-deps gdl' to
see the minimum that is required.
The gtk+2 build problem looks like a libtool bug. Could you post the
line or two prior to the "gcc -dynamiclib" one (start back at a
"libtool -tag=CC --mode=link" or something like that).
gtk+2 is a dependency of lots of other things for many users, so let's
get that fixed before trying to solve anything else.
dan
--
Daniel Macks
[email protected]
http://www.netspace.org/~dmacks
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users