From: jerry at 3ztech dot com
Operating system: FreeDSB 4.4
PHP version: 4.3.4
PHP Bug Type: Compile Failure
Bug description: I cannot compile (MAKE) when --with-imap is used
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.
--
Edit bug report at http://bugs.php.net/?id=26276&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26276&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26276&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26276&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26276&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26276&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26276&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26276&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26276&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26276&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26276&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26276&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26276&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26276&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26276&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26276&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26276&r=float