- 论坛徽章:
- 0
|
freebsd7 ports安装php5-5.2.6_2
cd /usr/ports/lang/php5
make PREFIX=/usr/local/www/php install clean
出现下面的错误
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/sbin/apxs follows
./configure.lineno: /usr/local/sbin/apxs: not found
configure: error: Aborting
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/php5/work/php-5.2.6/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/lang/php5.
*** Error code 1
Stop in /usr/ports/lang/php5.
#pkg_info | grep perl
perl-5.8.8_1 Practical Extraction and Report Language
安装apache2.2.9_5的时候没有找到dso这个选项,apache指定了自己的安装目录/usr/local/www/apache
看makefile也没有with-apxs的参数啊,难道只能安装在默认目录吗
看到有人修改了makefile,不知道这样会带来什么样的结果,不敢改
不知道什么问题,请各位帮忙
[ 本帖最后由 fzfwqj 于 2008-9-28 17:02 编辑 ] |
|