How-to: build PHP 5.3/5.4/5.5 on Debian9/10/CentOS8

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,330
Location
LT, EU
Newer OS versions run OpenSSL 1.1, which is not compatible with PHP 5.3/5.4/5.5. If you'd like to 'workaround it' (not recommended), you can use this for php-fpm type of PHP, example is for PHP 5.3:
Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/php
cp -p configure/php/configure.php53 custom/php/configure.php53
mkdir -p custom/fpm/.custom_openssl
touch custom/fpm/.custom_openssl
perl -pi -e 's|with-openssl|with-openssl=/usr/local/lib_http2|g' custom/php/configure.php53
wget ftp://ftp.openssl.org/source/openssl-1.0.2s.tar.gz
tar xzf openssl-1.0.2s.tar.gz
cd openssl-1.0.2s
./config --prefix=/usr/local/lib_http2 no-ssl2 no-ssl3 zlib-dynamic -fPIC
make depend
make install
./build php_expert 5.3 php-fpm
./build rewrite_confs
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Hello Martynas,

Thank you for the guide. Why do we need to

Code:
touch custom/fpm/.custom_openssl
?

I don't find any related line in 2.0.0 (rev: 2146).
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,330
Location
LT, EU
Hello Martynas,

Thank you for the guide. Why do we need to

Code:
touch custom/fpm/.custom_openssl
?

I don't find any related line in 2.0.0 (rev: 2146).
Avail in 2147 only, just to skip “exiting” the script with an error that openssl 1.1 is incompatible with PHP <5.6 :)
 

wattie

Verified User
Joined
May 31, 2008
Messages
1,099
Location
Bulgaria
One more thing - as far as I know if you build your OpenSSL with "no-ssl3", PHP 5.5 and lower will NOT compile with it.
 

Imtek

Verified User
Joined
Dec 11, 2005
Messages
157
Location
The Netherlands
@smtalk yum package autoconf213 is required from the CentOS PowerTools repository for me to make it work (a little bit more) my solution with a default CentOS box was doing.

Enabling the PowerTools repository:
sudo yum config-manager --set-enabled PowerTools

Installing package autoconfig213:
yum install autoconf213

Then i tried to compile php53 and got:
Bash:
bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/locale/locale_class.c -o ext/intl/locale/locale_class.lo
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c: In function 'zif_normalizer_normalize':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:111:2: warning: 'unorm_normalize_65' is deprecated [-Wdeprecated-declarations]
  size_needed = unorm_normalize( uinput, uinput_len, form, (int32_t) 0 /* options */, uret_buf, uret_len, &status);
  ^~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from ext/intl/grapheme/grapheme.h:21,
                 from ext/intl/php_intl.h:26,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:21:
/usr/local/icu/include/unicode/urename.h:1197:50: note: declared here
 #define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                                                  ^~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1197:25: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
 #define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/unorm.h:218:1: note: in expansion of macro 'unorm_normalize'
 unorm_normalize(const UChar *source, int32_t sourceLength,
 ^~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:134:3: warning: 'unorm_normalize_65' is deprecated [-Wdeprecated-declarations]
   size_needed = unorm_normalize( uinput, uinput_len, form, (int32_t) 0 /* options */, uret_buf, uret_len, &status);
   ^~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from ext/intl/grapheme/grapheme.h:21,
                 from ext/intl/php_intl.h:26,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:21:
/usr/local/icu/include/unicode/urename.h:1197:50: note: declared here
 #define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                                                  ^~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1197:25: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
 #define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/unorm.h:218:1: note: in expansion of macro 'unorm_normalize'
 unorm_normalize(const UChar *source, int32_t sourceLength,
 ^~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c: In function 'zif_normalizer_is_normalized':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:233:2: warning: 'unorm_isNormalizedWithOptions_65' is deprecated [-Wdeprecated-declarations]
  uret = unorm_isNormalizedWithOptions( uinput, uinput_len, form, (int32_t) 0 /* options */, &status);
  ^~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from ext/intl/grapheme/grapheme.h:21,
                 from ext/intl/php_intl.h:26,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:21:
/usr/local/icu/include/unicode/urename.h:1195:64: note: declared here
 #define unorm_isNormalizedWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_isNormalizedWithOptions)
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1195:39: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
 #define unorm_isNormalizedWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_isNormalizedWithOptions)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/unorm.h:313:1: note: in expansion of macro 'unorm_isNormalizedWithOptions'
 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/locale/locale_methods.c -o ext/intl/locale/locale_methods.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat.c -o ext/intl/dateformat/dateformat.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_class.c -o ext/intl/dateformat/dateformat_class.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_attr.c -o ext/intl/dateformat/dateformat_attr.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_data.c -o ext/intl/dateformat/dateformat_data.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_format.c -o ext/intl/dateformat/dateformat_format.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_parse.c -o ext/intl/dateformat/dateformat_parse.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat.c -o ext/intl/msgformat/msgformat.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_attr.c -o ext/intl/msgformat/msgformat_attr.lo
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_format.c: In function 'internal_get_timestamp':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_format.c:109:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  pcal = udat_getCalendar(DATE_FORMAT_OBJECT(dfo));
       ^
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_parse.c: In function 'internal_parse_to_localtime':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_parse.c:95:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  parsed_calendar = udat_getCalendar(DATE_FORMAT_OBJECT(dfo));
                  ^
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_class.c -o ext/intl/msgformat/msgformat_class.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_data.c -o ext/intl/msgformat/msgformat_data.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_format.c -o ext/intl/msgformat/msgformat_format.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile c++ -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -std=c++11 -DU_USING_ICU_NAMESPACE=1  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_helpers.cpp -o ext/intl/msgformat/msgformat_helpers.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_parse.c -o ext/intl/msgformat/msgformat_parse.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_string.c -o ext/intl/grapheme/grapheme_string.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_util.c -o ext/intl/grapheme/grapheme_util.lo
In file included from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_string.c:24:
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_util.h:45:14: warning: inline function 'grapheme_memrchr_grapheme' declared but never defined
 inline void *grapheme_memrchr_grapheme(const void *s, int c, int32_t n);
              ^~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c -o ext/intl/resourcebundle/resourcebundle.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle_class.c -o ext/intl/resourcebundle/resourcebundle_class.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle_iterator.c -o ext/intl/resourcebundle/resourcebundle_iterator.lo
In file included from /usr/local/directadmin/custombuild/php-5.3.29/Zend/zend.h:237,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c:19:
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c: In function 'resourcebundle_extract_value':
/usr/local/directadmin/custombuild/php-5.3.29/Zend/zend_alloc.h:72:33: warning: passing argument 1 of '_efree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                 ^~~~~
ext/intl/intl_data.h:82:3: note: in expansion of macro 'efree'
   efree(ustring);                   \
   ^~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c:44:4: note: in expansion of macro 'INTL_METHOD_RETVAL_UTF8'
    INTL_METHOD_RETVAL_UTF8(source, ufield, ilen, 0);
    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/Zend/zend_alloc.h:60:28: note: expected 'void *' but argument is of type 'const UChar *' {aka 'const short unsigned int *'}
 ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
                      ~~~~~~^~~
In file included from /usr/local/icu/include/unicode/uformattable.h:37,
                 from /usr/local/icu/include/unicode/fmtable.h:33,
                 from /usr/local/icu/include/unicode/format.h:39,
                 from /usr/local/icu/include/unicode/msgfmt.h:33,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_helpers.cpp:22:
/usr/local/icu/include/unicode/localpointer.h:592:28: error: conflicting declaration of C function 'void icu_65::swap(icu_65::LocalUBreakIteratorPointer&, icu_65::LocalUBreakIteratorPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/ubrk.h:353:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubrk_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: note: previous declaration 'void icu_65::swap(icu_65::LocalUTextPointer&, icu_65::LocalUTextPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/utext.h:199:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: error: conflicting declaration of C function 'void icu_65::swap(icu_65::LocalUMessageFormatPointer&, icu_65::LocalUMessageFormatPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/umsg.h:428:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, UMessageFormat, umsg_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: note: previous declaration 'void icu_65::swap(icu_65::LocalUBreakIteratorPointer&, icu_65::LocalUBreakIteratorPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/ubrk.h:353:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubrk_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: error: conflicting declaration of C function 'void icu_65::swap(icu_65::LocalUMessageFormatPointer&, icu_65::LocalUMessageFormatPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/umsg.h:428:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, UMessageFormat, umsg_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: note: previous declaration 'void icu_65::swap(icu_65::LocalUTextPointer&, icu_65::LocalUTextPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/utext.h:199:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c -o ext/intl/idn/idn.lo
make: *** [Makefile:981: ext/intl/msgformat/msgformat_helpers.lo] Error 1
make: *** Waiting for unfinished jobs....
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c: In function 'php_intl_idn_to':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:97:4: warning: 'uidna_IDNToASCII_65' is deprecated [-Wdeprecated-declarations]
    converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
    ^~~~~~~~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from /usr/local/icu/include/unicode/uidna.h:22,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:27:
/usr/local/icu/include/unicode/urename.h:1001:51: note: declared here
 #define uidna_IDNToASCII U_ICU_ENTRY_POINT_RENAME(uidna_IDNToASCII)
                                                   ^~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1001:26: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
 #define uidna_IDNToASCII U_ICU_ENTRY_POINT_RENAME(uidna_IDNToASCII)
                          ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uidna.h:675:1: note: in expansion of macro 'uidna_IDNToASCII'
 uidna_IDNToASCII(  const UChar* src, int32_t srcLength,
 ^~~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:99:4: warning: 'uidna_IDNToUnicode_65' is deprecated [-Wdeprecated-declarations]
    converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
    ^~~~~~~~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from /usr/local/icu/include/unicode/uidna.h:22,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:27:
/usr/local/icu/include/unicode/urename.h:1002:53: note: declared here
 #define uidna_IDNToUnicode U_ICU_ENTRY_POINT_RENAME(uidna_IDNToUnicode)
                                                     ^~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1002:28: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
 #define uidna_IDNToUnicode U_ICU_ENTRY_POINT_RENAME(uidna_IDNToUnicode)
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uidna.h:722:1: note: in expansion of macro 'uidna_IDNToUnicode'
 uidna_IDNToUnicode(  const UChar* src, int32_t srcLength,
 ^~~~~~~~~~~~~~~~~~
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,330
Location
LT, EU
@smtalk yum package autoconf213 is required from the CentOS PowerTools repository for me to make it work (a little bit more) my solution with a default CentOS box was doing.

Enabling the PowerTools repository:
sudo yum config-manager --set-enabled PowerTools

Installing package autoconfig213:
yum install autoconf213

Then i tried to compile php53 and got:
Bash:
bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/locale/locale_class.c -o ext/intl/locale/locale_class.lo
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c: In function 'zif_normalizer_normalize':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:111:2: warning: 'unorm_normalize_65' is deprecated [-Wdeprecated-declarations]
  size_needed = unorm_normalize( uinput, uinput_len, form, (int32_t) 0 /* options */, uret_buf, uret_len, &status);
  ^~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from ext/intl/grapheme/grapheme.h:21,
                 from ext/intl/php_intl.h:26,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:21:
/usr/local/icu/include/unicode/urename.h:1197:50: note: declared here
#define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                                                  ^~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
#       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
#       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1197:25: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
#define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/unorm.h:218:1: note: in expansion of macro 'unorm_normalize'
unorm_normalize(const UChar *source, int32_t sourceLength,
^~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:134:3: warning: 'unorm_normalize_65' is deprecated [-Wdeprecated-declarations]
   size_needed = unorm_normalize( uinput, uinput_len, form, (int32_t) 0 /* options */, uret_buf, uret_len, &status);
   ^~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from ext/intl/grapheme/grapheme.h:21,
                 from ext/intl/php_intl.h:26,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:21:
/usr/local/icu/include/unicode/urename.h:1197:50: note: declared here
#define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                                                  ^~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
#       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
#       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1197:25: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
#define unorm_normalize U_ICU_ENTRY_POINT_RENAME(unorm_normalize)
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/unorm.h:218:1: note: in expansion of macro 'unorm_normalize'
unorm_normalize(const UChar *source, int32_t sourceLength,
^~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c: In function 'zif_normalizer_is_normalized':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:233:2: warning: 'unorm_isNormalizedWithOptions_65' is deprecated [-Wdeprecated-declarations]
  uret = unorm_isNormalizedWithOptions( uinput, uinput_len, form, (int32_t) 0 /* options */, &status);
  ^~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from ext/intl/grapheme/grapheme.h:21,
                 from ext/intl/php_intl.h:26,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/normalizer/normalizer_normalize.c:21:
/usr/local/icu/include/unicode/urename.h:1195:64: note: declared here
#define unorm_isNormalizedWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_isNormalizedWithOptions)
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
#       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
#       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1195:39: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
#define unorm_isNormalizedWithOptions U_ICU_ENTRY_POINT_RENAME(unorm_isNormalizedWithOptions)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/unorm.h:313:1: note: in expansion of macro 'unorm_isNormalizedWithOptions'
unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/locale/locale_methods.c -o ext/intl/locale/locale_methods.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat.c -o ext/intl/dateformat/dateformat.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_class.c -o ext/intl/dateformat/dateformat_class.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_attr.c -o ext/intl/dateformat/dateformat_attr.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_data.c -o ext/intl/dateformat/dateformat_data.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_format.c -o ext/intl/dateformat/dateformat_format.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_parse.c -o ext/intl/dateformat/dateformat_parse.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat.c -o ext/intl/msgformat/msgformat.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_attr.c -o ext/intl/msgformat/msgformat_attr.lo
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_format.c: In function 'internal_get_timestamp':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_format.c:109:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  pcal = udat_getCalendar(DATE_FORMAT_OBJECT(dfo));
       ^
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_parse.c: In function 'internal_parse_to_localtime':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/dateformat/dateformat_parse.c:95:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  parsed_calendar = udat_getCalendar(DATE_FORMAT_OBJECT(dfo));
                  ^
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_class.c -o ext/intl/msgformat/msgformat_class.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_data.c -o ext/intl/msgformat/msgformat_data.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_format.c -o ext/intl/msgformat/msgformat_format.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile c++ -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -std=c++11 -DU_USING_ICU_NAMESPACE=1  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_helpers.cpp -o ext/intl/msgformat/msgformat_helpers.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_parse.c -o ext/intl/msgformat/msgformat_parse.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_string.c -o ext/intl/grapheme/grapheme_string.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_util.c -o ext/intl/grapheme/grapheme_util.lo
In file included from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_string.c:24:
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/grapheme/grapheme_util.h:45:14: warning: inline function 'grapheme_memrchr_grapheme' declared but never defined
inline void *grapheme_memrchr_grapheme(const void *s, int c, int32_t n);
              ^~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c -o ext/intl/resourcebundle/resourcebundle.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle_class.c -o ext/intl/resourcebundle/resourcebundle_class.lo
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle_iterator.c -o ext/intl/resourcebundle/resourcebundle_iterator.lo
In file included from /usr/local/directadmin/custombuild/php-5.3.29/Zend/zend.h:237,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c:19:
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c: In function 'resourcebundle_extract_value':
/usr/local/directadmin/custombuild/php-5.3.29/Zend/zend_alloc.h:72:33: warning: passing argument 1 of '_efree' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                 ^~~~~
ext/intl/intl_data.h:82:3: note: in expansion of macro 'efree'
   efree(ustring);                   \
   ^~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/resourcebundle/resourcebundle.c:44:4: note: in expansion of macro 'INTL_METHOD_RETVAL_UTF8'
    INTL_METHOD_RETVAL_UTF8(source, ufield, ilen, 0);
    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/Zend/zend_alloc.h:60:28: note: expected 'void *' but argument is of type 'const UChar *' {aka 'const short unsigned int *'}
ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
                      ~~~~~~^~~
In file included from /usr/local/icu/include/unicode/uformattable.h:37,
                 from /usr/local/icu/include/unicode/fmtable.h:33,
                 from /usr/local/icu/include/unicode/format.h:39,
                 from /usr/local/icu/include/unicode/msgfmt.h:33,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/msgformat/msgformat_helpers.cpp:22:
/usr/local/icu/include/unicode/localpointer.h:592:28: error: conflicting declaration of C function 'void icu_65::swap(icu_65::LocalUBreakIteratorPointer&, icu_65::LocalUBreakIteratorPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/ubrk.h:353:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubrk_close);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: note: previous declaration 'void icu_65::swap(icu_65::LocalUTextPointer&, icu_65::LocalUTextPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/utext.h:199:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: error: conflicting declaration of C function 'void icu_65::swap(icu_65::LocalUMessageFormatPointer&, icu_65::LocalUMessageFormatPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/umsg.h:428:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, UMessageFormat, umsg_close);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: note: previous declaration 'void icu_65::swap(icu_65::LocalUBreakIteratorPointer&, icu_65::LocalUBreakIteratorPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/ubrk.h:353:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubrk_close);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: error: conflicting declaration of C function 'void icu_65::swap(icu_65::LocalUMessageFormatPointer&, icu_65::LocalUMessageFormatPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/umsg.h:428:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, UMessageFormat, umsg_close);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/localpointer.h:592:28: note: previous declaration 'void icu_65::swap(icu_65::LocalUTextPointer&, icu_65::LocalUTextPointer&)'
         friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
                            ^~~~
/usr/local/icu/include/unicode/utext.h:199:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/local/directadmin/custombuild/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/icu/include  -Iext/intl/ -I/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-5.3.29/include -I/usr/local/directadmin/custombuild/php-5.3.29/main -I/usr/local/directadmin/custombuild/php-5.3.29 -I/usr/local/directadmin/custombuild/php-5.3.29/ext/date/lib -I/usr/local/directadmin/custombuild/php-5.3.29/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/lib_http2/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-5.3.29/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-5.3.29/TSRM -I/usr/local/directadmin/custombuild/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c -o ext/intl/idn/idn.lo
make: *** [Makefile:981: ext/intl/msgformat/msgformat_helpers.lo] Error 1
make: *** Waiting for unfinished jobs....
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c: In function 'php_intl_idn_to':
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:97:4: warning: 'uidna_IDNToASCII_65' is deprecated [-Wdeprecated-declarations]
    converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
    ^~~~~~~~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from /usr/local/icu/include/unicode/uidna.h:22,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:27:
/usr/local/icu/include/unicode/urename.h:1001:51: note: declared here
#define uidna_IDNToASCII U_ICU_ENTRY_POINT_RENAME(uidna_IDNToASCII)
                                                   ^~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
#       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
#       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1001:26: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
#define uidna_IDNToASCII U_ICU_ENTRY_POINT_RENAME(uidna_IDNToASCII)
                          ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uidna.h:675:1: note: in expansion of macro 'uidna_IDNToASCII'
uidna_IDNToASCII(  const UChar* src, int32_t srcLength,
^~~~~~~~~~~~~~~~
/usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:99:4: warning: 'uidna_IDNToUnicode_65' is deprecated [-Wdeprecated-declarations]
    converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
    ^~~~~~~~~~~~~~~~~
In file included from /usr/local/icu/include/unicode/platform.h:25,
                 from /usr/local/icu/include/unicode/ptypes.h:52,
                 from /usr/local/icu/include/unicode/umachine.h:46,
                 from /usr/local/icu/include/unicode/utypes.h:38,
                 from /usr/local/icu/include/unicode/uidna.h:22,
                 from /usr/local/directadmin/custombuild/php-5.3.29/ext/intl/idn/idn.c:27:
/usr/local/icu/include/unicode/urename.h:1002:53: note: declared here
#define uidna_IDNToUnicode U_ICU_ENTRY_POINT_RENAME(uidna_IDNToUnicode)
                                                     ^~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uvernum.h:128:50: note: in definition of macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
#       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
                                                  ^
/usr/local/icu/include/unicode/uvernum.h:130:47: note: in expansion of macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
#       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/urename.h:1002:28: note: in expansion of macro 'U_ICU_ENTRY_POINT_RENAME'
#define uidna_IDNToUnicode U_ICU_ENTRY_POINT_RENAME(uidna_IDNToUnicode)
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/icu/include/unicode/uidna.h:722:1: note: in expansion of macro 'uidna_IDNToUnicode'
uidna_IDNToUnicode(  const UChar* src, int32_t srcLength,
^~~~~~~~~~~~~~~~~~
Fixed in CB 2.0 rev. 2395 - downgrade version of ICU if PHP 5.3/5.4 is enabled.
 

przemon

New member
Joined
Mar 26, 2009
Messages
2
Newer OS versions run OpenSSL 1.1, which is not compatible with PHP 5.3/5.4/5.5. If you'd like to 'workaround it' (not recommended), you can use this for php-fpm type of PHP, example is for PHP 5.3:
Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/php
cp -p configure/php/configure.php53 custom/php/configure.php53
mkdir -p custom/fpm/.custom_openssl
touch custom/fpm/.custom_openssl
perl -pi -e 's|with-openssl|with-openssl=/usr/local/lib_http2|g' custom/php/configure.php53
wget ftp://ftp.openssl.org/source/openssl-1.0.2s.tar.gz
tar xzf openssl-1.0.2s.tar.gz
cd openssl-1.0.2s
./config --prefix=/usr/local/lib_http2 no-ssl2 no-ssl3 zlib-dynamic -fPIC
make depend
make install
./build php_expert 5.3 php-fpm
./build rewrite_confs
it is not working for Debian 9

Hunk #1 succeeded at 1216 (offset -21 lines).
Patching is done.
cat: confdefs.h: No such file or directory
./configure: 392: ./configure: ac_fn_c_try_run: not found
./configure: 408: ./configure: 5: Bad file descriptor
./configure: 408: ./configure: :: checking for pthreads_cflags: not found
./configure: 409: ./configure: 6: Bad file descriptor
./configure: 409: ./configure: checking for pthreads_cflags... : not found
cat: confdefs.h: No such file or directory
./configure: 448: ./configure: ac_fn_c_try_run: not found
.......

Do i need to downgrade some packages to solve problem ?
 
Top