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

Reply via email to