ID: 40042 Updated by: [EMAIL PROTECTED] Reported By: kherrera3 at gmail dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Slackware v10 PHP Version: 5.2.0 New Comment:
Can you show the lines in question from the configure script? Previous Comments: ------------------------------------------------------------------------ [2007-01-06 11:06:58] kherrera3 at gmail dot com Description: ------------ I downloaded a new copy of PHP straight to the server via wget and extracted to its directory. I ran configure with the arguments found in "Reproduce code" and I received 35 lines of error messages. The configure script continued but stopped at locating the header file for Apache. The path is correct yet it still did not find it. Shell version: GNU bash, version 2.05b.0(1)-release-(i386-slackware-linux-gnu) Reproduce code: --------------- ./configure --with-apache=/usr/local/httpd/port-80/include --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gd --with-ttf --with-t1lib --enable-gd-native-ttf --with-gettext --with-gmp --with-mcrypt --with-mhash --with-ming --with-mysql --enable-pcntl --with-readline --with-mm --with-snmp --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --enable-wddx --with-xsl --enable-zip --with-pear=/usr/local/ Actual result: -------------- checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed expr: syntax error ./configure: line 2333: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected expr: syntax error ./configure: line 2339: test: =: unary operator expected expr: syntax error ./configure: line 2346: test: =: unary operator expected checking host system type... i686-pc-linux-gnu checking target 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 whether ln -s works... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for re2c... no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for bison... bison -y checking for bison version... 1.35 (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for flex version... 2.5.4 (ok) checking whether to force non-PIC code in shared modules... yes checking for pthreads_cflags... -pthread checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/httpd/port-80/include ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40042&edit=1