What a great article! I was ready to give up on getting Apache and Tomcat cooperating, but was thrilled to come across your recent contribution. This morning I was able to follow the directions of the previous article on Installing Tomcat on OS X, and that worked great. Right now I am following your article to get Tomcat and Apache talking, and I have hit a problem. After setting up build-macosx.sh, I execute the script, and the build begins, but then I receive the following error:
apxs:Break: Command failed with rc=16777215
Error with apxs
I have installed Tomcat version 4.1.2 (as included with the JWSDP download), and I am running Apache 1.3.26 on Mac OS 10.1.4 server.
I am unsure what is causing this error, and I have looked at several lists and the Jakarta web page for help. Several posts have been made concerning this error (in reference to building other apache modules as well as mod_jk), but I was unable to find any replies or solutions; and nothing specific to Mac OS X. Looking at the Jakarta web page, I read that in order to build mod_jk, I need to make sure my Apache installation has DSO support. We do not have mod_so.c installed. Could this be the problem? And if so, do I need to re-install apache :( to get this running? Could the problem be with the version of Tomcat I am running?
Any advice would be greatly appreciated. Thanks for your timely article!