PHP 4.0 Bug #9430: APACHE fails to compile when --with-imap support is enabled
| From: | bhardeman at excite dot com | Date: | Fri, 23 Feb 2001 19:48:41 +0000 |
| Subject: | PHP 4.0 Bug #9430: APACHE fails to compile when --with-imap support is enabled | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47358@lists.php.net to get a copy of this message | ||
From: bhardeman@excite.com
Operating system: Linux druid 2.2.14 #2 SMP Thu Mar 16 10:54:07 PST 2000 i686 unknown
PHP version: 4.0.4pl1
PHP Bug Type: Apache related
Bug description: APACHE fails to compile when --with-imap support is enabled
After a successful install of PHP using the configuration:
./configure --with-openlink=/usr/local/openlink \
--with-apache=../apache_1.3.17 --enable-track-vars --with-gd \
--enable-ftp --with-ttf --with-jpeg-dir=/usr/lib --with-mysql=/usr/local \
--with-imap
running:
./configure --prefix=/etc/apache --logfiledir=/var/log/apache \
--activate-module=src/modules/php4/libphp4.a
fails with the message:
cd ..; gcc -DLINUX=22 -I/usr/src/php-4.0.4pl1 -I/usr/src/php-4.0.4pl1/main
-I/usr/src/php-4.0.4pl1/main -I/usr/src/php-4.0.4pl1/Zend -I/usr/src/php-4.0.4pl1/Zend
-I/usr/src/php-4.0.4pl1/TSRM -I/usr/src/php-4.0.4pl1/TSRM -I/usr/src/php-4.0.4pl1 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED
./apaci -o helpers/dummy helpers/dummy.c
-Wl,-rpath,/usr/lib/lib -Wl,-rpath,/usr/local/lib/mysql -rdynamic -L/usr/lib/lib
-L/usr/local/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-L/usr/local/openlink/odbcsdk/lib -liodbc -lpam -lc-client -ldl -lmysqlclient -lttf -lz -lpng -lgd
-ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib/lib -ljpeg -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!
This error can be duplicated by running:
gcc src/helpers/dummy.c -o dummy -lc-client
--
Edit Bug report at: http://bugs.php.net/?id=9430&edit=1