php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4649 imap kills apache compile
Submitted: 2000-05-28 06:10 UTC Modified: 2000-08-08 19:55 UTC
From: wjones at fireblazer dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.0 Release OS: Linux Slackware
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wjones at fireblazer dot com
New email:
PHP Version: OS:

 

 [2000-05-28 06:10 UTC] wjones at fireblazer dot com
I get this error when compiling with imap. Didn't have this problem with php3. Tried 4 times, including untaring the source to a new subdir. Ideas?!?

      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a  lib/expat-lite/libexpat.a  -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/imap-4.7a/c-client  -rdynamic -L/usr/local/lib -L/usr/local/imap-4.7a/c-client -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lgdbm -lc-client  -ldl -lttf -lgd -lm -ldl   -lm -ldl
modules/php4/libphp4.a(php_imap.o): In function `php_if_imap_headerinfo':
/src/php-4.0.0/ext/imap/php_imap.c:1636: undefined reference to `rfc822_parse_msg'
modules/php4/libphp4.a(php_imap.o): In function `php_if_imap_rfc822_parse_headers':
/src/php-4.0.0/ext/imap/php_imap.c:1698: undefined reference to `rfc822_parse_msg'
modules/php4/libphp4.a(php_imap.o): In function `php_if_imap_rfc822_write_address':
/src/php-4.0.0/ext/imap/php_imap.c:2130: undefined reference to `rfc822_write_address'
modules/php4/libphp4.a(php_imap.o): In function `php_if_imap_fetch_overview':
/src/php-4.0.0/ext/imap/php_imap.c:2959: undefined reference to `rfc822_write_address'
modules/php4/libphp4.a(php_imap.o): In function `_php_imap_parse_address':
/src/php-4.0.0/ext/imap/php_imap.c:3529: undefined reference to `rfc822_write_address'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/hd2/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/hd2/src/apache_1.3.12'
make: *** [build] Error 2
Exit 2
mars wjones[12:08am]54:/src/apache_1.3.12> 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-29 01:11 UTC] sniper@php.net
Please include your configure-line.

--Jani

 [2000-08-02 19:00 UTC] sniper@php.net
User feedback:

./configure --with-mysql --with-imap --with-apache=../apache_1.3.12 --enable-track-vars

----
Have you compiled and installed imap-library like said in:
 
http://www.php.net/manual/ref.imap.php
 
??

Try adding the path to the install path of imap into --with-imap.

For example:

--with-imap=/usr

This is valid when the include files (*.h) are in '/usr/include' and library 
(c-client.a copied to libc-client.a) is in '/usr/lib'-directory. 

--Jani

 [2000-08-08 19:55 UTC] sniper@php.net
No feedback. And most likely user error.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 23:00:01 2026 UTC