Re: newbie install (gtop/libgtop)



"Derek Becker" <derekb@silversoft.net> writes:

> I'm trying to install Gtop on my Linux 6.0 server
                                   ^^^^^^^^^

<ignore_my_silly_comment>

Eeek ... strictly speaking there is no such "Linux 6.0"; you can either
refer to the Linux kernel (which is 2.0.36) or to the whole GNU/Linux system
as such, the distribution - which is either "SuSE 6.0" or "RedHat 6.0", or
even "SuSE Linux 6.0" or "RedHat Linux 6.0".

Ok, ok - I'm too correct ... but "Linux 6.0" says nothing at all, it can be
either SuSE Linux 6.0 or RedHat 6.0 (and maybe other Linux distributions have
a version 6.0 as well) and the distribution normally matters when reporting
bugs ...

</ignore_my_silly_comment>

> I've sucessfully downloaded and installed glib, gtk+, imlib, and orbit.  I
> am now in the process of attempting to instal libgtop.  I'm using the latest
> tarballs in from ftp://ftp.gnome.org/pub/GNOME/gnome-1.0/sources/

You need to compile and install gnome-libs before libgtop if you want to
use libgtop with GNOME.

> All packages are being based out of the /usr/local directory.
> 
> sh ./configure in libgtop-1.0.2 is sucessful
> 
> 1) make fails to find the ./support/popt-gnome.h file from
> ./src/daemon/gnuserv.c

This file comes from the `support' directory of gnome-libs in your case.

I suppose you have a very old copy of gnome-libs installed somewhere (and
libgtop's configure only checks for the existance of gnome-libs, but not
for the version).

> 2) I modified gnuserv.c so "#include<popt-gnome.h>" now reads
> "#include</usr/local/libgtop-1.0.2/support/popt-gnome.h>"

Well, if you really want to do such things, set

	CPPFLAGS='-I/usr/local/libgtop-1.0.2/support'
	LDFLAGS='-L/usr/local/libgtop-1.0.2/support'

before you run configure.
 
> 3) I tried "sh configure" and then "make" again.  No luck.  I recieve an
> error in make saying that I have undefined references to:
> poptGetContext
> poptReadDefaultConfig
> poptGetNextOpt
> poptStrerror
> poptBadOption
> 
> These variables are defiend in popt-gnome.h, so clearly something is going
> wrong with my install, but what?

They are defined in -lgnomesupport which is part of gnome-libs.

Please try to compile and install gnome-libs first; any version since
GNOME 1.0 will do.

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org



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