On 5/1/2014 7:59 AM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Fidelis,
On 5/1/14, 10:53 AM, Fidelis Mnyanyi wrote:
Hi everyone,
I am trying to setup apache http server to work with tomcat 7
through the jk connector (version 1.2.40-src). My server is CentOs
release 6.5. I couldn't find the binary distribution of mod_jk for
CentOs release 6.5 on the net.
I am trying to compile it from source but I am getting this problem
when trying to execute the following:
- unzip the source - go to jk/native directory - run ./configure
--with-apxs=/usr/lib64/httpd/modules
whenever I run above I keep getting this:
configure: error: You must specify a valid --with-apxs path
Any ideas why I am getting this error?
- --with-apxs needs to be given the full path to the apxs program (in
httpd-devel package). So, if it's in /usr/lib64/httpd/modules (which
it shouldn't be), then you need to say:
$ ./configure --with-apxs=/usr/lib64/httpd/modules/apxs
On my Amazon Linux system (which is RHEL-compatible, which should
obviously be fairly similar to CentOS), apxs is in /usr/sbin/apxs
- -chris
My local 64 bit CentOS 6.5 system:
[mdeggers@thor src]$ which apxs
/usr/sbin/apxs
[mdeggers@thor src]$ yum whatprovides /usr/sbin/apxs
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: mirror.stanford.edu
* epel: dl.fedoraproject.org
* extras: linux.mirrors.es.net
* updates: mirror.keystealth.org
httpd-devel-2.2.15-29.el6.centos.x86_64 : Development interfaces for
the Apache
: HTTP server
Repo : base
Matched from:
Filename : /usr/sbin/apxs
httpd-devel-2.2.15-30.el6.centos.x86_64 : Development interfaces for
the Apache
: HTTP server
Repo : updates
Matched from:
Filename : /usr/sbin/apxs
httpd-devel-2.2.15-29.el6.centos.i686 : Development interfaces for the
Apache
: HTTP server
Repo : base
Matched from:
Filename : /usr/sbin/apxs
httpd-devel-2.2.15-30.el6.centos.i686 : Development interfaces for the
Apache
: HTTP server
Repo : updates
Matched from:
Filename : /usr/sbin/apxs
httpd-devel-2.2.15-30.el6.centos.x86_64 : Development interfaces for
the Apache
: HTTP server
Repo : installed
Matched from:
Other : Provides-match: /usr/sbin/apxs
[mdeggers@thor src]$ ./configure --with-apxs=/usr/sbin/apxs
(lots of output)
[mdeggers@thor src]$ make
(lots of output)
[mdeggers@thor src]$ make install
(as root)
Works as expected.
. . . . just my two cents
/mde/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org