[PHP-BUG] Bug #52601 [NEW]: make fails with error: conflicting types for 'int8_t'

2010-08-13 Thread gwolanin at gmail dot com
From: 
Operating system: Solaris 2.8
PHP version:  5.2.14
Package:  Compile Failure
Bug Type: Bug
Bug description:make fails with error: conflicting types for 'int8_t'

Description:

PHP v5.2.14

Solaris 2.8 (sparc)





./configure  \

--prefix=/opt/php-5.2.14 \

--with-mysql=/opt/mysql \

--with-mysql-sock=/tmp \

--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-ttf \

--with-freetype-dir=/usr/local/lib \

--with-curl=/usr/local/bin \

--with-xsl \

--enable-cli \

--enable-ftp \

--enable-zip \

--with-ldap=/opt/ldap \

--with-zlib









In file included from
/usr/share/src/php-5.2.14/ext/pcre/pcrelib/pcre_internal.h:198,

 from
/usr/share/src/php-5.2.14/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






-- 
Edit bug report at http://bugs.php.net/bug.php?id=52601&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52601&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52601&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=52601&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52601&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52601&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52601&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=52601&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=52601&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=52601&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=52601&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=52601&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=52601&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=52601&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52601&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=52601&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=52601&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=52601&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=52601&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=52601&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=52601&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=52601&r=mysqlcfg



Bug #52601 [Fbk->Opn]: make fails with error: conflicting types for 'int8_t'

2010-08-20 Thread gwolanin at gmail dot com
Edit report at http://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: Feedback
+Status: Open
 Type:   Bug
 Package:Compile Failure
 Operating System:   Solaris 2.8
 PHP Version:5.2.14
 Block user comment: N

 New Comment:

Sorry for the late response.  I have d/l and tried to compile with the
'latest' and I get the same error.


Previous Comments:

[2010-08-14 00:53:31] fel...@php.net

This must be fixed by the fix for bug #52436

Could you check it? :) (trying the snapshot)



Thanks.


[2010-08-14 00:50:47] fel...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



----
[2010-08-13 18:25:08] gwolanin at gmail dot com

Description:

PHP v5.2.14

Solaris 2.8 (sparc)





./configure  \

--prefix=/opt/php-5.2.14 \

--with-mysql=/opt/mysql \

--with-mysql-sock=/tmp \

--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-ttf \

--with-freetype-dir=/usr/local/lib \

--with-curl=/usr/local/bin \

--with-xsl \

--enable-cli \

--enable-ftp \

--enable-zip \

--with-ldap=/opt/ldap \

--with-zlib









In file included from
/usr/share/src/php-5.2.14/ext/pcre/pcrelib/pcre_internal.h:198,

 from
/usr/share/src/php-5.2.14/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











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


Bug #52601 [Asn]: make fails with error: conflicting types for 'int8_t'

2010-08-24 Thread gwolanin at gmail dot com
Edit report at http://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: Assigned
 Type:   Bug
 Package:Compile Failure
 Operating System:   Solaris 2.8
 PHP Version:5.2.14
 Assigned To:iliaa
 Block user comment: N

 New Comment:

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:>>>


Previous Comments:

[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] fel...@php.net

This must be fixed by the fix for bug #52436

Could you check it? :) (trying the snapshot)



Thanks.

----
[2010-08-14 00:50:47] fel...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




[2010-08-13 18:25:08] gwolanin at gmail dot com

Description:

PHP v5.2.14

Solaris 2.8 (sparc)





./configure  \

--prefix=/opt/php-5.2.14 \

--with-mysql=/opt/mysql \

--with-mysql-sock=/tmp \

--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-ttf \

--with-freetype-dir=/usr/local/lib \

--with-curl=/usr/local/bin \

--with-xsl \

--enable-cli \

--enable-ftp \

--enable-zip \

--with-ldap=/opt/ldap \

--with-zlib









In file included from
/usr/share/src/php-5.2.14/ext/pcre/pcrelib/pcre_internal.h:198,

 from
/usr/share/src/php-5.2.14/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











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


Bug #52601 [NoF->Csd]: make fails with error: conflicting types for 'int8_t'

2011-07-07 Thread gwolanin at gmail dot com
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 , compiles fine now.


Previous Comments:

[2011-06-01 12:01:55] il...@php.net

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] il...@php.net

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] fel...@php.net

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