gdl install on MacBook Pro 10.4 -- problems with gtk+ and plplot

Sébastien Leygnac <[email protected]>
Newsgroups gmane.os.apple.fink.general,gmane.os.apple.fink.gnome
Message-ID <[email protected]>
Hi,
Has anybody successfully installed gdl on mac os 10.4 ?
More infos on my trials below.

Also, I would be happy with an older version of gdl. The only one I see 
in fink is:

$ fink list gdl
      gdl  0.9pre6-1001   GNU Data Language

Say, the 0.9-pre5 would be fine. But I don't see it in fink. Any ideas ?

seb

--------------------------------------------------------------

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
--------------------------------------------------------------

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

--------------------------------------------------------------

I also tried to install plplot (needed by gdl) with fink, but got the 
same kind of error than with gdl.

I was able to install an older version of wxgtk, but not the last one:

$ fink list wxgtk
  i   wxgtk         2.5.2.8-1006 Cross-platform GUI API - unix/gtk version
  i   wxgtk-shlibs  2.5.2.8-1006 Cross-platform GUI API - unix/gtk version
      wxgtk2.8      2.8.7-19      Cross-platform GUI API - unix/gtk version
(i)  wxgtk2.8-shlibs 2.8.7-19    Shared libraries for wxgtk2.8-shlibs
      zphoto-wxgtk    1.2-1013    Zooming photo album generator


but this didn't allow more successful installations of gdl or plplot.

--------------------------------------------------------------
- further informations on my system:
   MacBook Pro 10.4.11
   Xcode 2.5
$ fink --version
Package manager version: 0.28.6
Distribution version: selfupdate-cvs Sat Jan 31 12:42:49 2009, 10.4, i386

$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)

--------------------------------------------------------------


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.