PHP 4.0 Bug #9634 Updated: imap_*_quota not found
| From: | kalowsky@php.net | Date: | Thu, 08 Mar 2001 19:57:26 +0000 |
| Subject: | PHP 4.0 Bug #9634 Updated: imap_*_quota not found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48306@lists.php.net to get a copy of this message | ||
ID: 9634
Updated by: kalowsky
Reported By: ignacio@openservices.net
Status: Open
Bug Type: Compile Failure
Assigned To:
Comments:
i'm sorry, #2 should have also check to make sure you have a c-client.h file in your include
directory (this is what ensures a define of HAVE_IMAP2000).
Previous Comments:
---------------------------------------------------------------------------
[2001-03-08 14:56:37] kalowsky@php.net
1) make sure HAVE_IMAP2000 is being defined
2) Check to make sure imap4r1.h is included in the php_imap.c file (this should be done as long as
HAVE_IMAP2000) is defined and exists in the imap directory (looks like it's /usr/include/imap
on your machine)
3) check that your imap4r1.h has both functions defined. it should, but double checking never
hurts.
---------------------------------------------------------------------------
[2001-03-08 14:55:38] kalowsky@php.net
1) make sure HAVE_IMAP2000 is being defined
2) Check to make sure imap4r1.h is included in the php_imap.c file (this should be done as long as
HAVE_IMAP2000) is defined and exists in the imap directory (looks like it's /usr/include/imap
on your machine)
3) check that your imap4r1.h has both functions defined. it should, but double checking never
hurts.
---------------------------------------------------------------------------
[2001-03-08 14:11:00] ignacio@openservices.net
Last few lines of build:
/bin/sh /usr/src/redhat/BUILD/php-4.0.5dev_20010308/libtool --silent --mode=link gcc -I.
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/ -I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/main
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308 -I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/Zend
-I/usr/include/freetype -I/usr/include/imap -I/usr/local/include -I/opt/sybase-11.9.2/include
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/ext/xml/expat/xmltok
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/ext/xml/expat/xmlparse
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -O2 -m486
-fno-strength-reduce -fPIC -o php -export-dynamic stub.lo libphp4.la
.libs/libphp4.a(php_imap.o): In function `php_if_imap_get_quota':
php_imap.o(.text+0x1aef): undefined reference to `imap_getquota'
.libs/libphp4.a(php_imap.o): In function `php_if_imap_set_quota':
php_imap.o(.text+0x1e19): undefined reference to `imap_setquota'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.5dev_20010308'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.49221 (%build)
IMAP 2000c is installed, and another machine with a very similar configuration had no problem
compiling. Any ideas?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9634&edit=2