LinuxSir.cn,穿越时空的Linuxsir!

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

[帮助]新人寻求帮助

[复制链接]
发表于 2007-1-6 23:36:46 | 显示全部楼层 |阅读模式
首先先说明一下,初到论坛,如发错板块请版主帮忙移到正确的板块,谢谢。

我使用的系统是:
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权限,还需要哪些相关的东西,谢谢。
发表于 2007-1-7 00:23:52 | 显示全部楼层
楼主不懂linux??
要有x才可以执行,编译要有gcc,建议使用debian,
通过 aptitude install apache2 php5 informix 指令直接解决问题

另外请在服务器版提此问题,会获得更多答复。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-7 21:47:20 | 显示全部楼层
谢谢, 说实在的,我确实不懂Linux。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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