Here's what I had to do to get GTK2 working in Leopard:
Installed all of the xcode tools, including every version of gcc and the X11-SDK.
I compiled libtiff from source, compiled libjpeg from source.
compiled fink from source, updated fink to the most recent cvs repositories.
edited my .bash_profile to include "export PATH=/sw/bin:$PATH" and "export DYDLD_LIBRARY_PATH=/usr/local/lib"
I then attempted to install the gtk+2 package via fink but it kept stopping while making the gdk libaries with this error:
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory make: *** [libgdk-x11-2.0.la] Error 1 make: *** [all-recursive] Error 1 make: *** [all] Error 2 make: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of make failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.6.10-1004 (Reading database ... 47314 files and directories currently installed.) Removing fink-buildlock-gtk+2-2.6.10-1004 ... Failed: phase compiling: gtk+2-2.6.10-1004 failed
I tried to fix the missing library with xorg via macports, unfortunately macports does not have xorg support yet:
So my ultimate fix was to create a symbolic link from /Developer/SDKs/MacOSX10.5/usr/X11/lib/l
I again tried to install gtk+2. Finally this time it installed sucessfully.