php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5292 Apache configure script causes error when activating php4 module
Submitted: 2000-06-30 22:02 UTC Modified: 2000-08-01 23:08 UTC
From: jspeer at wtexchange dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1 OS: RedHat 6.2 (Zoot) -- Kernel 2.2.
Private report: No CVE-ID: None
 [2000-06-30 22:02 UTC] jspeer at wtexchange dot com
PHP 4.0.1 Compile Options
--with-apache=../apache_1.3.12
--with-servlet=/usr/local/JSDK2.0
--enable-safe-mode
--enable-calendar
--enable-ftp
--without-gd
--with-java=/usr/local/jdk1.2.2
--with-mysql
--with-openssl=/usr/local/ssl
--enable-inline-optimization

Apache 1.3.12 Compile Options
--activate-module=src/modules/php4/libphp4.so

Error
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/home/jspeer/apache/php-4.0.1 -I/home/jspeer/apache/php-4.0.1/main -I/home/jspeer/apache/php-4.0.1/main -I/home/jspeer/apache/php-4.0.1/Zend -I/home/jspeer/apache/php-4.0.1/Zend -I/home/jspeer/apache/php-4.0.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386  -rdynamic -L/usr/local/jdk1.2.2/jre/lib/i386/classic -L/usr/local/jdk1.2.2/jre/lib/i386/native_threads -L/usr/local/jdk1.2.2/jre/lib/i386 -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lgdbm -lpam  -lstdc++ -ldl -lresolv -lm -ldl -lcrypt -lnsl  -lresolv   -lm -lcrypt
/usr/bin/ld: cannot find -lmodphp4
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-30 22:28 UTC] stas at cvs dot php dot net
Documentation says --activate-module=src/modules/php4/libphp4.a
Did you try that?
 [2000-06-30 22:30 UTC] jspeer at wtexchange dot com
Correction:
Apache Compile Options
--activate-module=src/modules/php4/libphp4.a
 [2000-07-04 20:44 UTC] joey at cvs dot php dot net
What does this say?
find . -name libmodphp4.*
 [2000-07-04 20:44 UTC] joey at cvs dot php dot net
Sorry....that should be run from the source root of apache.
 [2000-08-01 23:08 UTC] waldschrott@php.net
no feedback, closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 22:01:29 2024 UTC