Radoslaw Zielinski wrote:
Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 02:04]:

Ok, please try this candidate:
http://apache.org/~stas/GTop-0.13.tar.gz


I have tested it only with 2.6.0. I hope it is still working with earlier ones.


Doesn't work with 2.6.0 (unless you have the xmalloc.h from some old
installation).

  [...]
  athlon-pld-linux-gcc -c  -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -march=athlon   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC 
"-I/usr/lib/perl5/5.8.4/athlon-pld-linux-thread-multi/CORE"   io.c
  In file included from io.c:24:
  daemon.h:34:29: glibtop/xmalloc.h: Nie ma takiego pliku ani katalogu
  [...]

Nie ma, tak nie ma :) This means that my hack to insert -DGTOP_2_5_PLUS define doesn't work for you. Check Server/Makefile.PL it loads config.pl and calls the code that should insert -DGTOP_2_5_PLUS define.


On my machine it runs:

cc -c -DGTOP_2_5_PLUS -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I/home/stas/perl/5.8.1/lib/5.8.1/i686-linux/CORE" io.c

And the autogenerated Server/Makefile has:

# MakeMaker Parameters:

# INC => q[ -DGTOP_2_5_PLUS -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ]
# LIBS => [q[], q[-L/usr/lib], q[-L/usr/X11R6/lib], q[-lXau], q[-lgtop-2.0], q[-lglib-2.0]]
# NAME => q[GTop::Server]
# OBJECT => q[io.o main.o gnuserv.o version.o access.o Server.o]
# VERSION_FROM => q[Server.pm]
# clean => { FILES=>q[server_config_flags.h constants.c] }


please take a look at config.pl and check why it doesn't work. My guess is that pkgconfig --modversion is not working for you.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to