- 主题:cygwin安装smth 系统预编译php出错
cygwin下
出错信息如下:
apache和php都是从dev.smth.org下的,smth1.2是前几天的主分支
$ cd php-4.3.1
tnds@tonyblack ~/smthsrc/smthbbs-1.2/php-4.3.1
$ ./configure --with-apache=../apache_1.3.27
creating cache ./config.cache
checking for Cygwin environment... yes
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... i686-pc-cygwin
Updated php_version.h
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... bison -y
checking bison version... test: 875b: bad number
1.875b (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... lex: not found
configure: error: cannot find output from lex; giving up
--
修改:tnds FROM 219.225.4.*
FROM 219.225.4.*
这个是 php 的问题。
安装一下 flex 吧。
【 在 tnds (拖泥带水buct.ytht.net&buct.mysmth.org) 的大作中提到: 】
: cygwin下
: 出错信息如下:
: apache和php都是从dev.smth.org下的,smth1.2是前几天的主分支
: ...................
--
FROM 61.149.141.*
是cygwin的?还是php的?
dev.smth.org上有下载吗?
【 在 flyriver (江~~每天进步一点点) 的大作中提到: 】
: 这个是 php 的问题。
: 安装一下 flex 吧。
--
FROM 219.225.4.*
cygwin 的
【 在 tnds (拖泥带水buct.ytht.net&buct.mysmth.org) 的大作中提到: 】
: 是cygwin的?还是php的?
: dev.smth.org上有下载吗?
--
FROM 61.149.141.*