-----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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org