> Ok, I'm going a wee bit crazy here.  I'm trying to build GTop so I can use 
> VMonitor to investigate memory usage/etc. under mod_perl.  I'm using SuSE 
> Linux 6.3, with libgtop installed.  However, I get this when I try and 
> build GTop:
> 
> BUILD/GTop-0.09> perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lgtop
> Note (probably harmless): No library found for -lgtop_sysdeps
> Note (probably harmless): No library found for -lgtop_common
> Note (probably harmless): No library found for -lgtop
> Note (probably harmless): No library found for -lgtop_sysdeps
> Note (probably harmless): No library found for -lgtop_common
> 
> ------------------------------------
> glib-config --lib doesn't return where the above libraries are.  Specifying 
> LIBS on the conifg command line helps a bit, but it still can't find some 
> of the libs...
> ------------------------------------
> 
> Writing Makefile for GTop::Server
> Writing Makefile for GTop
> BUILD/GTop-0.09> make
> mkdir blib
> mkdir blib/lib
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/GTop
> mkdir blib/lib/auto
> mkdir blib/lib/auto/GTop
> mkdir blib/man3
> cp GTop.pod blib/lib/GTop.pod
> cp GTop.pm blib/lib/GTop.pm
> make[1]: Entering directory `/home/miller/BUILD/GTop-0.09/Server'
> mkdir ../blib/lib/GTop
> mkdir ../blib/arch/auto/GTop/Server
> mkdir ../blib/lib/auto/GTop/Server
> cp Server.pm ../blib/lib/GTop/Server.pm
> cc -c -I/usr/lib/glib/include -Dbool=char -DHAS_BOOL -I/usr/local/include 
> -O2 -pipe    -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic 
> -I/usr/lib/perl5/5.00503/i586-linux/CORE  io.c
> In file included from io.c:24:
> daemon.h:27: glibtop.h: No such file or directory
> daemon.h:28: glibtop/error.h: No such file or directory
> daemon.h:29: glibtop/gnuserv.h: No such file or directory
> daemon.h:31: glibtop/open.h: No such file or directory
> daemon.h:32: glibtop/union.h: No such file or directory
> daemon.h:33: glibtop/xmalloc.h: No such file or directory
> daemon.h:34: glibtop/version.h: No such file or directory
> daemon.h:35: glibtop/command.h: No such file or directory
> daemon.h:36: glibtop/parameter.h: No such file or directory
> In file included from io.c:24:
> daemon.h:67: syntax error before `int'
> daemon.h:71: parse error before `*'
> daemon.h:74: parse error before `glibtop_response'
> io.c:26: syntax error before `void'
> io.c:27: parse error before `glibtop_response'
> io.c: In function `do_output':
> io.c:35: `resp' undeclared (first use in this function)
> io.c:35: (Each undeclared identifier is reported only once
> io.c:35: for each function it appears in.)
> io.c:35: `offset' undeclared (first use in this function)
> io.c:36: `data_size' undeclared (first use in this function)
> io.c:38: `s' undeclared (first use in this function)
> io.c:39: `glibtop_response' undeclared (first use in this function)
> io.c:52: `data' undeclared (first use in this function)
> make[1]: *** [io.o] Error 1
> make[1]: Leaving directory `/home/miller/BUILD/GTop-0.09/Server'
> make: *** [subdirs] Error 2
> 
> Has anyone had any success building GTop under SuSE 6.3?  If so, a pointer 
> would be appreciated.
> 
> I searched the epigone archives, and didn't find any hits...
> 
> Lastly, sorry if this isn't the right place to post this message - if I 
> should post elsewhere, let me know and I'll do so.

Hmm, let's see Doug wrote GTop... so is this ontopic? :) Check the libgtop
homepage for more info and help. (hint: README file includes the URL)

Apparantly, you either don't have it installed or installed in some
different place that the compiler doesn't know about. I suggest rebuilding
the libgtop from scratch and it'll all work (remove the SuSe package first
so there won't be any collisions). I don't have SuSe so I cannot share my
experience with you.

_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to