ID:               17464
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Linux 2.4 and 2.2
 PHP Version:      4.2.1
 Assigned To:      sander
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.




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

[2002-05-28 07:49:38] [EMAIL PROTECTED]

Making this a docu prob and assigning to myself.

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

[2002-05-28 04:12:39] [EMAIL PROTECTED]

I resolved.
In the old manual (PHP 4.0), I found that after the imap compilation,
you need to copy "c-client/c-client.a" to
"/usr/local/lib/libc-client.a" and "c-client/rfc822.h, mail.h and
linkage.h" to "/usr/local/include" (in the new manual you instead need
to copy "c-client/*.h"  to "/usr/local/include").
Now I compiled the Apache1.3.24/PHP 4.2.1 with imap+pgsql+mysql and it
work.
I hope that this note could help anybody for fix the
configure/compilation programs or the PHP manual.
Thanks and excuse for my bad english :-(
Angelo.

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

[2002-05-27 18:24:39] [EMAIL PROTECTED]

Excuse for my english :-(
I tried an Apache+PHP+imap server on Mandrake 8.1 distribution (kernel
2.4.8) and Slackware 8.0 distribution (kernel 2.2.20).
I compiled the imap2001a.tar.Z package:
# tar -xvzf imap2001a.tar.gz
# cd imap2001a
# make slx

then I copied "c-client/c-client.a" to "/usr/local/lib/libc-client.a"
and "c-client/*.h" to "/usr/local/include".

Then in the apache source directory (ver. 1.3.24) I ran:
# ./configure

Then in php source directory (ver. 4.2.1) I ran:
# ./configure --with-imap --with-apache=../apache_1.3.24

and then
# make

But here I have an error.

This is the messages that I can read:

Making all in Zend
make[1]: Entering directory `/usr/src/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H ....
make[1]: Leaving directory `/usr/src/php-4.2.1/Zend'
In file included from zend.h:55,
                 from zend_compile.h:24,
                 from zend_language_parser.c:147:
/usr/local/include/unix.h:181: parse error before `MAILSTREAM'
/usr/local/include/unix.h:181: warning: no semicolon at end of struct
or union
/usr/local/include/unix.h:188: parse error before `}'
/usr/local/include/unix.h:188: warning: data definition has no type or
storage class
/usr/local/include/unix.h:192: parse error before `*'
/usr/local/include/unix.h:192: warning: data definition has no type or
storage class
/usr/local/include/unix.h:195: parse error before `*'
/usr/local/include/unix.h:196: parse error before `*'
/usr/local/include/unix.h:197: parse error before `*'
/usr/local/include/unix.h:198: parse error before `*'
/usr/local/include/unix.h:199: parse error before `*'
/usr/local/include/unix.h:200: parse error before `*'
/usr/local/include/unix.h:201: parse error before `*'
/usr/local/include/unix.h:201: parse error before `*'
/usr/local/include/unix.h:201: warning: data definition has no type or
storage class
/usr/local/include/unix.h:202: parse error before `*'
/usr/local/include/unix.h:203: parse error before `*'
/usr/local/include/unix.h:205: parse error before `*'
/usr/local/include/unix.h:206: parse error before `*'
/usr/local/include/unix.h:208: parse error before `*'
/usr/local/include/unix.h:209: parse error before `*'
/usr/local/include/unix.h:210: parse error before `*'
/usr/local/include/unix.h:211: parse error before `*'
/usr/local/include/unix.h:212: parse error before `*'
/usr/local/include/unix.h:213: parse error before `*'
/usr/local/include/unix.h:214: parse error before `*'
/usr/local/include/unix.h:215: parse error before `*'
/usr/local/include/unix.h:218: parse error before `*'
/usr/local/include/unix.h:220: parse error before `DOTLOCK'
/usr/local/include/unix.h:221: parse error before `MAILSTREAM'
/usr/local/include/unix.h:222: parse error before `*'
/usr/local/include/unix.h:223: parse error before `*'
/usr/local/include/unix.h:224: parse error before `*'
/usr/local/include/unix.h:225: parse error before `*'
/usr/local/include/unix.h:227: parse error before `*'
/usr/local/include/unix.h:228: parse error before `*'
/usr/local/include/unix.h:229: parse error before `*'
/usr/local/include/unix.h:230: parse error before `*'
make[1]: *** [zend_language_parser.lo] Error 1
make: *** [all-recursive] Error 1

I tried with imap2000c.tar.Z, imap2000a.tar.Z and PHP4.1.1 but with the
same error result.

Two years ago, I tried with imap2000a.tar.gz and PHP3.x.x and it was
OK.

I don't know what to do.
Thank for any help.
Angelo.


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


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

Reply via email to