-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kelvin Chung wrote:
> I'm getting this error when I am trying to compile gtk+2 in Snow  
> Leopard:
> 
> /bin/sh ../libtool --mode=link gcc  -DGDK_PIXBUF_DISABLE_DEPRECATED - 
> Os -Wall  -L/sw/lib/fontconfig2/lib -L/sw/lib -o libgdk-x11-2.0.la  - 
> version-info 1600:6:1600 -export-dynamic -rpath /sw/lib  -export- 
> symbols-regex "^[^_].*" -lXrender  gdk.lo gdkapplaunchcontext.lo  
> gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo  
> gdkdisplaymanager.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo  
> gdkgc.lo gdkglobals.lo gdkimage.lo gdkkeys.lo gdkkeyuni.lo gdkpango.lo  
> gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg- 
> generic.lo gdkrectangle.lo gdkregion-generic.lo gdkrgb.lo gdkscreen.lo  
> gdkselection.lo gdkvisual.lo gdkwindow.lo gdkwindowimpl.lo  
> gdkenumtypes.lo x11/libgdk-x11.la -L/sw/lib/fontconfig2/lib -L/sw/lib - 
> L/usr/X11/lib -lpangocairo-1.0 -lpango-1.0 -lgio-2.0 -lgobject-2.0 - 
> lgmodule-2.0 -lglib-2.0 -lintl -lfontconfig -lXext -lXrender - 
> lXinerama -lXcursor -lXcomposite -lXdamage -lXfixes -lcairo -lX11  - 
> lm  ../gdk-pixbuf/libgdk_pixbuf-2.0.la
> grep: /usr/X11/lib/libXrender.la: No such file or directory
> sed: /usr/X11/lib/libXrender.la: No such file or directory
> libtool: link: `/usr/X11/lib/libXrender.la' is not a valid libtool  
> archive
> make[4]: *** [libgdk-x11-2.0.la] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Is this something with X11?  How do I resolve this?
> 
>

(crosspost turned off)

This is indeed something to do with X11.  There are a couple of known
issues.

Did you have Xquartz 2.4 installed before you upgraded to 10.6?  If so,
then you may find that you'll need to do a clean install of Fink due to
regressions between that to the release X11 on 10.6.  Some helpful hints
are noted in

http://finkers.wordpress.com/2009/08/31/starting-anew/

If you did not have Xquartz 2.4, then the following quickie workaround
should get you going:

sudo -s
find /sw/lib -name *.la | xargs rm

The .la files (libtool archives) have encoded information about other
.la files that were on your system when you built the package that they
belong to.  Unfortunately, some of those provided by the system have
disappeared between 10.5 and 10.6--notably if one had any version of
Xquartz installed.
- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq47VsACgkQB8UpO3rKjQ9XrACeIWLKdu3xA1ICD33LqModhomH
5X0AnA7xlxnSOA5tpgt4bSCSQGEmQTEG
=kCps
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to