LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 623|回复: 0

再发freebsd下php编译的问题,等到有高手出现为止。:)

[复制链接]
发表于 2004-5-23 19:53:33 | 显示全部楼层 |阅读模式
OS--FreeBSD 5.0
安装mysql 4.0.20 用
./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/usr/local/mysql/var/mysql.sock
make
make install
没任何错误,成功安装,也测试正常。
安装apache2.0.49 用
./configure --prefix=/usr/local/apache --enable-track-vars --enable-cgi --enable-so --with-config-file-path=/usr/local/apache/conf
make
make install
没任何错误发生,成功安装,测试了,一切正常。
安装php4.3.6 用
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-force-cgi-redirect --with-config-file-path=/usr/local/apache/conf
出现如下错误:
.......
Sorry, I cannot run apxs. Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/local/apache/bin/apxs follows:
./configure: /usr/local/apache/bin/apxs: not found
configure: error: Aborting
真是晕倒,明明/usr/local/apache/bin/有apxs,而且路径也没有错误却not found...  老大们帮忙吧,这个问题烦死我了。
thx先。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表