You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fidelis Mnyanyi <me...@yahoo.com> on 2014/05/01 16:53:51 UTC

Compiling mod_jk in CentOs release 6.5

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?

Re: Compiling mod_jk in CentOs release 6.5

Posted by Doug Tucker <tu...@lyle.smu.edu>.
/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?
>>
I just did this with my centos 6.5 system and the command I used was:

  ./configure --with-apxs=/usr/sbin/apxs



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Compiling mod_jk in CentOs release 6.5

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Shailesh,

On 5/16/14, 1:57 PM, J Java wrote:
>>> There's no reason to read some "how to guide" on the Internet
>>> for how to build mod_jk: the building steps come with the
>>> source package, and they are up-to-date instead of some guy's
>>> blog that requires root privileges to run properly.
> 
> Chris.
> 
> completely agree. But what you can do when if those up-to-date
> steps are are not helping you out?

Ask here? You can get a pretty good response time with a well-asked
question.

> Also, some guy's step definitely helped me achieve waht i wanted
> to (building and settingup mod_jk) out and thats what is important
> I guess than who has written it or how he advises to do it.
> Anyway..it was just a suggestion. no advise

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTdnV0AAoJEBzwKT+lPKRYn8YQAJEjTkkZloe8wfyAsUOKqX7h
nfKPfzdRh6vN62931gsd+DwAvgSuxk627qORaYZpHQ/R3qRcxV3on4Mt42lCwnS3
FcXPZZtq3FMfZlzvbusSTEdf2cyh3HlBzGZvI4UyLKE26O1CoGTrpR0GynxSEomw
NEdgZ/Q7ObX2G5eUvD70Yo/ZiKQCbBZ5cpaExtKWJ8wP7S++EBKZr23NVX/E8SOs
bWefpZiGD+IDBsE2ShhTMR3u+CQAu99MCL/bey2BcPkQGFI7unmtDCUTYmrTi42Z
IMWyKjhbla80s6Bj5pr+Os4lTCPwACTLIPA7WDkX14NiLVBZf+ecvIs/54EV3XA0
P3xlqIEnMt/01aQmP87Ku3wTwxuwsoALXyqx3sg9Bo2BU/xW/GVjk7q0AU3Uw58N
pJgoFGOF/a8NEJY4o1Evnot2jjxLfm8GIiKdYCM/eW7Bt+wb6pV+wARMnzR2zeD0
wRsgHcJ5k2YfdN5ULTmZbcLsDDWC63aSbI7PVYFG/7kvRw9HJv9z2Lu6kMM85kJm
5Z8ZTQjyCttOx4pNuMrQg4uHnze6fjpKIQ7pkMJj5AvVS+fBUVd3qhMqmPVeWTdu
djry54uB8Qb7qa69W+LE5tCj/eBkqbGnSlTfjj41r85n72egNjhSB3RD4le8LiVr
z9h+gkk4VdrE0T379pr8
=om6w
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Compiling mod_jk in CentOs release 6.5

Posted by J Java <jf...@gmail.com>.
>> There's no reason to read some "how to guide" on the Internet for how
to build mod_jk: the building steps come with the source package,
 and they are up-to-date instead of some guy's blog that requires root
privileges to run properly.

Chris.

completely agree. But what you can do when if those up-to-date steps are
are not helping you out?
Also, some guy's step definitely helped me achieve waht i wanted to
(building and settingup mod_jk) out and thats what is important I guess
than who has written it or how he advises to do it. Anyway..it was just a
suggestion. no advise

Thanks,
Shailesh




On Wed, May 7, 2014 at 10:14 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> To whom it may concern,
>
> On 5/3/14, 4:10 AM, J Java wrote:
> > /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
> >
> >
> >>> PFB link which gives  some shell scrpt to compile mod_jk on
> >>> CENTOS. I am
> > not a shell script expert but what I found in this script is using
> > below line (which includes path to aspx) to configure aspx:
> >
> > http://www.cafe-encounter.net/p1086/build-mod_jk-for-centos
> >
> > ./configure --with-apxs=/usr/sbin/apxs
> >
> > So why dont you try to use this path instead of
> > /usr/lib64/httpd/modules/apxs
>
> There's no reason to read some "how to guide" on the Internet for how
> to build mod_jk: the building steps come with the source package, and
> they are up-to-date instead of some guy's blog that requires root
> privileges to run properly.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJTamLQAAoJEBzwKT+lPKRY56EQAJPWpOlbcW4t/ptzwM6pAf0/
> QaIfRGu65/RFRn8TY7so94y2Mg56dkdOOm4+zfnwhOnSjAHjmRnt4yaX70G4KGdq
> ZtjXQ+SgvgU6Vj4R4gumca7KTrpdpPQVmAzvX6ZWIKopUbGXUMr4C1amr0a9oeuI
> 9ayCZQZTLEkRYcB5nmgmxAV2KwNuzUEWdA/QGSNmwM3vHQqbz33s9tMFgiODKEE3
> aM2IQnNQOu9gDn8pkY7ir4942JM+cm5dzdGZV0gAHhOo2DbAi/JwaJ8c3rbLo09p
> UE7V6Axw5ZVXvvzgh19pYykMUniTNgoxygK2XfbEs32h2WEF+6MHZqBjCgXIWWbK
> zBSVk+I4MWuMbi0OV428vEkJm8rfun3a5bui2llbeUclbfnl/urZOIE9mqVj/R9s
> +pvSpWJJ4gMyQ+bcKLxpRiJM+9+cuf4IWW+9KoNmqYU4lv5X+AIXrbrSwsn5yeyH
> d/R0lsXzAz9ULxXCc+CcA1P6OWEQJ8iOCWRR9CHuUEmMrhUNks4N4lytAmYHB1f2
> UuI5Bv9UR88Q9xrfmnCYm0TDBPNi25JcC0/UAOBnZkQDeqSVa9wgxk/AmnJh+KZe
> R0oC7d5YZ5e67u9n4VtX6S9GgHmUNSebgyFEOfqtyX3WOX19hERSYnxaHAKmeouZ
> sAi3QVaKv9n5VXipqk2u
> =tNvP
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Compiling mod_jk in CentOs release 6.5

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

To whom it may concern,

On 5/3/14, 4:10 AM, J Java wrote:
> /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
> 
> 
>>> PFB link which gives  some shell scrpt to compile mod_jk on
>>> CENTOS. I am
> not a shell script expert but what I found in this script is using
> below line (which includes path to aspx) to configure aspx:
> 
> http://www.cafe-encounter.net/p1086/build-mod_jk-for-centos
> 
> ./configure --with-apxs=/usr/sbin/apxs
> 
> So why dont you try to use this path instead of
> /usr/lib64/httpd/modules/apxs

There's no reason to read some "how to guide" on the Internet for how
to build mod_jk: the building steps come with the source package, and
they are up-to-date instead of some guy's blog that requires root
privileges to run properly.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTamLQAAoJEBzwKT+lPKRY56EQAJPWpOlbcW4t/ptzwM6pAf0/
QaIfRGu65/RFRn8TY7so94y2Mg56dkdOOm4+zfnwhOnSjAHjmRnt4yaX70G4KGdq
ZtjXQ+SgvgU6Vj4R4gumca7KTrpdpPQVmAzvX6ZWIKopUbGXUMr4C1amr0a9oeuI
9ayCZQZTLEkRYcB5nmgmxAV2KwNuzUEWdA/QGSNmwM3vHQqbz33s9tMFgiODKEE3
aM2IQnNQOu9gDn8pkY7ir4942JM+cm5dzdGZV0gAHhOo2DbAi/JwaJ8c3rbLo09p
UE7V6Axw5ZVXvvzgh19pYykMUniTNgoxygK2XfbEs32h2WEF+6MHZqBjCgXIWWbK
zBSVk+I4MWuMbi0OV428vEkJm8rfun3a5bui2llbeUclbfnl/urZOIE9mqVj/R9s
+pvSpWJJ4gMyQ+bcKLxpRiJM+9+cuf4IWW+9KoNmqYU4lv5X+AIXrbrSwsn5yeyH
d/R0lsXzAz9ULxXCc+CcA1P6OWEQJ8iOCWRR9CHuUEmMrhUNks4N4lytAmYHB1f2
UuI5Bv9UR88Q9xrfmnCYm0TDBPNi25JcC0/UAOBnZkQDeqSVa9wgxk/AmnJh+KZe
R0oC7d5YZ5e67u9n4VtX6S9GgHmUNSebgyFEOfqtyX3WOX19hERSYnxaHAKmeouZ
sAi3QVaKv9n5VXipqk2u
=tNvP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Compiling mod_jk in CentOs release 6.5

Posted by J Java <jf...@gmail.com>.
PFB link which gives  some shell scrpt to compile mod_jk on CENTOS. I am
not a shell script expert but what I found in this script is using below
line (which includes path to aspx) to configure aspx:

http://www.cafe-encounter.net/p1086/build-mod_jk-for-centos

./configure --with-apxs=/usr/sbin/apxs

So why dont you try to use this path instead of /usr/lib64/httpd/modules/apxs

>> Also I have successfully compiled configured and installed it using the above path (/usr/sbin/aspx) for RHEL on Rackspace.

I followed steps from below link

http://it.toolbox.com/blogs/lim/compiling-tomcat-connector-mod_jk-on-redhat-6805

thanks,

Shailesh.




On Sat, May 3, 2014 at 1:40 PM, J Java <jf...@gmail.com> wrote:

> /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
>
>
> >> PFB link which gives  some shell scrpt to compile mod_jk on CENTOS. I
> am not a shell script expert but what I found in this script is using below
> line (which includes path to aspx) to configure aspx:
>
> http://www.cafe-encounter.net/p1086/build-mod_jk-for-centos
>
> ./configure --with-apxs=/usr/sbin/apxs
>
> So why dont you try to use this path instead of /usr/lib64/httpd/modules/apxs
>
> Thanks,
>
> Shailesh
>
>
>
> On Thu, May 1, 2014 at 8:29 PM, Christopher Schultz <
> chris@christopherschultz.net> 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
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iQIcBAEBCAAGBQJTYmFBAAoJEBzwKT+lPKRYxbgP/3utBpl016BI93kyldLQB8Tr
>> j7qdCLiE4bdFPyYCiVmpG4kXOuxJn3m9BxY45J2l3b8NtNCHyVYNhENCQASzx0Dj
>> bd4OAozrH1h51xEvRfnQjSPoqHyrWAucMRThT2ye6EjLEtNlTMIgM5CmVg1NqaFV
>> ZqVR1PEcGNSoEA2hYHK9fG89mHnWoOaauIMluNhFndRFH+EWTbTDocDSp4wzih7o
>> NnfVzfSKYEk1WqdeBSI9PiotKhONag6qflAkjnqBmehmO0k+fMuNcTBgRLPUIzYK
>> 5NUwKu8P2iXYemvVHxaGPMTCKw76ue26+3e2PrW8s3bpk5PmoDu21MFedMc5njGD
>> YACl/rntnWSF4dN+UlC+YiXjlg3OaC9bYw5QnNOHiKsHG1VULyTw1pePN5NnM1W/
>> 4hiI/3uy20tc5vm8CX0/eBVW783lo/zQYXgMV+XFq/IyZqnRE4swWr6Zn/3LaxgE
>> 2pwu4tQVQuS6l2XphjPRQ2Ey2cb0HhW6K+5Yjgsy5/3ithDefyCtw7fdII56EcgB
>> MJcLs3htKwqtH/uYYOnaPeHkasOMbe/qqMS0J1nXYFL7EZaP9Rex/iTA/58LibM7
>> mIm2uLzbBzvUpGzqAMKiMmUCmdZnoxRCzkFJkXzHff+7UMt9ZXkFok1E9NjoLH9S
>> iXjl+jUVhMPMDmNSjoDs
>> =rmAO
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

Re: Compiling mod_jk in CentOs release 6.5

Posted by J Java <jf...@gmail.com>.
/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


>> PFB link which gives  some shell scrpt to compile mod_jk on CENTOS. I am
not a shell script expert but what I found in this script is using below
line (which includes path to aspx) to configure aspx:

http://www.cafe-encounter.net/p1086/build-mod_jk-for-centos

./configure --with-apxs=/usr/sbin/apxs

So why dont you try to use this path instead of /usr/lib64/httpd/modules/apxs

Thanks,

Shailesh



On Thu, May 1, 2014 at 8:29 PM, Christopher Schultz <
chris@christopherschultz.net> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJTYmFBAAoJEBzwKT+lPKRYxbgP/3utBpl016BI93kyldLQB8Tr
> j7qdCLiE4bdFPyYCiVmpG4kXOuxJn3m9BxY45J2l3b8NtNCHyVYNhENCQASzx0Dj
> bd4OAozrH1h51xEvRfnQjSPoqHyrWAucMRThT2ye6EjLEtNlTMIgM5CmVg1NqaFV
> ZqVR1PEcGNSoEA2hYHK9fG89mHnWoOaauIMluNhFndRFH+EWTbTDocDSp4wzih7o
> NnfVzfSKYEk1WqdeBSI9PiotKhONag6qflAkjnqBmehmO0k+fMuNcTBgRLPUIzYK
> 5NUwKu8P2iXYemvVHxaGPMTCKw76ue26+3e2PrW8s3bpk5PmoDu21MFedMc5njGD
> YACl/rntnWSF4dN+UlC+YiXjlg3OaC9bYw5QnNOHiKsHG1VULyTw1pePN5NnM1W/
> 4hiI/3uy20tc5vm8CX0/eBVW783lo/zQYXgMV+XFq/IyZqnRE4swWr6Zn/3LaxgE
> 2pwu4tQVQuS6l2XphjPRQ2Ey2cb0HhW6K+5Yjgsy5/3ithDefyCtw7fdII56EcgB
> MJcLs3htKwqtH/uYYOnaPeHkasOMbe/qqMS0J1nXYFL7EZaP9Rex/iTA/58LibM7
> mIm2uLzbBzvUpGzqAMKiMmUCmdZnoxRCzkFJkXzHff+7UMt9ZXkFok1E9NjoLH9S
> iXjl+jUVhMPMDmNSjoDs
> =rmAO
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Compiling mod_jk in CentOs release 6.5

Posted by Mark Eggers <it...@yahoo.com>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Compiling mod_jk in CentOs release 6.5

Posted by Fidelis Mnyanyi <me...@yahoo.com>.
Thanks Chris,

I installed httpd-dev and was able to use that path "/usr/sbin/apxs"

Cheers,
Fidelis


On Thursday, 1 May 2014 3:59 PM, Christopher Schultz <ch...@christopherschultz.net> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTYmFBAAoJEBzwKT+lPKRYxbgP/3utBpl016BI93kyldLQB8Tr
j7qdCLiE4bdFPyYCiVmpG4kXOuxJn3m9BxY45J2l3b8NtNCHyVYNhENCQASzx0Dj
bd4OAozrH1h51xEvRfnQjSPoqHyrWAucMRThT2ye6EjLEtNlTMIgM5CmVg1NqaFV
ZqVR1PEcGNSoEA2hYHK9fG89mHnWoOaauIMluNhFndRFH+EWTbTDocDSp4wzih7o
NnfVzfSKYEk1WqdeBSI9PiotKhONag6qflAkjnqBmehmO0k+fMuNcTBgRLPUIzYK
5NUwKu8P2iXYemvVHxaGPMTCKw76ue26+3e2PrW8s3bpk5PmoDu21MFedMc5njGD
YACl/rntnWSF4dN+UlC+YiXjlg3OaC9bYw5QnNOHiKsHG1VULyTw1pePN5NnM1W/
4hiI/3uy20tc5vm8CX0/eBVW783lo/zQYXgMV+XFq/IyZqnRE4swWr6Zn/3LaxgE
2pwu4tQVQuS6l2XphjPRQ2Ey2cb0HhW6K+5Yjgsy5/3ithDefyCtw7fdII56EcgB
MJcLs3htKwqtH/uYYOnaPeHkasOMbe/qqMS0J1nXYFL7EZaP9Rex/iTA/58LibM7
mIm2uLzbBzvUpGzqAMKiMmUCmdZnoxRCzkFJkXzHff+7UMt9ZXkFok1E9NjoLH9S
iXjl+jUVhMPMDmNSjoDs
=rmAO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Re: Compiling mod_jk in CentOs release 6.5

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTYmFBAAoJEBzwKT+lPKRYxbgP/3utBpl016BI93kyldLQB8Tr
j7qdCLiE4bdFPyYCiVmpG4kXOuxJn3m9BxY45J2l3b8NtNCHyVYNhENCQASzx0Dj
bd4OAozrH1h51xEvRfnQjSPoqHyrWAucMRThT2ye6EjLEtNlTMIgM5CmVg1NqaFV
ZqVR1PEcGNSoEA2hYHK9fG89mHnWoOaauIMluNhFndRFH+EWTbTDocDSp4wzih7o
NnfVzfSKYEk1WqdeBSI9PiotKhONag6qflAkjnqBmehmO0k+fMuNcTBgRLPUIzYK
5NUwKu8P2iXYemvVHxaGPMTCKw76ue26+3e2PrW8s3bpk5PmoDu21MFedMc5njGD
YACl/rntnWSF4dN+UlC+YiXjlg3OaC9bYw5QnNOHiKsHG1VULyTw1pePN5NnM1W/
4hiI/3uy20tc5vm8CX0/eBVW783lo/zQYXgMV+XFq/IyZqnRE4swWr6Zn/3LaxgE
2pwu4tQVQuS6l2XphjPRQ2Ey2cb0HhW6K+5Yjgsy5/3ithDefyCtw7fdII56EcgB
MJcLs3htKwqtH/uYYOnaPeHkasOMbe/qqMS0J1nXYFL7EZaP9Rex/iTA/58LibM7
mIm2uLzbBzvUpGzqAMKiMmUCmdZnoxRCzkFJkXzHff+7UMt9ZXkFok1E9NjoLH9S
iXjl+jUVhMPMDmNSjoDs
=rmAO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org