PHP 4.0 Bug #9430 Updated: APACHE fails to compile when --with-imap support is enabled
| From: | sniper@php.net | Date: | Mon, 26 Feb 2001 09:51:08 +0000 |
| Subject: | PHP 4.0 Bug #9430 Updated: APACHE fails to compile when --with-imap support is enabled | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47531@lists.php.net to get a copy of this message | ||
ID: 9430
Updated by: sniper
Reported By: bhardeman@excite.com
Old-Status: Open
Status: Bogus
Bug Type: Apache related
Assigned To:
Comments:
The c-client library is not meant to be compiled as shared library (yet).
Please consult this page for info where to get the sources and
how to install it:
http://www.php.net/manual/en/ref.imap.php
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-23 14:48:41] bhardeman@excite.com
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9430&edit=2