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

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,162
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:
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).
 
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 :)
 
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.
 
@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 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.
 
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 ?
 
An
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 ?
Bump
Any ideas ?
 
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

Please help me:

cat: confdefs.h: No such file or directory
./configure: line 12633: ac_fn_c_try_link: command not found
./configure: line 12642: 5: Bad file descriptor
./configure: line 12643: 6: Bad file descriptor
./configure: line 12648: 5: Bad file descriptor
./configure: line 12649: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12673: ac_fn_c_try_link: command not found
./configure: line 12682: 5: Bad file descriptor
./configure: line 12683: 6: Bad file descriptor
./configure: line 12749: 5: Bad file descriptor
./configure: line 12750: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12774: ac_fn_c_try_link: command not found
./configure: line 12783: 5: Bad file descriptor
./configure: line 12784: 6: Bad file descriptor
./configure: line 12800: ac_fn_c_check_func: command not found
./configure: line 12804: ac_fn_c_check_func: command not found
./configure: line 12827: 5: Bad file descriptor
./configure: line 12828: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12852: ac_fn_c_try_link: command not found
./configure: line 12861: 5: Bad file descriptor
./configure: line 12862: 6: Bad file descriptor
./configure: line 12867: 5: Bad file descriptor
./configure: line 12868: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12892: ac_fn_c_try_link: command not found
./configure: line 12901: 5: Bad file descriptor
./configure: line 12902: 6: Bad file descriptor
./configure: line 12959: 5: Bad file descriptor
./configure: line 12960: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12984: ac_fn_c_try_link: command not found
./configure: line 12993: 5: Bad file descriptor
./configure: line 12994: 6: Bad file descriptor
./configure: line 12999: 5: Bad file descriptor
./configure: line 13000: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 13024: ac_fn_c_try_link: command not found
./configure: line 13033: 5: Bad file descriptor
./configure: line 13034: 6: Bad file descriptor
./configure: line 13100: 5: Bad file descriptor
./configure: line 13101: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 13120: ac_fn_c_try_compile: command not found
./configure: line 13204: 5: Bad file descriptor
./configure: line 13205: 6: Bad file descriptor
./configure: line 13214: ac_cv_header_dirent_dirent.h: command not found
./configure: line 13215: 5: Bad file descriptor
./configure: line 13216: 6: Bad file descriptor
./configure: line 13217: ${+:}: bad substitution

*** There was an error while trying to configure php. Check the configure file
 
Please help me:

cat: confdefs.h: No such file or directory
./configure: line 12633: ac_fn_c_try_link: command not found
./configure: line 12642: 5: Bad file descriptor
./configure: line 12643: 6: Bad file descriptor
./configure: line 12648: 5: Bad file descriptor
./configure: line 12649: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12673: ac_fn_c_try_link: command not found
./configure: line 12682: 5: Bad file descriptor
./configure: line 12683: 6: Bad file descriptor
./configure: line 12749: 5: Bad file descriptor
./configure: line 12750: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12774: ac_fn_c_try_link: command not found
./configure: line 12783: 5: Bad file descriptor
./configure: line 12784: 6: Bad file descriptor
./configure: line 12800: ac_fn_c_check_func: command not found
./configure: line 12804: ac_fn_c_check_func: command not found
./configure: line 12827: 5: Bad file descriptor
./configure: line 12828: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12852: ac_fn_c_try_link: command not found
./configure: line 12861: 5: Bad file descriptor
./configure: line 12862: 6: Bad file descriptor
./configure: line 12867: 5: Bad file descriptor
./configure: line 12868: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12892: ac_fn_c_try_link: command not found
./configure: line 12901: 5: Bad file descriptor
./configure: line 12902: 6: Bad file descriptor
./configure: line 12959: 5: Bad file descriptor
./configure: line 12960: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 12984: ac_fn_c_try_link: command not found
./configure: line 12993: 5: Bad file descriptor
./configure: line 12994: 6: Bad file descriptor
./configure: line 12999: 5: Bad file descriptor
./configure: line 13000: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 13024: ac_fn_c_try_link: command not found
./configure: line 13033: 5: Bad file descriptor
./configure: line 13034: 6: Bad file descriptor
./configure: line 13100: 5: Bad file descriptor
./configure: line 13101: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 13120: ac_fn_c_try_compile: command not found
./configure: line 13204: 5: Bad file descriptor
./configure: line 13205: 6: Bad file descriptor
./configure: line 13214: ac_cv_header_dirent_dirent.h: command not found
./configure: line 13215: 5: Bad file descriptor
./configure: line 13216: 6: Bad file descriptor
./configure: line 13217: ${+:}: bad substitution

*** There was an error while trying to configure php. Check the configure file

I'm getting the same errors on Debian 10. I also have a question: is it possible to install multiple PHP versions using the ./build php_expert command?
 
Try:
/usr/local/directadmin/custombuild/build set_fastest
/usr/local/directadmin/custombuild/build update
than try to install php
 
I am troubling-shooting with PHP 5.x with host MariaDB 10.4 on CentOS 8

It seems PHP 5.x cannot connect to MariaDB 10.2 or above directly...
Need to install a separate MariaDB 10.1 client on separate folder ...
But now it has some unknown SSL issue....
 
Thanks for the suggestion Martynas. I didn't test it thoroughly, so not sure if all the steps listed below are necessary but anyway, this fixed it for me on Debian 10:

Code:
/usr/local/directadmin/custombuild/build set autoconf no
apt remove autoconf
apt install autoconf2.13
ln -s /usr/bin/autoconf2.13 /usr/bin/autoconf
 
Last edited:
It seems PHP 5.3 with cURL extension does not work.

PHP 5.3 looks for libcurl.so.4 , which always points to /usr/local/lib/libcurl.so.4 , where libcurl.so.4 uses libssl.so.1.1

I tried to manually compile OpenSSL 1.0.2 (with shared -fPIC) at /usr/local/legacy.support/openssl
I tried to manually compile MariaDB 10.1 with OpenSSL 1.0.2 at /usr/local/legacy.support/mariadb-10.1
Then, I tried to manually compile cURL with separate OpenSSL 1.0.2 at /usr/local/legacy.support/curl
I tried to remove other SSL dependency (e.g. kerbose, mcrypt , mhash) in PHP 5.3 configure process.

Then, re-compile PHP 5.3 with --with-curl=/usr/local/legacy.support/curl

However, as it seems to look for libcurl.so.4 in ldd . Inside ldconfig -p , it seems always looking at /usr/local/lib first...
due to the libssl version difference, it crashed.

It raises coredump when I try to install a legacy WordPress out-of-the-box (e.g. v4.5) .

Sep 14 14:13:19 xxx kernel: php-cgi53[2659128]: segfault at 7fb99eaa0d80 ip 00007fb99eaa0d80 sp 00007fffc2d51c68 error 15 in libssl.so.1.1.1c[7fb99ea99000+9000]
Sep 14 14:13:19 xxx systemd-coredump[2659131]: Process 2659128 (php-cgi53) of user 1004 dumped core.#012#012Stack trace of thread 2659128:#012#0 0x00007fb99eaa0d80 n/a (libssl.so.1.1)
 
Last edited:
It seems PHP 5.3 with cURL extension does not work.

PHP 5.3 looks for libcurl.so.4 , which always points to /usr/local/lib/libcurl.so.4 , where libcurl.so.4 uses libssl.so.1.1

I tried to manually compile OpenSSL 1.0.2 (with shared -fPIC) at /usr/local/legacy.support/openssl
I tried to manually compile MariaDB 10.1 with OpenSSL 1.0.2 at /usr/local/legacy.support/mariadb-10.1
Then, I tried to manually compile cURL with separate OpenSSL 1.0.2 at /usr/local/legacy.support/curl
I tried to remove other SSL dependency (e.g. kerbose, mcrypt , mhash) in PHP 5.3 configure process.

Then, re-compile PHP 5.3 with --with-curl=/usr/local/legacy.support/curl

However, as it seems to look for libcurl.so.4 in ldd . Inside ldconfig -p , it seems always looking at /usr/local/lib first...
due to the libssl version difference, it crashed.

It raises coredump when I try to install a legacy WordPress out-of-the-box (e.g. v4.5) .
You are right.(y) Do no use php 5.3 with newest operating systems! I lost 2 days :mad: trying to find the problem on Centos 8. smtalk said in first line: not recommended. Use older SO if 5.3 needed.
 
Back
Top