Hi there,
I´ve been experimenting for some days now with phpswitcher and quite satisfied. As fas as I know, phpswitcher doesn´t download the latest php sources by itself. But some days ago PHP 5.6.12 was released and for a testserver our devs want to have PHP 5.6.12. So I tried to build it via phpswitcher with:
perl php_compiler.pl php5.6 -i /opt/phpswitcher/php5.6.12 -f
But I get the following error: (last one, rest is console output)
[INFO] Base installation directory set to /opt/phpswitcher/php5.6.12
[INFO] Installing build dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapparmor-dev is already the newest version.
libpspell-dev is already the newest version.
autoconf is already the newest version.
autoconf2.59 is already the newest version.
automake is already the newest version.
automake1.11 is already the newest version.
bison is already the newest version.
build-essential is already the newest version.
libbz2-dev is already the newest version.
chrpath is already the newest version.
libcurl4-openssl-dev is already the newest version.
libsasl2-dev is already the newest version.
libdb-dev is already the newest version.
libenchant-dev is already the newest version.
libmagic-dev is already the newest version.
firebird-dev is already the newest version.
flex is already the newest version.
freetds-dev is already the newest version.
libfreetype6-dev is already the newest version.
libglib2.0-dev is already the newest version.
locales-all is already the newest version.
libgmp3-dev is already the newest version.
libkrb5-dev is already the newest version.
libedit-dev is already the newest version.
libgcrypt11-dev is already the newest version.
libgd-dev is already the newest version.
libgd2-xpm-dev is already the newest version.
libjpeg-dev is already the newest version.
libmcrypt-dev is already the newest version.
libonig-dev is already the newest version.
libpng12-dev is already the newest version.
libtool is already the newest version.
libvpx-dev is already the newest version.
libxml2-dev is already the newest version.
libxmltok1-dev is already the newest version.
libxpm-dev is already the newest version.
libxslt1-dev is already the newest version.
libmhash-dev is already the newest version.
libncurses5-dev is already the newest version.
libsnmp-dev is already the newest version.
snmp is already the newest version.
netbase is already the newest version.
netcat-traditional is already the newest version.
libldap2-dev is already the newest version.
libpam0g-dev is already the newest version.
libpcre3-dev is already the newest version.
libpq-dev is already the newest version.
libqdbm-dev is already the newest version.
quilt is already the newest version.
re2c is already the newest version.
librecode-dev is already the newest version.
shtool is already the newest version.
libsqlite0-dev is already the newest version.
lemon is already the newest version.
libsqlite3-dev is already the newest version.
systemtap-sdt-dev is already the newest version.
libwrap0-dev is already the newest version.
unixodbc-dev is already the newest version.
libc-client2007e-dev is already the newest version.
wget is already the newest version.
zlib1g-dev is already the newest version.
libexpat1-dev is already the newest version.
libicu-dev is already the newest version.
libmysqlclient-dev is already the newest version.
libssl-dev is already the newest version.
libtidy-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
[DONE] Build dependencies have been successfully installed
[INFO] Processing PHP 5.6 version
[INFO] Scanning PHP site for last PHP 5.6.x version...
[INFO] Found php-5.6.12 archive at http://de1.php.net/distributions/php-5.6.12.tar.gz
[INFO] Donwloading php-5.6.12 archive into /usr/local/src/phpswitcher...
[DONE] php-5.6.12 archive has been successfully downloaded
[INFO] Extracting php-5.6.12 archive into /usr/local/src/phpswitcher/php-5.6.12 ...
[DONE] php-5.6.12 archive has been successfully extracted into /usr/local/src/phpswitcher
[INFO] Applying patches on php-5.6.12 source...
Applying patch 001-libtool_fixes.patch
Applying patch libtool2.2.patch
Applying patch 033-we_WANT_libtool.patch
Applying patch 044-strtod_arm_fix.patch
Applying patch php-5.4.9-phpinfo.patch
Applying patch 057-no_apache_installed.patch
Applying patch 100-recode_is_shared.patch
Applying patch 112-proc_open.patch
Applying patch php-5.4.7-libdb.patch
Applying patch force_libmysqlclient_r.patch
Applying patch sybase-alias.patch
Applying patch strcmp_null-OnUpdateErrorLog.patch
Applying patch dont-gitclean-in-build.patch
Applying patch qdbm-is-usr_include_qdbm.patch
Applying patch lp564920-fix-big-files.patch
Applying patch temporary-path-fixes-for-multiarch.patch
Applying patch hurd-noptrace.diff
Applying patch php-5.3.9-mysqlnd.patch
Applying patch php-5.3.9-gnusrc.patch
Applying patch php-5.3.3-macropen.patch
Applying patch php-5.2.4-norpath.patch
Applying patch php-5.2.4-embed.patch
Applying patch php-5.4.0-dlopen.patch
Applying patch php-fpm-m68k.patch
Applying patch zlib-largefile-function-renaming.patch
Applying patch php5-fpm-do-reload-on-SIGHUP.patch
Applying patch php-5.4.7-odbctimer.patch
Applying patch php-5.4.8-ldap_r.patch
Applying patch php-5.4.9-fixheader.patch
Applying patch php-5.6.0-noNO.patch
Applying patch php-5.6.0-oldpcre.patch
Applying patch hack-phpdbg-to-explicitly-link-with-libedit.patch
Applying patch php-fpm-getallheaders.patch
Applying patch 0001-Fix-ZEND_MM_ALIGNMENT-on-m64k.patch
Applying patch revert-f07b8f36ae8099e29d19fbe8806bc07b21dcd4ac.patch
Applying patch 0057-ads_odbc_exec.patch
1 out of 1 hunk FAILED
Patch 0057-ads_odbc_exec.patch does not apply (enforce with -f)
[FATAL] main::applyPatches: An error occurred while applying patches on php-5.6.12 source:
Before doing something stupid I decided to ask here.
Another thing: Has anyone ever tried to load a PHP version via phpswitcher created with phpbrew?
Thanks in advance
Simon