四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

Board logo

標題: [求助] 歷時12小時,安裝了6次……絕望了…………。。。。。 [打印本頁]

作者: guzuomuse    時間: 2012-5-16 06:01     標題: 歷時12小時,安裝了6次……絕望了…………。。。。。

本帖最后由 guzuomuse 于 2012-5-16 06:03 編輯

系統(tǒng):CentOs5.8
32位Vps

………………………………………………………………………………………………………………………………

歷時12個多小時,安裝了6次,原因嘗試了各種原因,結(jié)果:已然安裝不上:錯誤如下,絕望,絕望,絕望!!。!

求老大等各位大神現(xiàn)身……給你們燒高香了…………!!。。。。。。。。。。。。。。。。。。。。。。。。。。!


/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I/root/lanmp/httpd-2.2.22/srclib/pcre -I. -I/root/lanmp/httpd-2.2.22/os/unix -I/root/lanmp/httpd-2.2.22/server/mpm/prefork -I/root/lanmp/httpd-2.2.22/modules/http -I/root/lanmp/httpd-2.2.22/modules/filters -I/root/lanmp/httpd-2.2.22/modules/proxy -I/root/lanmp/httpd-2.2.22/include -I/root/lanmp/httpd-2.2.22/modules/generators -I/root/lanmp/httpd-2.2.22/modules/mappers -I/root/lanmp/httpd-2.2.22/modules/database -I/usr/include/apr-1 -I/usr/local/include -I/root/lanmp/httpd-2.2.22/modules/proxy/../generators -I/root/lanmp/httpd-2.2.22/modules/ssl -I/root/lanmp/httpd-2.2.22/modules/dav/main  -prefer-non-pic -static -c modules.c && touch modules.lo
gcc -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I/root/lanmp/httpd-2.2.22/srclib/pcre -I. -I/root/lanmp/httpd-2.2.22/os/unix -I/root/lanmp/httpd-2.2.22/server/mpm/prefork -I/root/lanmp/httpd-2.2.22/modules/http -I/root/lanmp/httpd-2.2.22/modules/filters -I/root/lanmp/httpd-2.2.22/modules/proxy -I/root/lanmp/httpd-2.2.22/include -I/root/lanmp/httpd-2.2.22/modules/generators -I/root/lanmp/httpd-2.2.22/modules/mappers -I/root/lanmp/httpd-2.2.22/modules/database -I/usr/include/apr-1 -I/usr/local/include -I/root/lanmp/httpd-2.2.22/modules/proxy/../generators -I/root/lanmp/httpd-2.2.22/modules/ssl -I/root/lanmp/httpd-2.2.22/modules/dav/main  -c /root/lanmp/httpd-2.2.22/server/buildmark.c
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -pthread     -L/usr/local/lib   -o httpd  modules.lo buildmark.o -export-dynamic server/libmain.la modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la modules/aaa/libmod_authz_host.la modules/aaa/libmod_authz_groupfile.la modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la modules/filters/libmod_filter.la modules/filters/libmod_deflate.la modules/loggers/libmod_log_config.la modules/metadata/libmod_env.la modules/metadata/libmod_expires.la modules/metadata/libmod_headers.la modules/metadata/libmod_setenvif.la modules/metadata/libmod_version.la modules/http/libmod_http.la modules/http/libmod_mime.la modules/generators/libmod_status.la modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la modules/mappers/libmod_alias.la modules/mappers/libmod_rewrite.la modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la os/unix/libos.la -lm /root/lanmp/httpd-2.2.22/srclib/pcre/libpcre.la /usr/lib/libaprutil-1.la -lldap -llber -ldb-4.3 -lexpat /usr/lib/libapr-1.la -lpthread -ldl
modules/http/.libs/libmod_http.a(byterange_filter.o): In function `ap_set_byterange':
byterange_filter.c.text+0x1201): undefined reference to `apr_array_clear'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/root/lanmp/httpd-2.2.22'
make: *** [all-recursive] Error 1




----Install Error: apache make err -----------
作者: guzuomuse    時間: 2012-5-16 06:04

apr什么的都已經(jīng)安裝了的…………現(xiàn)在真想說三個字:曰曰曰。。≡偌觾蓚:狂曰!
作者: guzuomuse    時間: 2012-5-16 06:07

網(wǎng)站看到的解決方案:


錯誤3:
modules/http/.libs/libmod_http.a(byterange_filter.o): In function `ap_set_byterange':
byterange_filter.c.text+0x12c1): undefined reference to `apr_array_clear'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/root/httpd-2.2.22'
make: *** [all-recursive] Error 1

編譯時加入--with-included-apr

………………………………………………………………………………

可是安裝的時候,都是自動的,我們干瞪眼木有辦法啊……!。。。。。。!
作者: guzuomuse    時間: 2012-5-16 09:29

又重新安裝了一次,這次的修改是直接修改lanmp.sh里面加上“--with-included-apr”-結(jié)果:

仍然同樣的錯誤。。。。。。。。。

我真的受不了,折騰了一下午加一個通宵…………。。。!我打算安裝一下2.1的包,如果再不行,……換…………
作者: guzuomuse    時間: 2012-5-16 11:28

老子怒了,終于解決了…………解決辦法就是我發(fā)的樓上的辦法,修改lanmp.sh在編譯httpd的地方加上加上“--with-included-apr”,我樓上之所以剛才沒成功是因為,我修改了文件之后,沒有保存成功……!蛋疼的白白的等了1個半小時……

也請老大確認一下吧,這個應該是個Bug…………!
作者: admin    時間: 2012-5-16 12:09

我找時間測試下5.8的,還沒在這個版本上測試過
作者: zhutou5    時間: 2012-5-18 04:16

樓主,你的linux  系統(tǒng)里是不是之前已經(jīng)自帶了apache 之類的web組件?
建議
1.先重裝系統(tǒng)
2.清理環(huán)境(卸載系統(tǒng)自帶的web組件)
3.安裝
作者: guzuomuse    時間: 2012-5-19 04:43

回復 7# zhutou5

木有的,我確定沒有其他組件影響的……加上那個參數(shù)就OK了……




歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/) Powered by Discuz! 7.2