Edit report at https://bugs.php.net/bug.php?id=52601&edit=1
ID: 52601
User updated by: gwolanin at gmail dot com
Reported by: gwolanin at gmail dot com
Summary: make fails with error: conflicting types for
'int8_t'
-Status: No Feedback
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Solaris 2.8
PHP Version: 5.2.14
Assigned To: iliaa
Block user comment: N
Private report: N
New Comment:
Sorry it took a while to retry this.
I am still getting this error with php 5.3.6
I have removed and updated pcre and perl from SunFreeware.com. make stops at
the same spot.
So I edited ext/pcre/pcrelib/pcre_internal.h
On line 198, I commented out #include <stdint.h>, compiles fine now.
Previous Comments:
------------------------------------------------------------------------
[2011-06-01 12:01:55] [email protected]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2010-12-13 17:26:32] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2010-08-24 20:49:50] gwolanin at gmail dot com
I was unable to post the full configure results here. I just downloaded 5.3.3
to compile. I removed the --with-xsl from my previous configure command, I
figured I didn't need it:
#! /bin/sh
#
# Created by configure
'./configure' \
'--prefix=/opt/php-5.3.3' \
'--with-mysql=/opt/mysql' \
'--with-mysql-sock=/tmp' \
'--with-pdo-mysql=/opt/mysql' \
'--with-apxs2=/opt/httpd-2.2.16/bin/apxs' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/share/src/libpng-1.2.1' \
'--with-gd' \
'--with-freetype-dir=/usr/local/lib' \
'--with-curl=/usr/local/bin' \
'--enable-cli' \
'--enable-ftp' \
'--enable-zip' \
'--with-ldap=/opt/ldap' \
'--with-zlib' \
"$@"
~
~
~
~
~
~
~
~
~
~
"config.nice" 21 lines, 472 characters
andromeda:/usr/share/src/php-5.3.3:>>> make
/bin/sh /usr/share/src/php-5.3.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/share/src/php-5.3.3/ext/pcre/pcrelib -Iext/pcre/
-I/usr/share/src/php-5.3.3/ext/pcre/ -DPHP_ATOM_INC
-I/usr/share/src/php-5.3.3/include -I/usr/share/src/php-5.3.3/main
-I/usr/share/src/php-5.3.3 -I/usr/share/src/php-5.3.3/ext/date/lib
-I/usr/share/src/php-5.3.3/ext/ereg/regex -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/freetype2 -I/opt/ldap/include
-I/opt/mysql/include/mysql -I/usr/share/src/php-5.3.3/ext/sqlite3/libsqlite
-I/usr/share/src/php-5.3.3/TSRM -I/usr/share/src/php-5.3.3/Zend
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -O2 -c
/usr/share/src/php-5.3.3/ext/pcre/pcrelib/pcre_chartables.c -o
ext/pcre/pcrelib/pcre_chartables.lo
In file included from
/usr/share/src/php-5.3.3/ext/pcre/pcrelib/pcre_internal.h:197,
from
/usr/share/src/php-5.3.3/ext/pcre/pcrelib/pcre_chartables.c:25:
/usr/include/stdint.h:41: error: conflicting types for 'int8_t'
/usr/include/sys/int_types.h:62: error: previous declaration of 'int8_t' was
here
/usr/include/stdint.h:42: error: conflicting types for 'int_least8_t'
/usr/include/sys/int_types.h:119: error: previous declaration of 'int_least8_t'
was here
make: *** [ext/pcre/pcrelib/pcre_chartables.lo] Error 1
andromeda:/usr/share/src/php-5.3.3:>>>
------------------------------------------------------------------------
[2010-08-20 20:46:48] gwolanin at gmail dot com
Sorry for the late response. I have d/l and tried to compile with the 'latest'
and I get the same error.
------------------------------------------------------------------------
[2010-08-14 00:53:31] [email protected]
This must be fixed by the fix for bug #52436
Could you check it? :) (trying the snapshot)
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=52601
--
Edit this bug report at https://bugs.php.net/bug.php?id=52601&edit=1