Stas,
Thanks for the reply, unfortunately no such luck with this version I'm
afraid but a little progress non the less.

My version of libgtop 2.6.0 doesn't have xmalloc.h, I changed that to
malloc.h which got me passed that, and now the Server compiles, and now I
get the attached errs errors.  There's an xmalloc.h error here as well.

Thx
Pete
-- 
"Unencumbered by the thought process"
--1992-2000 Click and Clack presidential campaign slogan

Stas Bekman said:
> Pete Geenhuizen wrote:
>> Stas,
>> I want to install Apache Vmonitor, but I'm being stopped by the
>> following
>> compile problems.
>>
>> This is Apache 2.0.48, Solaris 9, gcc 3.3.2 and libgtop 2.6.0.
>>
>> Any suggestions on how to resolve this problem?
>
> Hi Pete,
>
> Yeah, it's crap. They keep on changing things w/o considering back-compat.
> Moreover 2.6.0 shipped with mandrake is crippled. But try this version
> [1], it
> may work for you if your distro is not crippled. Let me know whether it
> has
> worked. Thanks.
>
> CC'ing Paul who has the same problem and modperl for the archives.
>
> [1] http://apache.org/~stas/GTop-0.13.tar.gz
>
> Paul, I could not get my hands on 2.5 so this will probably won't work for
> you. You will need to adjust both Makefile.PL and Server/Makefile.PL and
> Server/daemon.h to 2.5. I if it works the same for you, I'll just replace
> s/6/5/. It's possible that it was done even earlier in 2.4, but again I
> don't
> have a prepackaged version.... Hope this helps.
>
>
>
> __________________________________________________________________
> 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
>
{root} 5:29:07am[63]: perl Makefile.PL
Using INC:   -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include  
Using LIBS:  -R/usr/X11R6.4/lib -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6.4/lib 
-lXau -lgtop-2.0 -lglib-2.0  
Checking if your kit is complete...
Looks good
Writing Makefile for GTop::Server
Writing Makefile for GTop

{root} 5:29:19am[64]: make
cp lib/GTop.pm blib/lib/GTop.pm
cp GTop.pod blib/lib/GTop.pod
make[1]: Entering directory `/export/data/xfer/GTop-0.13/Server'
cp Server.pm ../blib/lib/GTop/Server.pm
cc -c  -DGTOP_2_6_PLUS  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.01\" 
-DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   io.c
cc -c  -DGTOP_2_6_PLUS  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.01\" 
-DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   main.c
cc -c  -DGTOP_2_6_PLUS  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.01\" 
-DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   
gnuserv.c
cc -c  -DGTOP_2_6_PLUS  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.01\" 
-DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   
version.c
cc -c  -DGTOP_2_6_PLUS  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.01\" 
-DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   access.c
/usr/local/bin/perl /export/usr/lib/perl5/5.8.2/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap  Server.xs > Server.xsc 
&& mv Server.xsc Server.c
Please specify prototyping behavior for Server.xs (see perlxs manual)
cc -c  -DGTOP_2_6_PLUS  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.01\" 
-DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   Server.c
Running Mkbootstrap for GTop::Server ()
chmod 644 Server.bs
rm -f ../blib/arch/auto/GTop/Server/Server.so
LD_RUN_PATH="/usr/local/lib" cc  -G -L/usr/local/lib io.o main.o gnuserv.o version.o 
access.o Server.o  -o ../blib/arch/auto/GTop/Server/Server.so   -R/usr/X11R6.4/lib 
-L/usr/local/lib -L/usr/local/lib -L/usr/X11R6.4/lib -lXau -lgtop-2.0 -lglib-2.0   
chmod 755 ../blib/arch/auto/GTop/Server/Server.so
cp Server.bs ../blib/arch/auto/GTop/Server/Server.bs
chmod 644 ../blib/arch/auto/GTop/Server/Server.bs
make[1]: Leaving directory `/export/data/xfer/GTop-0.13/Server'
/usr/local/bin/perl /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap.gtop -typemap typemap 
-typemap typemap  GTop.xs > GTop.xsc && mv GTop.xsc GTop.c
cc -c  -I/usr/local/include/libgtop-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.13\" 
-DXS_VERSION=\"0.13\" -fPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   GTop.c
GTop.xs:11:21: xmalloc.h: No such file or directory
GTop.xs: In function `XS_GTop_field_u_int64_t':
GTop.xs:112: error: `u_int64_t' undeclared (first use in this function)
GTop.xs:112: error: (Each undeclared identifier is reported only once
GTop.xs:112: error: for each function it appears in.)
GTop.xs:112: error: `ptr' undeclared (first use in this function)
GTop.xs:112: error: parse error before ')' token
GTop.c: In function `XS_GTop__Mountentry_dev':
GTop.c:1050: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1050: error: parse error before "RETVAL"
GTop.c:1066: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_flags':
GTop.c:1149: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1149: error: parse error before "RETVAL"
GTop.c:1165: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_start':
GTop.c:1180: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1180: error: parse error before "RETVAL"
GTop.c:1196: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_end':
GTop.c:1211: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1211: error: parse error before "RETVAL"
GTop.c:1227: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_offset':
GTop.c:1242: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1242: error: parse error before "RETVAL"
GTop.c:1258: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_perm':
GTop.c:1273: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1273: error: parse error before "RETVAL"
GTop.c:1289: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_inode':
GTop.c:1304: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1304: error: parse error before "RETVAL"
GTop.c:1320: error: `RETVAL' undeclared (first use in this function)
GTop.c: In function `XS_GTop__MapEntry_device':
GTop.c:1335: error: `u_int64_t' undeclared (first use in this function)
GTop.c:1335: error: parse error before "RETVAL"
GTop.c:1351: error: `RETVAL' undeclared (first use in this function)
make: *** [GTop.o] Error 1
-- 
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