mod_jk2 doesn 't create jk2.socket 2004-01-09 - By Mark Eggers
Back Mark,
It should be more or less the same. You probably can get away with not setting the environment variables if you've installed the libraries in their usual places (/usr/local or /opt).
The --with-apxs2=<apache_home>/bin/apxs should take care of finding the proper libapr. If you've installed one of the Sun binary packages for Apache you might see if there is a development package as well.
Alternatively, you can look in <apache-home>/bin and see if you have the following three files:
apxs apr-config apu-config
If you do, then the configure command I posted before should work.
If not, then you'll have to do a bit of tweaking. Try the following to get compiling and linking to work.
export CPPFLAGS=-I/<location-of-apache-includes> export LDFLAGS="-L/<location-of-apache-libs> -lapr-0 (See http://apr-0.ora-code.com) \ -laprutil-0 (See http://til-0.ora-code.com)"
The location for each is usually:
<apache-home>/include <apache-home>/lib
Again, apxs should be able to figure this out, but at least with the Redhat RPMs people have reported some issues. I imagine Sun packages might have similar challenges.
You'll still have to patch the Makefile in server/apache2 as I noted in the previous mail message.
HTH
/mde/ just my two cents . . .
PS - My preferred way of dealing with Solaris installs has been to get gcc up and running, and then build everything else from source. This can be a pain on a slow box . . . building the latest version of gcc and perl take a while. However, in the end I think the effort is worth it. Check to see if there is a directory under $JAVA_HOME/include. If so, you'll have to add that to the configure command in the same fashion that I added
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|