日期:2014-05-16  浏览次数:20708 次

ubuntu 下编译tomcat-connectors没有mod_jk.so文件??
如题,我是新手,想在ubuntu上离线安装apache,tomcat mysql,其实最终的目的是写个脚本离线安装所有的东西。现在编译tomcat-connectors只有.c .lo等等,什么原因?如何得到.so文件?


root@ubuntu:/home/test/tomcat-connectors-1.2.37-src/native# make
Making all in common
make[1]: Entering directory `/home/test/tomcat-connectors-1.2.37-src/native/common'
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_connect.c -o jk_connect.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_msg_buff.c -o jk_msg_buff.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_util.c -o jk_util.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_ajp13.c -o jk_ajp13.lo
...
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_ajp14.c -o jk_ajp14.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_ajp14_worker.c -o jk_ajp14_worker.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -I/home/cps/apache/include  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_md5.c -o jk_md5.lo
/home/cps/apache/build/libtool --silent --mode=compile gcc -I/home/cps/apache/include  -DHAVE_CONFIG_H -g -O2 -pthread -DHAVE_APR  -I/home/cps/apache/include -