gtk+2 on 10.5 - dependency on libXdamage old version
Ilan Boaz <[email protected]> Sat, 17 Oct 2009 00:23:12 -0700
| Newsgroups | gmane.os.apple.fink.gnome |
|---|---|
| Message-ID | <[email protected]> |
Hello, I recently upgraded from 10.4 to 10.5 on a G5. I then installed XQuartz 2.4.0, Xcode 3.1.3 (with the SDK package), and fink (0.29.10) using selfupdate-rsync with the unstable branches. fink install gtk+2 broke with: powerpc-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.0.0.dylib: No such file or directory In fact, libXdamage.1.0.0.dylib did not exist, but the newer libXdamage.1.1.0.dylib does. > ls -l /usr/X11/lib/libXdamage.* lrwxr-xr-x 1 root wheel 18 Oct 6 17:13 /usr/X11/lib/libXdamage. 1.1.0.dylib -> libXdamage.1.dylib -rwxr-xr-x 1 root wheel 66768 Aug 12 01:32 /usr/X11/lib/libXdamage. 1.dylib lrwxr-xr-x 1 root wheel 18 Oct 6 17:13 /usr/X11/lib/ libXdamage.dylib -> libXdamage.1.dylib -rwxr-xr-x 1 root wheel 936 Sep 8 2007 /usr/X11/lib/libXdamage.la After many failed ideas and reading older posts related to ibXdamage. 1.1.0.dylib, the following recipe solved the problem for me: 1. sudo ln -s /usr/X11/lib/libXdamage.1.1.0.dylib libXdamage. 1.0.0.dylib 2. fink update pango1 atk1 (gtk+2 depends on them). 3. fink scanpackages, fink index, fink clean, and fink selfupdate. 4. fink install gtk+2 gtk+2-dev -- this time it worked. I guess the symlink step was essential. If so, gtk+2 should look for the newer libXdamage.1.1.0.dylib as well. At any rate, this recipe might help others who experience the same problem. Boaz ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference