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.*