Bug #10878 Updated: Compile problem with IMAP support
| From: | sean dot truman at prodigysolutions dot com | Date: | Wed, 16 May 2001 14:57:18 +0000 |
| Subject: | Bug #10878 Updated: Compile problem with IMAP support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55495@lists.php.net to get a copy of this message | ||
ID: 10878
User Update by: sean.truman@prodigysolutions.com
Status: Open
Bug Type: IMAP related
Operating system: sparc-sun-solaris2.7
PHP Version: 4.0.5
Description: Compile problem with IMAP support
--with-imap=../imap-2001 (Same thing)
--with-imap=/usr/include (Same thing)
Previous Comments:
---------------------------------------------------------------------------
[2001-05-16 10:20:42] sean.truman@prodigysolutions.com
cp c-client.a /usr/lib/libc-client.a
cp rfc822.h /usr/include
cp linkage.h /usr/include
cp mail.h /usr/include
---------------------------------------------------------------------------
[2001-05-16 09:31:27] sean.truman@prodigysolutions.com
Sorry no I have tried it with --with-imap I am running the most recent version ftp://ftp.cac.washington.edu/imap/imap.tar.Z
---------------------------------------------------------------------------
[2001-05-16 00:17:48] sniper@php.net
Is there really a path 'y' in your system?
What version of c-client you have?
And where is it located? and the header files?
--Jani
---------------------------------------------------------------------------
[2001-05-15 10:14:45] sean.truman@prodigysolutions.com
configure line is:
./configure --with-mysql=/usr
--with-imap=y
--with-apache=../apache_1.3.19
--enable-track-vars
--enable-register-globals
--enable-trans-sid
make[2]: Entering directory `/usr/local/src/php-4.0.5/main'
gcc -I. -I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5
-I/usr/local/src/apache_1.3.19/s
rc/include -I/usr/local/src/apache_1.3.19/src/os/unix -I/usr/local/src/php-4.0.5/Zend
-I/usr/include/mysql -I/usr/local/src/php-4.0.
5/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.5/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.5/TSRM -D_POSIX_PTHREAD_SEMANTICS
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c main.c && touch main.lo
gcc -I. -I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5
-I/usr/local/src/apache_1.3.19/s
rc/include -I/usr/local/src/apache_1.3.19/src/os/unix -I/usr/local/src/php-4.0.5/Zend
-I/usr/include/mysql -I/usr/local/src/php-4.0.
5/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.5/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.5/TSRM -D_POSIX_PTHREAD_SEMANTICS
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c internal_functions.c && touch
internal_functions.lo
In file included from internal_functions.c:32:
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:50: parse error before `MAILSTREAM'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:50: warning: no semicolon at end of struct or union
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:58: parse error before `}'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:58: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:61: parse error before `SIZEDTEXT'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:61: warning: no semicolon at end of struct or union
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:65: parse error before `}'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:65: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:68: parse error before `SIZEDTEXT'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:68: warning: no semicolon at end of struct or union
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:70: conflicting types for `next'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:64: previous declaration of `next'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:71: parse error before `}'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:71: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:156: parse error before `STRINGLIST'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:156: warning: no semicolon at end of struct or union
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:157: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:158: parse error before `*'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:158: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:159: parse error before `*'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:159: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:161: parse error before `*'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:161: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:162: parse error before `*'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:162: warning: data definition has no type or storage
class
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:174: parse error before `}'
/usr/local/src/php-4.0.5/ext/imap/php_imap.h:174: warning: data definition has no type or storage
class
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.5/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.5/main'
make: *** [all-recursive] Error 1
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10878