How to install mod_jk apache22 and FreeBSD 8.0

Frederic de la Goublaye fredericdelagoublaye at gmail.com
Mon Dec 28 17:55:50 UTC 2009


I think there is a trouble between apache2.2 and mod_jk-apache2
because it is working with apache2
please read the commands bellow,
any clue ???

how can I install apache2.2 and mod_jk ?

Thanks for your attention :+)

# cd /usr/ports/www/apache22
make deinstall

# cd /usr/ports/www/mod_jk-apache2/
# make distclean
# make package-recursive

Creating package /usr/ports/www/apache20/apache-2.0.63_3.tbz

# cd /usr/local/etc/apache2/
# ls
Includes			mime.types
envvars.d			mod_jk.conf.sample
httpd.conf			ssl.conf
magic				workers.properties.sample

On Mon, Dec 28, 2009 at 5:43 PM, Frederic de la Goublaye
<fredericdelagoublaye at gmail.com> wrote:
> can you help me ?
>
> I cannot install mod_jk for apache22 on FreeBSD 8.0 64 bits
> I even try with FreeBSD 7.1 64 bits and it is the same error.
>
> I want FreeBSD 8.0.
>
> Refering to my last message, it was not a SSD failure,
> the hard disk was check and even change, I still have the same trouble.
>
> I copy here all the installation process I have done before the error.
> The server was just installed with nothing one it.
>
> # cp -r /usr/share/examples/cvsup/ /usr/local/etc/cvsup/
> # cd /usr/local/etc/cvsup/
> # vi ports-supfile
> *default host=cvsup1.fr.FreeBSD.org
> ports-all
> # cvsup -g -L 2 ports-supfile
>
> # cd /usr/ports/www/apache22
> # make install clean
>
> # cd /usr/ports/www/mod_jk-apache2
> # make
>
> (I just leave the end of the make process)
>
> gmake[1]: Leaving directory
> `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/common'
> Making all in apache-2.0
> gmake[1]: Entering directory
> `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
> /usr/local/build-1/libtool --silent --mode=compile cc
> -I/usr/local/include/apache22 -O2 -fno-strict-aliasing -pipe
> -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix  -O2
> -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H
> -I/usr/include -O2 -fno-strict-aliasing -pipe
> -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include
> -I/usr/local/include -DHAVE_APR  -I/usr/local/include/apr-1
> -I/usr/local/include/apr-1 -O2 -fno-strict-aliasing -pipe -O2
> -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H
> -I/usr/include -I/usr/local/include  -c mod_jk.c -o mod_jk.lo
> /usr/local/build-1/libtool --silent --mode=link cc
> -I/usr/local/include/apache22 -O2 -fno-strict-aliasing -pipe
> -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix  -O2
> -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H
> -I/usr/include -O2 -fno-strict-aliasing -pipe
> -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include
> -I/usr/local/include -DHAVE_APR  -I/usr/local/include/apr-1
> -I/usr/local/include/apr-1 -O2 -fno-strict-aliasing -pipe -O2
> -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H
> -I/usr/include -I/usr/local/include  -Wl,-L-L/usr/local/lib/mysql
> -Wl,-rpath=/usr/lib -Wl,/usr/local/lib -Wl,-L/usr/lib -o mod_jk.la
> -module -rpath /usr/local/libexec/apache22 -avoid-version mod_jk.lo
> ../common/jk_ajp12_worker.lo ../common/jk_connect.lo
> ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo
> ../common/jk_pool.lo ../common/jk_worker.lo
> ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo
> ../common/jk_sockbuf.lo ../common/jk_map.lo
> ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo
> ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo
> ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo
> ../common/jk_status.lo
> /usr/local/lib: file not recognized: File format not recognized
> gmake[1]: *** [mod_jk.la] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
>
> Stop in /usr/ports/www/mod_jk-apache2.
> #
>
> (the shell goes back here)
>


More information about the freebsd-java mailing list