Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread James Snelling
I have been trying to compile the mod_jk2.so connector, but having
problems.

I have the following:
O/S - RedHat9.0
Apache2.0.48 installed from source and working standalone on port 80 
443 at /usr/local/apache2
jakarta-tomcat-4.1.29 installed and working standalone on port 8080 at
/usr/local/jakarta-tomcat-4.1.29
java at /usr/local/j2sdk1.4.2 (also tested and working ok)

Apache was configured as follows:

# ./configure --enable-rewrite --enable-speling --enable-shared=max
--enable-module=so \
 --enable-ssl --enable-cgi --enable-info --enable-usertrack
--enable-deflate \
 --enable-mime-magic --with-ssl=/usr/local/ssl

I obtained jakarta-tomcat-connectors-jk2-src-current.tar.gz and did the
following:

# gunzip jakarta-tomcat-connectors-jk2-src-current.tar.gz
# tar -xvf jakarta-tomcat-connectors-jk2-src-current.tar
# cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
# sh ./buildconf.sh
# ./configure --with-apxs2=/usr/local/apache/bin/apxs \
  --with-tomcat41=/usr/local/jakarta-tomcat-4.1.29 \
  --with-jni --with-jave-home=/usr/local/j2sdk1.4.2
# make

Now, according to most of the how-tos I have looked at, I should have a
copy of mod_jk2.so and jkjni.so waiting for me in
/usr/local/src/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apac
he2/
Unfortunatly all that is here are the following files:

# ls -l ../build/jk2/apache2/ | grep mod_jk2
-rw-r--r--1 root root  3064400 Jan 12 11:48 mod_jk2.a
-rw-r--r--1 root root  666 Jan 12 11:48 mod_jk2.la
-rw-r--r--1 root root   10 Jan 12 11:48 mod_jk2.lo
-rw-r--r--1 root root   103024 Jan 12 11:48 mod_jk2.o

# ls -l ../build/jk2/apache2/ | grep jkjni
-rw-r--r--1 root root  2680734 Jan 12 11:48 jkjni.a
-rw-r--r--1 root root  728 Jan 12 11:48 jkjni.la

I have had a look through the mailing list archives, and have seen this
problem before, but unfortunately I don't see a solution for it.

Any help finding a way forward is appreciated, 

James Snelling

James Snelling

[EMAIL PROTECTED]

---

The views expressed here are not those of the Students' Association nor can they be 
assumed to be those of the writer. No liability is accepted for the accuracy or the 
veracity of the contents. You are held to accept this and any use to which you put any 
contents of this communication are entirely your responsibility. 

DISCLAIMER: This e-mail is intended solely for the above-mentioned recipient and it 
may contain confidential or privileged information. If you have received it in error, 
please notify us immediately and delete the e-mail. You must not copy, distribute, 
disclose or take any action in reliance on it. This e-mail message and any attached 
files have been scanned for the presence of computer viruses, however, you are advised 
that you open any attachments at your own risk.

Nothing in this email shall be construed as constituting an order for goods or services

www.upsa.org.uk

 





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



Re: Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread martin grotzke
On Mon, 2004-01-12 at 13:11, James Snelling wrote:
 Any help finding a way forward is appreciated, 
a cannot help you for your specific problem, but i built mod_jk2
two days ago on fedora, and succeeded.

perhaps this solves your problem too...
you can find the description in the archives,
http://www.mail-archive.com/[EMAIL PROTECTED]/msg114982.html

cheers,
martin


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



Re: Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread Mark Eggers
James,

I don't know about
jakarta-tomcat-connectors-jk2-src-current.tar.gz, but
the latest CVS snapshot has some problems during make.

It appears to be an issue with the configure scripts
(actually multiple issues) that need to be addressed.

The best bet is to use the 2.0.2 source and compile
from there.

As discussed on the mailing list you'll be able to get
sockets (both IP and UNIX) working, but in-process is
currently not possible with the available
multi-processor modules in apache.

Also, add --with-pcre and --with-os-type=include/linux
to your ./configure command for mod_jk2.

Finally, you'll need to tweak the Makefile in
server/apache2 of mod_jk2.  The JK_LDFLAGS line should
read:

JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -lpcre
-lpcreposix -laprutil-0

HTH

/mde/
just my two cents . . . .


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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