Hi All,

I've been trying to build the service code from the Tomcat 4.0b1 source base
under my Linux system. Unfortunately there seems to be a problem with the
systeminfo.h (and underlying sysinfo system call) header file.

systeminfo.h does not exist under Linux (at least on my system, it's
sysinfo.h), and the sysinfo system call made (jsvc_unix.c, line 158) also
doesn't exist. :-( There is a sysinfo system call, but it returns a struct
containing system details like uptime, load, etc.

sysinfo() is used in jsvc_unix.c to obtain the architecture, which is used to
build up a string locating libjvm.so. Looks like under linux we'll have to do
this another way, unless I've overlooked/missed something ?

I've searched the man pages to find an equivalent system call. The best I could
find was uname() in utsname.h which returns a struct including the architecture
type, however it returns too specific information (ie. i686 where i386 is
needed for our purposes).

Any ideas, suggestions for a solution ?

How should we manage platform dependancies/differences like this ? (configure
script? etc)

Cheers,

Marcus

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to