tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: apxs problem
Date Tue, 11 Dec 2007 23:55:04 GMT
Hash: SHA1


Dan Ciarniello wrote:
> I am putting together RPMs for apache and tomcat and I want to
> include the mod_jk connector with the apache RPM


Don't do that; instead, have a separate RPM that just contains mod_jk
and maybe a script to install it on top of an existing Apache httpd RPM

Forgive my skepticism, but are you building RPMs for a particular distro
or will there be yet another set of packaged versions of Tomcat-related
software out there that does not work properly.

> but I get an error that apxs cannot be found even though I give the
> full path to apxs.

Stupid question: is that full path correct?

> Note that since I'm building for purposes of packaging, I'm not 
> installing apache in its intended location but in a temporary
> location. This is obviously the problem since if I do actually
> install apache, the connector configure script works fine.  Thing is,
> I don't want to have install apache just to build the connector.  Is
> there any way to do this?

Ideally, the connector should be built on the machine that will be
running it. Is it acceptable to create an RPM that actually builds the
module instead of installing a previously-built binary? It takes only a
few seconds to build mod_jk from source. Since mod_jk requires Apache
httpd to be installed, installing such an RPM would require that apxs be
available in a known location, right?

- -chris
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla -


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message