PHP 4.0 Bug #3998: PHP compiles, Apache doesn't

From: Date: Fri, 31 Mar 2000 21:46:18 +0000
Subject: PHP 4.0 Bug #3998: PHP compiles, Apache doesn't
Groups: php.dev 
Request: Send a blank email to php-dev+get-17479@lists.php.net to get a copy of this message
From: colin@easydns.com Operating system: redhat 6.1 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Compile Failure Bug description: PHP compiles, Apache doesn't cd apache_1.13.12/ ./configure --prefix=/usr/local/apache cd ../php4-200003301445/ ./configure --with-apache=../apache_1.3.12 --enable-track-vars --disable-magic-quotes --with-mysql=/usr/local/mysql --with-zlib --enable-sysvsem --enable-sysvshm --with-ftp --with-pcre-regex --with-mcrypt --with-xml --with-mcal=../libmcal --with-wddx --disable-debug make make install cd ../apache_1.3.12/ (so far so good, but then:) ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a Configuring for Apache, Version 1.3.12 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src cd ..; gcc -DLINUX=2 -I/usr/local/sources/php4-200003301445 -I/usr/local/sources/php4-200003301445/Zend -I/usr/local/sources/php4-200003301445/Zend -I/usr/local/sources/php4-200003301445 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/sources/libmcal -Wl,-rpath,/usr/local/mysql/lib/mysql -rdynamic -L/usr/local/lib -L/usr/local/sources/libmcal -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/local/sources/php4-200003301445/ext/pcre/pcrelib -lpcre -lgdbm -lpam -ldl -lz -ldl -lmysqlclient -lmcrypt -lmcal -lttf -lgd -lresolv -lm -lcrypt -lnsl -lresolv -lm -lcrypt /usr/bin/ld: cannot open -lpcre: No such file or directory collect2: ld returned 1 exit status make: *** [dummy] Error 1 Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. ======== Error Output for sanity check ======== ============= End of Error Report ============= Aborting!

« previous php.dev (#17479) next »