Bug #1326: Fails to compile with apache
| From: | mdd9 at cornell dot edu | Date: | Mon, 19 Apr 1999 05:25:59 +0000 |
| Subject: | Bug #1326: Fails to compile with apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5126@lists.php.net to get a copy of this message | ||
From: mdd9@cornell.edu
Operating system: Red Hat 5.2
PHP version: 3.0.5
PHP Bug Type: Compile Failure
Bug description: Fails to compile with apache
Compile Error... I know this one has been addressed already, but I just can't get the thing to
work!
httpd.h etc.... can't be found! I've tried every possible path configuration... what
could be going on here.
Error:
or.o
gcc -I. -DPOSIX_MISTAKE -O2 -m486 -fno-strength-reduce -c regfree.c -o regfree.o
rm -f libregex.a
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
ranlib libregex.a
make: Leaving directory `/usr/src/redhat/BUILD/php-3.0.5/regex'
+ make
gcc -O2 -m486 -fno-strength-reduce -fpic -I. -I. -I -I/usr/include/mysql -c
language-parser.tab.c -o language-parser.tab.o
In file included from language-parser.y:56:
php.h:183: ap_config.h: No such file or directory
php.h:189: ap_compat.h: No such file or directory
php.h:191: httpd.h: No such file or directory
php.h:192: http_main.h: No such file or directory
php.h:193: http_core.h: No such file or directory
php.h:194: http_request.h: No such file or directory
php.h:195: http_protocol.h: No such file or directory
php.h:196: http_config.h: No such file or directory
php.h:197: http_log.h: No such file or directory
Dir:
usr/include/apache:
[root@Speck apache]# ls
alloc.h explain.h httpd.h
ap.h fnmatch.h multithread.h
ap_compat.h hsregex.h os.h
ap_config.h http_conf_globals.h rfc1413.h
ap_config_auto.h http_config.h scoreboard.h
ap_ctype.h http_core.h util_date.h
ap_md5.h http_log.h util_md5.h
ap_mmn.h http_main.h util_script.h
buff.h http_protocol.h util_uri.h
compat.h http_request.h
conf.h http_vhost.h
Speck file:
%build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s \
./configure \
--with-apxs \
--prefix=/usr \
--with-gd \
--with-freetype \
--with-zlib \
--with-dbase \
--with-filepro \
--with-mysql=/usr \
--with-apache=/usr/include/ \
--with-config-file-path=/etc/httpd/conf \
--disable-debug \
--enable-magic-quotes \
--enable-debugger \
--enable-bcmath \
--enable-track-vars
Help... I beg of you.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net