php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23842 compile error in php_imap.c
Submitted: 2003-05-27 15:32 UTC Modified: 2003-05-27 16:51 UTC
From: richard at gagnonconsulting dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.1 OS: FreeBSD 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: richard at gagnonconsulting dot com
New email:
PHP Version: OS:

 

 [2003-05-27 15:32 UTC] richard at gagnonconsulting dot com
Get the following error when running make (.config options follow)

> make
/bin/sh libtool --silent --mode=compile gcc  -Iext/imap/ -I/usr/home/usr223104188/php/php-4.3.1/ext/imap/ -DPHP_ATOM_INC -I/usr/home/usr223104188/php/php-4.3.1/include -I/usr/home/usr223104188/php/php-4.3.1/main -I/usr/home/usr223104188/php/php-4.3.1 -I/usr/home/usr223104188/php/php-4.3.1/Zend -I/usr/local/include -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/home/usr223104188/php/php-4.3.1/ext/xml/expat  -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/htdocs" -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=208105 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/usr/home/usr223104188/php/php-4.3.1/TSRM  -g -O2  -prefer-pic -c /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c -o ext/imap/php_imap.lo
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:339: syntax error before `QUOTALIST'
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c: In function `mail_getquota':
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:344: `qlist' undeclared (first use in this function)
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:344: (Each undeclared identifier is reported only once
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:344: for each function it appears in.)
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c: In function `zif_imap_get_quota':
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:869: `SET_QUOTA' undeclared (first use in this function)
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c: In function `zif_imap_get_quotaroot':
/usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:903: `SET_QUOTA' undeclared (first use in this function)
*** Error code 1

I ran ./configure with the following options:

 './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' '--with-mysql' '--with-zlib' '--with-imap=/usr/local' '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'

also tried again with following configure options:

./configure --with-apxs=/usr/local/www/bin/apxs --with-mysql=/usr/local/ --with-gd=/usr/local/ --with-freetype --with-imap

Same problem

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-27 16:51 UTC] sniper@php.net
You have installed the header files in wrong place.
Or they're ALL installed, which is really not supposed to 
be done.

See: http://www.php.net/imap

"It's important that you do not copy the IMAP source files directly into the system include directory as there may be conflicts."


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