You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brendan McKenna <mc...@taringold.ie> on 2001/05/03 18:45:36 UTC
Re: Error when compiling mod_jk under HPUX 11.00 : jk_global.h
Hi,
In general, it's an iterative process. You don't have
sys/select.h on your machine. Fine. Comment it out and try your
compile again. This time it'll fail because those items that it
expected to find definitions for in that header file aren't there. So
you'll need to find where on your system those items are defined. (In
this case, you're going to need to find where the select(2) call is
defined on your system, as well as the macros that are used with it.
Your system's man pages are a good place to start your search.) Where
you commented out the '#include <sys/select.h>', now add in the correct
includes for your system. And so on...
Repeat this process for all of the headers you don't have,
until you don't get any errors any more.
I don't have access to an HPUX system, so I can't help any more
than that, sorry.
Brendan
--
Brendan McKenna Email: brendan.mckenna@taringold.ie
Development Strategist Phone: +353-61-338177
Taringold Ltd. Fax: +353-61-338065
Re: Error when compiling mod_jk under HPUX 11.00 : jk_global.h
Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
Do not use sys/select.h on HPUX systems
Another alternative is to add an extra #ifndef in jk_global.h, that way
the same script will continue to work on other platforms. Change
jk_global.h to look like...
(jk_global.h somewhere near line 86)
#ifndef NETWARE
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/un.h>
#include <sys/socketvar.h>
---- do not include sys/select.h if using HPUX11 ----
#ifndef HPUX11
#include <sys/select.h>
#endif
#endif
On Thu, 3 May 2001, Brendan McKenna wrote:
> Hi,
>
> In general, it's an iterative process. You don't have
> sys/select.h on your machine. Fine. Comment it out and try your
> compile again. This time it'll fail because those items that it
> expected to find definitions for in that header file aren't there. So
> you'll need to find where on your system those items are defined. (In
> this case, you're going to need to find where the select(2) call is
> defined on your system, as well as the macros that are used with it.
> Your system's man pages are a good place to start your search.) Where
> you commented out the '#include <sys/select.h>', now add in the correct
> includes for your system. And so on...
>
> Repeat this process for all of the headers you don't have,
> until you don't get any errors any more.
>
> I don't have access to an HPUX system, so I can't help any more
> than that, sorry.
>
>
> Brendan
> --
> Brendan McKenna Email: brendan.mckenna@taringold.ie
> Development Strategist Phone: +353-61-338177
> Taringold Ltd. Fax: +353-61-338065
>
>
------------------------------------------------
"Mon aeroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services Group