- 论坛徽章:
- 0
|
环境solaris8,apache2.0.46,php4.3.2
先安装apache
./configure --prefix=/usr/local/apache2 --enable-ext-filter --enable-so
make
make install
再装php
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-tsrm-pth
执行这步的时候
发生如下的错误:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
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/apache2/bin/apxs follows:
Usage: apxs -g [-S <var>;=<val>;] -n <modname>;
apxs -q [-S <var>;=<val>;] <query>; ...
apxs -c [-S <var>;=<val>;] [-o <dsofile>;] [-D <name>;[=<value>;]]
[-I <incdir>;] [-L <libdir>;] [-l <libname>;] [-Wc,<flags>;]
[-Wl,<flags>;] [-p] <files>; ...
apxs -i [-S <var>;=<val>;] [-a] [-A] [-n <modname>;] <dsofile>; ...
apxs -e [-S <var>;=<val>;] [-a] [-A] [-n <modname>;] <dsofile>; ...
configure: error: Aborting
ps:已经安装了perl、apache的路径也对,为什么会出现这样的错误呢,请求各位大侠帮助咯。。。 |
|