From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  Apache config fails with php module activated

Apache's ./configure works fine, until I tell it to activate the module. 
Then it fails with a compiler option sanity check.  The error report is
blank.  Weird.  Apache 1.3.20, PHP4.0.6.  Both downloaded from the main
sites yesterday.

./configure --with-imap --with-pgsql --with-apache=../apache_1.3.20
--enable-track-vars

./configure --activate-module=src/modules/php4/libphp4.a

Configuring for Apache, Version 1.3.20
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc  -DLINUX=22 -I/usr/src/php-4.0.6 -I/usr/src/php-4.0.6/main
-I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/Zend
-I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/TSRM
-I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci`     -o helpers/dummy
helpers/dummy.c   -Wl,-rpath,/usr/local/pgsql/lib  -rdynamic
-L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam -lc-client  -ldl -lpq -lpam -lcrypt
-lresolv -lm -ldl -lnsl  -lresolv   -lm -lcrypt
/usr/lib/libc-client.so: undefined reference to `mm_expunged'
/usr/lib/libc-client.so: undefined reference to `mm_diskerror'
/usr/lib/libc-client.so: undefined reference to `mm_lsub'
/usr/lib/libc-client.so: undefined reference to `mm_flags'
/usr/lib/libc-client.so: undefined reference to `mm_fatal'
/usr/lib/libc-client.so: undefined reference to `mm_nocritical'
/usr/lib/libc-client.so: undefined reference to `mm_notify'
/usr/lib/libc-client.so: undefined reference to `mm_searched'
/usr/lib/libc-client.so: undefined reference to `mm_status'
/usr/lib/libc-client.so: undefined reference to `mm_login'
/usr/lib/libc-client.so: undefined reference to `mm_list'
/usr/lib/libc-client.so: undefined reference to `mm_critical'
/usr/lib/libc-client.so: undefined reference to `mm_exists'
/usr/lib/libc-client.so: undefined reference to `mm_log'
/usr/lib/libc-client.so: undefined reference to `mm_dlog'
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!

-- 
Edit bug report at: http://bugs.php.net/?id=12287&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to