You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Prathibha, Bharathi" <bh...@hp.com> on 2005/12/12 10:46:53 UTC
Error in the makefile generated for mod_jk on HP-UX unix!Here is the solution.
> Hi All,
> I found a small problem while building mod_jk 1.2.15 on HP-UX unix
> . There are errors in the makefiles that are being generated while
> configuring the module for use with Apache. And , binaries are also
> not available.I struggled a lot for generating mod_jk.so on HP-UX. I
> couldn't find sufficient info on the net.So, thought of sharing this
> with u all!
>
> Here I'll give u the steps for building the module :
>
> 1. Download the latest release JK-1.2.15 from
> http://tomcat.apache.org/download-connectors.cgi
> 2.gunzip it.
> $gunzip jakarta-tomcat-connectors-1.2.15-src.tar.gz
> 3.untar
> $tar -xvf jakarta-tomcat-connectors-1.2.15-src.tar
> 4.cd jakarta-tomcat-connectors-1.2.15-src/jk/native
> 5.
> $./configure --with-apxs=/your/apache/bin/apxs
> --prefix=/your/installation/directory
> 6.Required makefiles to do a make will be generated
> 7.if u are generating the module for apache2.0
> cd to apache-2.0
> vi Makefile.in
>
> search for
>
> mod_jk.so: mod_jk.la
> $(LIBTOOL) --mode=install cp $< `pwd`/$@
>
> Change $< to mod_jk.la
>
> and
> vi Makefile
> make the same change.
>
> 8. now cd -- . Come back to
> jakarta-tomcat-connectors-1.2.15-src/jk/native
>
> vi Makefile
> delete the lines at the end of makefile starting from
>
> all:
>
> and make
>
> 9. U will get a warning asking u to run libtool cmd to clean
> 10.After running this u will get a msg saying required module
> mod_jk.so is created in ${APACHE_HOME}/modules
> 11. U don't find anything over there
> cd jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0
> u'll find mod_jk.sl
> rename it to mod_jk.so
> put it in the modules directory of ur Apache server
> installation and proceed with the steps the comes with mod_jk.
>
> Hope this helps,
> Prathibha.
>
>