Re: libgtop-0.26.2, won't compile
- From: Wilkes Joiner <wilkes memphisonline com>
- To: Alan Shutko <ats acm org>
- CC: Martin Baulig <martin home-of-linux org>, gnome-list gnome org
- Subject: Re: libgtop-0.26.2, won't compile
- Date: Mon, 28 Sep 1998 04:13:15 +0000
Alan Shutko wrote:
> >>>>> "M" == Martin Baulig <martin@home-of-linux.org> writes:
>
> M> Did configure print a warning about not finding GLIB ? I just
> M> changed it (in CVS only) to abort in this case.
>
> I'm pretty sure that isn't the problem (I also have these symptoms).
>
> >From configure:
>
> checking for glib-config... /home/ats/gnome/bin/glib-config
> checking for GLIB - version >= 0.99.7... yes
>
> OTOH, it doesn't seem to include the glibs in the link line...
>
> gcc -Wall -W -g -O2 -D_BSD -DGLIBTOP_DAEMON_SLAVE -o .libs/libgtop_daemon gnuserv.o slave.o main.o io.o version.o -Wl,-rpath -Wl,/home/ats/gnome/lib ../../lib/.libs/libgtop.so -Wl,-rpath -Wl,/home/ats/gnome/lib ../../sysdeps/common/.libs/libgtop_common.so -Wl,-rpath -Wl,/home/ats/gnome/lib ../../sysdeps/linux/.libs/libgtop_sysdeps.so -L/usr/X11R6/lib -lXau -lnsl -lm
>
That was the problem. I know nothing about Makefiles, but I went into libgtop/src/daemon and added
-L/opt/gnome/lib -lgib to the libgtop_daemon_LDADD variable (line 176)
This problem also came up in the examples directory. I added the samething to all ??????_LDFLAGS=
from line 246 to 309. After that everything was fine.
Thanks for the help,
Wilkes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]