Re: Compiling gnome-libs........



Gleef wrote:
> 
> On Mon, 28 Dec 1998, Gabriele Giorgetti wrote:
> > Gleef wrote:
> > > On Mon, 28 Dec 1998, Gabriele Giorgetti wrote:
> [snip]
> > > > gcc -g -O2 -Wall -Wno-unused -o .libs/htmltest test.o -Wl,--rpath
> > > > -Wl,/usr/local/gnome/lib ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm
> > > > -ljpeg -lpng -lz -lz -lSM -lICE -L/usr/local/gnome/lib -L/usr/X11R6/lib
> > > > -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lm -lXpm -ljpeg
> > > > -lpng -lz -lz -lSM -lICE -L/usr/local/gnome/lib -L/usr/X11R6/lib -lgtk
> > > > -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lm
> > > > ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
> > > > ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
> [snip]
> >
> > Well that's what i get doing  nm libz.so |grep compress in
> > /usr/local/lib:
> 
> If your libz.so is in /usr/local/lib, that would explain it.  The gcc
> command you get the error on isn't looking in /usr/local/lib to find
> libraries.  First, double check to make sure there are no libz.so* files
> elsewhere (in particular, check /usr/X11R6/lib).
> 
> Now, remove the config.cache file, and configure with the option
> "--libdir=/usr/local/lib", it should find your /usr/local/lib/libz.so
> properly.  Make sure you use this option whenever you are configuring a
> GNOME package.

Cool you're Helping me in realtime ;)

Well that's my systems :

gnome sources (gtk, glib, imlib etc etc) are under /usr/local/gnome 
zlib are under /usr/local/lib

cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/ix86-linux/lib
/usr/ix86-linuxaout/lib
/usr/openwin/lib
/usr/local/gnome/lib
/usr/local/gnome/lib/gtk/themes/

and i configured gnome-libs with :

./configure --with-x --with-imlib-prefix=/usr/local/gnome
--with-gtk-prefix=/usr/local/gnome --with-esd-prefix=/usr/local/gnome
--disable-nls --enable-gnome-hello --prefix=/usr/local/gnome

ehm is there anything wrong ?


I use Slack 3.6 with no shit installed ;)

> 
> Sorry if i'am boring you

Thanks REALLY

Nope



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