ID:               31941
 Updated by:       [EMAIL PROTECTED]
 Reported By:      buffalo at radix dot net
-Status:           Feedback
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Solaris 2.5.0 / 5.5
 PHP Version:      4.3.10
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-02-12 03:18:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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

AFAIK, this is already fixed in CVS.


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

[2005-02-11 23:26:57] buffalo at radix dot net

Description:
------------
During a normal build from source on Solaris 2.5.0/GCC 2.95.2, with the
the configure line:

./configure  --prefix=/usr/local/php-4.3.10
--with-mysql=/usr/local/mysql-3.23
.58 --with-apxs=/usr/local/apache_1.3.33/bin/apxs
--enable-memory-limit

The make process fails at Zend/zend_strtod.c, line 239, complaining
about definitions for uint32_t or int32_t

Earlier versions of PHP 4.3.x had built without incident on the same
box. Trying the lates snapshot did not solve the problem.

A C programmer friend figured it out for me.:

Under Solaris 2.5.0, there doesn't seem to be a definition for uint32_t
or int32_t.

To get php 4.3.10 to compile, edit Zend/zend_strtod.c and at line 131
change:

#if defined(__sparc__) || defined(__ppc__)
#define u_int32_t uint32_t
#endif

to:

#if defined(__sparc__) || defined(__ppc__)
#define u_int32_t unsigned int
#define int32_t int
#endif






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


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

Reply via email to