ID:               26276
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jerry at 3ztech dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: FreeDSB 4.4
 PHP Version:      4.3.4
 New Comment:

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..



Previous Comments:
------------------------------------------------------------------------

[2003-11-16 14:16:58] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26276&edit=1

Reply via email to