#23842 [Opn->Bgs]: compile error in php_imap.c
| From: | sniper@php.net | Date: | Tue, 27 May 2003 21:51:55 +0000 |
| Subject: | #23842 [Opn->Bgs]: compile error in php_imap.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40527@lists.php.net to get a copy of this message | ||
ID: 23842
Updated by: sniper@php.net
Reported By: richard at gagnonconsulting dot com
-Status: Open
+Status: Bogus
-Bug Type: Compile Warning
+Bug Type: Compile Failure
Operating System: FreeBSD 4.4
PHP Version: 4.3.1
New Comment:
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."
Previous Comments:
------------------------------------------------------------------------
[2003-05-27 15:32:06] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23842&edit=1