You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Bill Hardeman <bh...@excite.com> on 2001/02/23 20:37:54 UTC

config/7306: Configure aborts with error 1 when compiling with php4 imap support.

>Number:         7306
>Category:       config
>Synopsis:       Configure aborts with error 1 when compiling with php4 imap support.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Feb 23 11:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     bhardeman@excite.com
>Release:        1.3.17
>Organization:
apache
>Environment:
system: Debian Linux druid 2.2.14 #2 SMP Thu Mar 16 10:54:07 PST 2000 i686 unknown
gcc: gcc version 2.95.3 20010125
libc-client: libc-client2000 & libc-client2000-dev(DEBIAN PACKAGES)
php: PHP 4.0.3pl1
>Description:
After successfully installing PHP with the configuration line
./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

attempting to configure APACHE with
./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 `./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 -ldbm -ldb -ldl
/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 rewrite_module uses ConfigStart/End
 + using -ldbm for DBM support
      enabling DBM support for mod_rewrite
    o dbm_auth_module uses ConfigStart/End
    o db_auth_module uses ConfigStart/End
      using Berkeley-DB/2.x for mod_auth_db (-ldb)
    o php4_module uses ConfigStart/End
 + using -ldl for vendor DSO support
 + 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!
>How-To-Repeat:
gcc src/helpers/dummy.c -o dummy -lc-client
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]