php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3998 PHP compiles, Apache doesn't
Submitted: 2000-03-31 23:46 UTC Modified: 2000-06-24 11:07 UTC
From: colin at easydns dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: redhat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: colin at easydns dot com
New email:
PHP Version: OS:

 

 [2000-03-31 23:46 UTC] colin at easydns dot com
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!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-27 13:47 UTC] sas at cvs dot php dot net
Does this still happen with the current CVS? 
 [2000-06-24 11:06 UTC] joey at cvs dot php dot net
Closing...no feedback. If it is still there, please open a new report.
 [2000-06-24 11:07 UTC] joey at cvs dot php dot net
Closing!
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 06:00:02 2026 UTC