php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26276 I cannot compile (MAKE) when --with-imap is used
Submitted: 2003-11-16 14:16 UTC Modified: 2003-11-17 14:47 UTC
From: jerry at 3ztech dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.4 OS: FreeDSB 4.4
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: jerry at 3ztech dot com
New email:
PHP Version: OS:

 

 [2003-11-16 14:16 UTC] jerry at 3ztech dot com
Description:
------------
I ran:

'./configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-config-file-path=/usr/local/www/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--with-gd=/usr/local' '--with-freetype' '--with-zlib' '--with-jpeg-dir=/usr/local' '--with-imap' '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'

this ran ok

Then I ran MAKE and got the folling error message:

/bin/sh /usr/home/usr223127175/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/imap/ -I/usr/home/usr223127175/php-4.3.4/ext/imap/ -DPHP_ATOM_INC -I/usr/home/usr223127175/php-4.3.4/include -I/usr/home/usr223127175/php-4.3.4/main -I/usr/home/usr223127175/php-4.3.4 -I/usr/home/usr223127175/php-4.3.4/Zend -I/usr/local/include -I/usr/local/include/gd -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/home/usr223127175/php-4.3.4/ext/xml/expat  -I/usr/home/usr223127175/php-4.3.4/TSRM  -g -O2  -prefer-pic -c /usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c -o ext/imap/php_imap.lo
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c:342: syntax error before `QUOTALIST'
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c: In function `mail_getquota':
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c:351: `qlist' undeclared (first use in this function)
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c:351: (Each undeclared identifier is reported only once
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c:351: for each function it appears in.)
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c: In function `zif_imap_get_quota':
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c:889: `SET_QUOTA' undeclared (first use in this function)
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c: In function `zif_imap_get_quotaroot':
/usr/home/usr223127175/php-4.3.4/ext/imap/php_imap.c:917: `SET_QUOTA' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/usr223127175/php-4.3.4.

The compile is successful if ./configure --without-imap.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-17 14:47 UTC] sniper@php.net
You didn't follow the install instructions at http://www.php.net/imap and this is what you get..

Never EVER install those header files from c-client sources to  
same directories where any other header file exists. 
They're not 'namespace-protected' in any way..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 18:00:01 2025 UTC