关于php安装错误?

由 随风飘来 在 08-20-2003 11:46 发表:

关于php安装错误?

请问如下错语提示是怎么回事??

[root@server2 php-4.3.2]# ./configure --with-apxs=/usr/local/apache/bin/apxs \

> --with-config-file-path=/etc/httpd \

> --with-mysql \

> --with-gd \

> --with-zlib \

> --with-system-regex

loading cache ./config.cache

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 2356: lex: command not found

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

请问这问题如何解决?


由 黄叶 在 08-20-2003 12:03 发表:


--with-system-regex

指定位置看?

这一句可以不要行不行?


由 随风飘来 在 08-22-2003 23:22 发表:

版主指定位置怎么指呀能不能举个例子?

我不要--with-system-regex这一句还是那样的提示.

版主指定位置怎么指呀能不能举个例子?

还有谁知道呀请回复一下谢谢了.


由 Glue 在 08-23-2003 13:10 发表:


好像是与flex包有关,

你把那个包重新装一下看。


-_-


由 随风飘来 在 08-23-2003 22:41 发表:

谢谢兄弟的帮助我按装上了flex

然后:#./configure --with-mysql=/usr/local/mysql --with-apache=/usr/local/src/apache_1.3.28 --enable-track-vars --enable-trans-sid --with-gd

.....................................

Configuring extensions

checking for ZLIB support... no

checking if the location of ZLIB install directory is defined... no

checking whether to enable bc style precision math functions... no

checking for BZip2 support... no

checking whether to enable calendar conversion support... no

checking for cpdflib support... no

checking for CRACKlib support... no

checking whether to enable ctype functions... yes

checking for CURL support... no

checking for cyrus imap support... no

checking for xDBM support... no

checking whether to enable DBA... no

checking for GDBM support... no

checking for NDBM support... no

checking for Berkeley DB4 support... no

checking for Berkeley DB3 support... no

checking for Berkeley DB2 support... no

checking for DBM support... no

checking for CDB support... no

checking for FlatFile support... no

checking whether to enable DBA interface... no

checking whether to enable dbase support... no

checking whether to enable dbx support... no

checking whether to enable direct I/O support... no

checking for DOM support... no

checking for DOM XSLT support... no

checking for DOM EXSLT support... no

checking whether to enable EXIF (metadata from images) support... no

checking for FrontBase SQL92 (fbsql) support... no

checking for FDF su

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