请教APACHE服务器安装过程中问题。

由 tahaomei 在 04-30-2003 12:47 发表:

请教APACHE服务器安装过程中问题。

我想在MANDRAKE9.1上搭建APACHE+PHP+MYSQL+PHPMYADMIN+ZEND的服务器,MYSQL我已经编译和安装成功了,但是到第2步配置PHP的时候,出现如下的错误,请问我该如何处理呢?

[root@peng php-4.3.1]# ./configure --with-mysql=/usr/local/mysql --with-apaxs=/usr/local/apache/bin/apxs

loading cache ./config.cache

checking for Cygwin environment... no

checking for mingw32 environment... no

checking for working sed... sed

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking whether gcc and cc understand -c and -o together... yes

checking how to run the C preprocessor... gcc -E

checking for AIX... no

checking if compiler supports -R... no

checking if compiler supports -Wl,-rpath,... yes

checking for ranlib... ranlib

checking whether ln -s works... yes

checking for gawk... gawk

checking for bison... no

checking for byacc... no

configure: warning: You will need bison if you want to regenerate the PHP parsers.

checking for flex... lex

checking for yywrap in -ll... no

checking lex output file root... ./configure: line 2482: lex: command not found

configure: error: cannot find output from lex; giving up

[root@peng php-4.3.1]#


由 tahaomei 在 04-30-2003 13:01 发表:


我安装完MYSQL后,接着只配置了APACHE,但是并没有编译和安装,等PHP编译和安装后再编译安装APACHE,是否我的方法错了呢


由 tahaomei 在 04-30-2003 14:31 发表:


顶一下


由 tahaomei 在 04-30-2003 15:03 发表:

请教APACHE服务器安装过程中问题。

这个帖子在网络建设版发了两三个小时了,我一直在线等,都没答复,好着急,所以就重新发在人气足点的REDHAT版,见谅啊 。

我想在MANDRAKE9.1上搭建APACHE+PHP+MYSQL+PHPMYADMIN+ZEND的服务器,MYSQL我已经编译和安装成功了,但是到第2步配置PHP的时候,出现如下的错误,请问我该如何处理呢?

[root@peng php-4.3.1]# ./configure --with-mysql=/usr/local/mysql --with-apaxs=/usr/local/apache/bin/apxs

loading cache ./config.cache

checking for Cygwin environment... no

checking for mingw32 environment... no

checking for working sed... sed

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking whether gcc and cc understand -c and -o together... yes

checking how to run the C preprocessor... gcc -E

checking for AIX... no

checking if compiler supports -R... no

checking if compiler supports -Wl,-rpath,... yes

checking for ranlib... ranlib

checking whether ln -s works... yes

checking for gawk... gawk

checking for bison... no

checking for byacc... no

configure: warning: You will need bison if you want to regenerate the PHP parsers.

checking for flex... lex

checking for yywrap in -ll... no

checking lex output file root... ./configure: line 2482: lex: command not found

configure: error: cannot find output from lex; giving up

[root@peng php-4.3.1]#


由 tahaomei 在 04-30-2003 16:05 发表:


对了,斑竹,我想问你关于APACHE服务器的问题,我发在网络版很久了,都没人回答,一直在等,很着急

我想在MANDRAKE9.1上搭建APACHE+PHP+MYSQL+PHPMYADMIN+ZEND的服务器,MYSQL我已经编译和安装成功了,但是到第2步配置PHP的时候,出现如下的错误,请问我该如何处理呢?

[root@peng php-4.3.1]# ./configure --with-mysql=/usr/local/mysql --with-apaxs=/usr/local/apache/bin/apxs

loading cache ./config.cache

checking for Cygwin environment... no

checking for mingw32 environment... no

checking for working sed... sed

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking whether gcc and cc understand -c and -o together... yes

checking how to run the C preprocessor... gcc -E

checking for AIX...

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus