Ah,

Thanks a lot, I actually already had apache 2 installed and hadnt realised that the 
libraries were already there. Feel dumb now. I'll give it a whirl pointing to those 
libs.

Ta
Matt

-----Original Message-----
From: Andy Eastham [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 14:11
To: 'Tomcat Users List'
Subject: RE: [OT?] Apache Portable Runtime & JK2


Matt,

I built it on Solaris 9.  I'd already built and installed apache 2, and all
required libraries were then installed.  Are you specifically trying to do
this without installing Apache2?

If not, here's my simple notes:
build mod_jk2:

download connector src:
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz

gunzip and untar the distribution, then
cd jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-java-home=/usr/java/j2sdk1.4.2
make

Built libraries are:
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz/jk/build/jk2/apache2/mod_jk2.
so
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz/jk/build/jk2/apache2/jkjni.so

Copy these libraries into /usr/local/apache2/modules
cp jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/mod_jk2.so
/usr/local/apache2/modules/
cp jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2/jkjni.so
/usr/local/apache2/modules/ 

Obviously, the java and apache paths may be different, but hopefully this
might help?

Andy


-----Original Message-----
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: 01 April 2004 13:55
To: Tomcat Users List
Subject: [OT?] Apache Portable Runtime & JK2

Hi,

I need to build the JK2 connector on Solaris 9, I know that the APR
libraries are needed for building on linux and assume this to also be the
case with Solaris.

I have downloaded the source of APR from http://apr.apache.org but it states
that this is just alpha and not ready for system wide use. So my questions
are as follows.

1. Do I need APR to build JK2 on Solaris 9

2. If so where do I get APR and is the 0.9.4 version suitable?

3. If not then where do I get a suitable version.

Ta
Matt



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to