谁做过apach+php+mysql+snort+acid呀?
烦死我了不是缺这就是少那,好不容易装上了,编译又无法通过
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/httpd/bin/apxs --with-config-file-path=/usr/local/php --enable-sockets --with-mysql=/usr/lo
cal/mysql --with-zlib-dir=/usr/local/lib --with-gd --with-libxml-dir=/usr/local/lib
检查到这里提示:
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local/lib
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
ls /usr/local/lib/libxml*
/usr/local/lib/libxml++-1.0.a /usr/local/lib/libxml.a
/usr/local/lib/libxml++-1.0.so /usr/local/lib/libxml.so
/usr/local/lib/libxml++-1.0.so.1 /usr/local/lib/libxml.so.5
/usr/local/lib/libxml++-2.6.a /usr/local/lib/libxml2.a
/usr/local/lib/libxml++-2.6.so /usr/local/lib/libxml2.so
/usr/local/lib/libxml++-2.6.so.1 /usr/local/lib/libxml2.so.5
然后看config.log
最后一点:
configure:18404: checking libxml2 install dir
configure:18564: checking whether libxml build works
configure:18591: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib conf
test.c
-lm -lxml2 -lz -liconv -lm 1>;&5
/usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
configure: failed program was:
#line 18580 "configure"
#include "confdefs.h"
char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}
最后去GOOGLE上搜了下,没找到结果呀
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不会吧,那没有那些参数能正常工作嘛?
唉,没办法了,只能--disable-libxml
了,晕,这到通过了,希望make 不要在出错了
http://www.chinalinuxpub.com/read.php?wid=769