I have run the ./configure --with-mysql --with-apxs command and it always fails at line 2746 with a Lex output fail.
Here is a copy of the log from config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1565: checking for Cygwin environment configure:1581: cc -c conftest.c 1>&5 configure: In function `main': configure:1577: `__CYGWIN32__' undeclared (first use in this function) configure:1577: (Each undeclared identifier is reported only once configure:1577: for each function it appears in.) configure: failed program was: #line 1570 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:1598: checking for mingw32 environment configure:1610: cc -c conftest.c 1>&5 configure: In function `main': configure:1606: `__MINGW32__' undeclared (first use in this function) configure:1606: (Each undeclared identifier is reported only once configure:1606: for each function it appears in.) configure: failed program was: #line 1603 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:1680: checking host system type configure:1712: checking for a BSD compatible install configure:1765: checking whether build environment is sane configure:1822: checking whether make sets ${MAKE} configure:1861: checking for working aclocal configure:1874: checking for working autoconf configure:1887: checking for working automake configure:1900: checking for working autoheader configure:1913: checking for working makeinfo configure:1930: checking whether to enable maintainer-specific portions of Makefiles configure:2005: checking for gcc configure:2118: checking whether the C compiler (gcc ) works configure:2134: gcc -o conftest conftest.c 1>&5 configure:2160: checking whether the C compiler (gcc ) is a cross-compiler configure:2165: checking whether we are using GNU C configure:2174: gcc -E conftest.c configure:2193: checking whether gcc accepts -g configure:2226: checking whether gcc and cc understand -c and -o together configure:2241: gcc -c conftest.c -o conftest.o 1>&5 configure:2242: gcc -c conftest.c -o conftest.o 1>&5 configure:2247: cc -c conftest.c 1>&5 configure:2249: cc -c conftest.c -o conftest.o 1>&5 configure:2250: cc -c conftest.c -o conftest.o 1>&5 configure:2277: checking how to run the C preprocessor configure:2298: gcc -E conftest.c >/dev/null 2>conftest.out configure:2357: checking for AIX configure:2384: checking for gcc option to accept ANSI C configure:2437: gcc -c -g -O2 conftest.c 1>&5 configure:2461: checking whether compiler supports -R configure:2476: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5 gcc: unrecognized option `-R' /usr/lib: file not recognized: Is a directory collect2: ld returned 1 exit status configure: failed program was: #line 2469 "configure" #include "confdefs.h" int main() { ; return 0; } configure:2494: checking whether compiler supports -Wl,-rpath, configure:2509: gcc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib 1>&5 configure:2532: checking for ranlib configure:2560: checking whether ln -s works configure:2585: checking for mawk configure:2619: checking for bison configure:2653: checking bison version configure:2663: checking for flex configure:2697: checking for yywrap in -ll configure:2716: gcc -o conftest -g -O2 conftest.c -ll 1>&5 /usr/bin/ld: cannot find -ll collect2: ld returned 1 exit status configure: failed program was: #line 2705 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char yywrap(); int main() { yywrap() ; return 0; } configure:2740: checking lex output file root HERE is a copy of the lines around and including 2746 in the config file. # The minimal lex program is just a single line: %%. But some broken lexes # (Solaris, I think it was) want two %% lines, so accommodate them. echo '%% %%' | $LEX if test -f lex.yy.c; then ac_cv_prog_lex_root=lex.yy elif test -f lexyy.c; then ac_cv_prog_lex_root=lexyy else { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } fi fi THanks -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php