ID:               20808
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Solaris 2.6 sparc
 PHP Version:      4.3.0RC2
 New Comment:

Digging into the freshly unpacked source some more, I get
the same line in different places:

$ find php-4.3.0RC2 -type f | xargs grep -n '#ifdef __cplusplus 
*extern "C"$' /dev/null
php-4.3.0RC2/ext/mysql/libmysql/acinclude.m4:230:#ifdef __cplusplus    
                               extern "C"
php-4.3.0RC2/autom4te-2.53.cache/output.0:53644:#ifdef __cplusplus     
                              extern "C"
php-4.3.0RC2/autom4te-2.53.cache/output.0:56677:#ifdef __cplusplus     
                              extern "C"
php-4.3.0RC2/configure:53644:#ifdef __cplusplus   extern "C"
php-4.3.0RC2/configure:56677:#ifdef __cplusplus   extern "C"

(Here multiple spaces between the __cplusplus and the extern removed as
the textarea input wrapping didn't display it correctly.)

Especially the ext/mysql/libmysql/acinclude.m4 looks to me to be the
real culprit.


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

[2002-12-05 09:29:36] [EMAIL PROTECTED]

I checked the configure from the freshly unpacked tarball,
md5sum: bc06e58150282fbd031abd662df8b1e1  configure
$ grep -n '#ifdef __cplusplus  *extern "C"$' configure
53644:#ifdef __cplusplus                                               
              extern "C"
56677:#ifdef __cplusplus                                               
              extern "C"

Please look carefully, turn off line wrapping in your editor.

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

[2002-12-05 09:22:44] [EMAIL PROTECTED]

I just checked the latest snapshot and the configure is just fine in
it. If you're generating configure yourself, it's not our problem if
your autoconf is broken.


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

[2002-12-05 04:04:52] [EMAIL PROTECTED]

No, the snapshot still has the problem.
I found another place where it's wrong:
besides line 53644, also on line 56677.

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

[2002-12-04 17:51:23] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

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

[2002-12-04 07:53:01] [EMAIL PROTECTED]

The area round line 53644 in configure looks like:

#include <stdlib.h>
#ifdef __cplusplus                                                     
        extern "C"
#endif

Unfortunately the #ifdef line is joined with the extern line
with 70 spaces or so, so that it wraps nicely and hides this.

This was already there in 4.2.3 (as I discovered today).


Paul Slootman

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


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

Reply via email to