Pete Geenhuizen wrote:
Well a little headway, the Server compiles but not GTop.  In case it
matters, Solaris 9 doesn't have pkgconfig, it does have pkg-config.

Yes, it was a typo in the email, it uses pkg-config everywhere. The configuration works fine for you.


Here's the output from the build and make.
[...]
/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"  -DGTOP_2_5_PLUS GTop.c
GTop.xs: In function `XS_GTop_field_u_int64_t':
GTop.xs:120: error: `u_int64_t' undeclared (first use in this function)

Well, nothing has changed in GTop itself. Were you able to build GTop before on Solaris? On linux u_int64_t is defined in:


/usr/include/sys/types.h:__extension__ typedef unsigned long long int u_int64_t;

Can you figure out where yours is defined and include that header in GTop.xs? To find that header I did:

grep -Ir u_int64_t /usr/include/ | grep typedef


__________________________________________________________________ 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