php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9430 APACHE fails to compile when --with-imap support is enabled
Submitted: 2001-02-23 14:48 UTC Modified: 2001-02-26 04:51 UTC
From: bhardeman at excite dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.0.4pl1 OS: Linux druid 2.2.14 #2 SMP Thu Ma
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: bhardeman at excite dot com
New email:
PHP Version: OS:

 

 [2001-02-23 14:48 UTC] bhardeman at excite dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 04:51 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 12:01:29 2025 UTC