PHP - 4.3.1 / --with-imap install problem
| From: | johns at bsfc dot ac dot uk | Date: | Mon, 28 Apr 2003 11:29:43 +0000 |
| Subject: | PHP - 4.3.1 / --with-imap install problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10727@lists.php.net to get a copy of this message | ||
Hi All
I am trying to install php with the --with-imap extention, the command I ran
was.
./configure --with-mysql --with-dom --with-xml --with-zlib-dir=/usr/local --
enable-track-vars --with-apache=../apache_1.3.27 --with-gettext --with-
imap=/usr/local/imap-2002c1
but when I ran make, it displayed the attached error messages.
I then removed the php directory, un-tarred it again and ran
./configure --with-mysql --with-dom --with-xml --with-zlib-dir=/usr/local --
enable-track-vars --with-apache=../apache_1.3.27 --with-gettext
and then ran make, and it worked perfectly,
Can anyone offer any adivce or assistance?
Regards
John Szkudlapski
Web Manager
Birkenhead Sixth Form College
*****************************************************************
Birkenhead 6th Form College
This message is sent in confidence for the addressee only;
If it has come to you in error, please notify compserv@bsfc.ac.uk
The contents of this e-mail are the personal views of the sender,
which may not necessarily reflect those of the college.
This message has been scanned for viruses.
The college cannot accept any responsibility for any viruses
which may have come from external sources.
*****************************************************************
*****************************************************************
Birkenhead 6th Form College
This message is sent in confidence for the addressee only;
If it has come to you in error, please notify compserv@bsfc.ac.uk
The contents of this e-mail are the personal views of the sender,
which may not necessarily reflect those of the college.
This message has been scanned for viruses.
The college cannot accept any responsibility for any viruses
which may have come from external sources.
*****************************************************************
In file included from /installs/php-4.3.1/Zend/zend.h:59, from /installs/php-4.3.1/main/php.h:34, from /installs/php-4.3.1/ext/imap/php_imap.c:37: /usr/local/imap-2002c1/c-client/unix.h:182: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:182: warning: no semicolon at end of struct or union /usr/local/imap-2002c1/c-client/unix.h:189: parse error before '}' token /usr/local/imap-2002c1/c-client/unix.h:189: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:193: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:193: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:196: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:197: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:198: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:199: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:200: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:201: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:203: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:204: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:206: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:207: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:209: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:210: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:211: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:212: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:213: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:214: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:215: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:216: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:219: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:221: parse error before "DOTLOCK" /usr/local/imap-2002c1/c-client/unix.h:222: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:223: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:224: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:225: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:226: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:228: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:229: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:230: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:231: parse error before '*' token In file included from /installs/php-4.3.1/main/php.h:92, from /installs/php-4.3.1/ext/imap/php_imap.c:37: /usr/local/imap-2002c1/c-client/unix.h:159: redefinition of `struct unix_local' /usr/local/imap-2002c1/c-client/unix.h:171: redefinition of `UNIXLOCAL' /usr/local/imap-2002c1/c-client/unix.h:171: `UNIXLOCAL' previously declared here /usr/local/imap-2002c1/c-client/unix.h:182: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:182: warning: no semicolon at end of struct or union /usr/local/imap-2002c1/c-client/unix.h:189: parse error before '}' token /usr/local/imap-2002c1/c-client/unix.h:189: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:193: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:193: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:196: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:197: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:198: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:199: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:200: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:201: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:203: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:204: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:206: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:207: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:209: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:210: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:211: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:212: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:213: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:214: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:215: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:216: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:219: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:221: parse error before "DOTLOCK" /usr/local/imap-2002c1/c-client/unix.h:222: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:223: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:224: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:225: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:226: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:228: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:229: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:230: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:231: parse error before '*' token *** Error code 1 make: Fatal error: Command failed for target `ext/imap/php_imap.lo'
In file included from /installs/php-4.3.1/Zend/zend.h:59, from /installs/php-4.3.1/main/php.h:34, from /installs/php-4.3.1/ext/imap/php_imap.c:37: /usr/local/imap-2002c1/c-client/unix.h:182: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:182: warning: no semicolon at end of struct or union /usr/local/imap-2002c1/c-client/unix.h:189: parse error before '}' token /usr/local/imap-2002c1/c-client/unix.h:189: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:193: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:193: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:196: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:197: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:198: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:199: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:200: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:201: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:203: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:204: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:206: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:207: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:209: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:210: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:211: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:212: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:213: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:214: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:215: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:216: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:219: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:221: parse error before "DOTLOCK" /usr/local/imap-2002c1/c-client/unix.h:222: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:223: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:224: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:225: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:226: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:228: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:229: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:230: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:231: parse error before '*' token In file included from /installs/php-4.3.1/main/php.h:92, from /installs/php-4.3.1/ext/imap/php_imap.c:37: /usr/local/imap-2002c1/c-client/unix.h:159: redefinition of `struct unix_local' /usr/local/imap-2002c1/c-client/unix.h:171: redefinition of `UNIXLOCAL' /usr/local/imap-2002c1/c-client/unix.h:171: `UNIXLOCAL' previously declared here /usr/local/imap-2002c1/c-client/unix.h:182: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:182: warning: no semicolon at end of struct or union /usr/local/imap-2002c1/c-client/unix.h:189: parse error before '}' token /usr/local/imap-2002c1/c-client/unix.h:189: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:193: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:193: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:196: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:197: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:198: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:199: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:200: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:201: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:202: warning: data definition has no type or storage class /usr/local/imap-2002c1/c-client/unix.h:203: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:204: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:206: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:207: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:209: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:210: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:211: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:212: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:213: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:214: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:215: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:216: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:219: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:221: parse error before "DOTLOCK" /usr/local/imap-2002c1/c-client/unix.h:222: parse error before "MAILSTREAM" /usr/local/imap-2002c1/c-client/unix.h:223: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:224: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:225: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:226: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:228: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:229: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:230: parse error before '*' token /usr/local/imap-2002c1/c-client/unix.h:231: parse error before '*' token *** Error code 1 make: Fatal error: Command failed for target `ext/imap/php_imap.lo'