Just updated to litespeed 4.0.19 and rebuilding PHP 5.3.5 get's mail header patch error ?
Code:
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1295639433.4.progress
Preparing all source code for building PHP 5.3.5 with LSAPI
Retrieving PHP source archive from http://us.php.net/get/php-5.3.5.tar.gz/from/us.php.net/mirror
Extracting PHP source archive: tar -zxf php-5.3.5.tar.gz
Retrieving mail header patch from http://choon.net/opensource/php/php-5.3.5-mail-header.patch
Patching source with mail header patch
**ERROR** Could not patch source with mail header patch
DETAILED LOG
Code:
Retrieving mail header patch from http://choon.net/opensource/php/php-5.3.5-mail-header.patch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 191 0 --:--:-- --:--:-- --:--:-- 191
100 162 100 162 0 0 191 0 --:--:-- --:--:-- --:--:-- 0
Patching source with mail header patch
patch: **** Only garbage was found in the patch input.
**ERROR** Could not patch source with mail header patch
Tried building PHP 5.3.5 without mail header patch and only memcached and get another error
Code:
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1295639983.1.progress
Start building PHP 5.3.5 with LSAPI
Configuring PHP build (2-3 minutes)
Compiling PHP (5-10 minutes)
Installing PHP
copy compiled php binary to litespeed directory
Start building MemCache Extension
Changing to build directory /usr/local/lsws/phpbuild/php-5.3.5/memcache-2.2.6
Running PHPize for MemCache extension
**ERROR** Could not run PHPize for MemCache
Code:
Build complete.
Don't forget to run 'make test'.
Installing PHP
Installing PHP SAPI module: litespeed
Installing PHP LiteSpeed into: /usr/bin/
Installing PHP CLI binary: /usr/bin/
Installing PHP CLI man page: /usr/share/man/man1/
Installing shared extensions: /usr/lib64/20090626/
Installing build environment: /usr/lib64/build/
Installing header files: /usr/include/php/
Installing helper programs: /usr/bin/
program: phpize
program: php-config
Installing man pages: /usr/share/man/man1/
page: phpize.1
page: php-config.1
Installing PDO headers: /usr/include/php/ext/pdo/
copy compiled php binary to litespeed directory
cd /usr/local/lsws//fcgi-bin
ln -sf lsphp-5.3.5 lsphp5
==============================================
Finished building PHP 5.3.5 with LSAPI
==============================================
Sat Jan 22 06:04:12 EST 2011
==============================================
Start building MemCache Extension
==============================================
Sat Jan 22 06:04:12 EST 2011
Changing to build directory /usr/local/lsws/phpbuild/php-5.3.5/memcache-2.2.6
Running PHPize for MemCache extension
/usr/local/lsws/phpbuild/buildphp_1295639983.1.install.sh: line 134: /usr/local/lsws/lsphp5/bin/phpize: No such file or directory
**ERROR** Could not run PHPize for MemCache
litespeed PHP was installed to /usr/bin, should be installed to /usr/local/lsws/lsphp5/bin,
Need to remove "--prefix=/usr" from the configuration option.
Libraries have been installed in:
/usr/local/lsws/phpbuild/php-5.3.5/memcache-2.2.6/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing MemCache extension
Installing shared extensions: /usr/local/lsws/lsphp5/lib/php/20090626/
chown -R lsadm:lsadm /usr/local/lsws/phpbuild/php-5.3.5/memcache-2.2.6
==============================================
MemCache extension build complete
==============================================
Sat Jan 22 06:25:28 EST 2011
**COMPLETE**
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1296856348.4.progress
Preparing all source code for building PHP 5.3.5 with LSAPI
php-5.3.5.tar.gz already downloaded, use the saved copy.
Extracting PHP source archive: tar -zxf php-5.3.5.tar.gz
Retrieving Suhosin patch from http://download.suhosin.org/suhosin-patch-5.3.5-0.9.10.patch.gz
**ERROR** Could not extract Suhosin patch
Code:
**LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1296856348.4.log
=============================================================
Preparing all source code for building PHP 5.3.5 with LSAPI
=============================================================
Fri Feb 4 16:52:28 EST 2011
Changing to build directory /usr/local/lsws/phpbuild
php-5.3.5.tar.gz already downloaded, use the saved copy.
Extracting PHP source archive: tar -zxf php-5.3.5.tar.gz
Suhosin is enabled
Retrieving Suhosin patch from http://download.suhosin.org/suhosin-patch-5.3.5-0.9.10.patch.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 345 100 345 0 0 1040 0 --:--:-- --:--:-- --:--:-- 1040
100 345 100 345 0 0 1040 0 --:--:-- --:--:-- --:--:-- 0
Extracting Suhosin patch: gunzip -f suhosin-patch-5.3.5.patch.gz
gunzip: suhosin-patch-5.3.5.patch.gz: not in gzip format
**ERROR** Could not extract Suhosin patch