Re: Messed up my GTK really, really bad



Bruce Ferrell wrote:
OK gang, go ahead and laugh.

In the long and torturous path to getting an application going on my system, I have meesed up my GTK tool chain something feirce. Somewhere along the line, I'managed to create a situation where gtk+2.09 from source thinks glib-2.2.3 is installed in /usr/local/glib-2.2.3 as evidenced by this:

/bin/sh ../libtool --mode=link gcc -O2 -march=i386 -mcpu=i686 -Wall -version-info 0:9:0 -export-dynamic -rpath /usr/lib -export-symbols-regex "^[^_].*" ../gdk-pixbuf/libgdk_pixbuf-2.0.la -L/usr/X11R6/lib -lXft -lXrender -lXext -lX11 -lfreetype -lz -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm -o libgdk-x11-2.0.la gdk.lo gdkcolor.lo gdkcursor.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkkeyuni.lo gdkimage.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdkregion-generic.lo gdkwindow.lo gdkenumtypes.lo x11/libgdk-x11.la grep: /usr/local/glib-2.2.3/lib/libgobject-2.0.la: No such file or directory /bin/sed: can't read /usr/local/glib-2.2.3/lib/libgobject-2.0.la: No such file or directory libtool: link: `/usr/local/glib-2.2.3/lib/libgobject-2.0.la' is not a valid libtool archive
make[3]: *** [libgdk-x11-2.0.la] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/gtk+-2.0.9/gdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gtk+-2.0.9/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gtk+-2.0.9'
make: *** [all-recursive-am] Error 2

suggestions on how to fix this other than re-formatting would be very much appreciated... I already did do a re-install

If you have old and new libraries installed, libtool can get confused.
Edit any of the above 2.09 .la files to remove dependency references to 2.2.3,
or else remove 2.2.3.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]