|
首先先说明一下,初到论坛,如发错板块请版主帮忙移到正确的板块,谢谢。
我使用的系统是:
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2005.
准备安装apache2+php5+informix,apache2安装成功,可以访问到默认的页面。
但是安装php5在./configure的时候出现以下问题:
./configure --with-apx2=/usr/local/apache2/bin/apxs \
> --without-mysql \
> --with-informix
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... powerpc-ibm-aix5.3.0.0
checking target system type... powerpc-ibm-aix5.3.0.0
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for AIX... yes
checking whether ln -s works... yes
checking if compiler supports -R... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate
PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP pa
rsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for flex... lex
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for working const... yes
checking for flex version...
然后就停住了,我在gun网站上下载了bison_1.28和flex_2.5.33,但是在安装的时候提示:
ksh: ./configure: 0403-006 Execute permission denied.
没有权限。 但是文件熟悉为:
-rw-r----- 1 apach group 280663 Dec 29 09:09 configure
直接使用 make 的话就出现下面的提示:
make: make 1254-025 There must be an existing description file or specify a target.
想请问下,要安装php5,所使用的用户是否必须有root权限,还需要哪些相关的东西,谢谢。 |
|