|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-08-13 18:25 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 04:00:01 2025 UTC |
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:>>>