iT邦幫忙

0

tomcat-connectors編譯問題

編譯tomcat-connectors 時成功./configure Makefile也有出現  

make時出現

http://ithelp.ithome.com.tw/upload/images/20161017/201027891Ggac3TEDR.jpg

看更多先前的討論...收起先前的討論...
fillano iT邦超人 1 級 ‧ 2016-10-17 16:56:35 檢舉
只是warning,應該不是問題,我通常都略過XD
超超 iT邦新手 5 級 ‧ 2016-10-17 17:00:18 檢舉
不是warning 也無法make install 不會成功編譯 ,沒mod_jk.so
fillano iT邦超人 1 級 ‧ 2016-10-17 18:03:52 檢舉
那你錯誤訊息沒貼到重點阿,我只看到Warning,只有Warning不會編譯不出來。
超超 iT邦新手 5 級 ‧ 2016-10-17 18:08:20 檢舉
[root@apacheserver native]# make
Making all in common
make[1]: Entering directory `/opt/step/tomcat-connectors-1.2.42-src/native/common'
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -I. -I/usr/include/httpd -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -I. -I/usr/include/httpd -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_connect.c -o jk_connect.lo
超超 iT邦新手 5 級 ‧ 2016-10-17 18:08:42 檢舉
出現這個循環
fillano iT邦超人 1 級 ‧ 2016-10-17 18:12:32 檢舉
你./configure下了什麼參數?一般配合apache httpd,我都用./configure --with-apxs=/path/to/your/apxs,請用which找一下apxs在哪裡。
超超 iT邦新手 5 級 ‧ 2016-10-17 18:16:40 檢舉
./configure --with-apxs=/usr/bin/apxs
超超 iT邦新手 5 級 ‧ 2016-10-17 18:17:16 檢舉
這是我的路徑
超超 iT邦新手 5 級 ‧ 2016-10-17 22:44:58 檢舉
不知道是不是我有甚麼套件沒裝到
fillano iT邦超人 1 級 ‧ 2016-10-18 09:11:03 檢舉
相依性在跑./configure時會處理,如果有套件沒裝,不會產生Makefile。你把東西清掉重新跑跑看。
1. make distclean
2. ./buildconf.sh
3. ./configure --with-apxs=/usr/bin/apxs
4. make
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答