Trobules Compiling PHP 5.3 On CentOS

Discussion in 'Install/Configuration' started by mrgilb, Jun 28, 2010.

  1. mrgilb

    mrgilb New Member

    Below I will post what my screen says I am so lost in this. I am though surprised I have gotten this far.

    I think its something to do with xcache but I'm not sure.

    Just posting cause maybe someone will say I know what that is. Just maybe.:)

  2. mrgilb

    mrgilb New Member

    tep 3 : Preparing for building PHP 5.3.2 Binary
    Stopped due to Error. Please manually fix it.

    Main Status:

    **MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1277746181.6.progress
    Preparing all source code for building PHP 5.3.2 with LSAPI
    php-5.3.2.tar.gz already downloaded, use the saved copy.
    Extracting PHP source archive: tar -zxf php-5.3.2.tar.gz
    Retrieving Suhosin patch from url/suhosin-patch-5.3.2-0.9.9.1.patch.gz
    Patching source with Suhosin patch
    **ERROR** Could not patch source with Suhosin patch

    Detailed Log:

    **LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1277746181.6.log
    =============================================================
    Preparing all source code for building PHP 5.3.2 with LSAPI
    =============================================================
    Mon Jun 28 19:29:41 CEST 2010

    Changing to build directory /usr/local/lsws/phpbuild
    php-5.3.2.tar.gz already downloaded, use the saved copy.
    Extracting PHP source archive: tar -zxf php-5.3.2.tar.gz

    Suhosin is enabled
    Retrieving Suhosin patch from url/suhosin-patch-5.3.2-0.9.9.1.patch.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    2 40847 2 1231 0 0 8005 0 0:00:05 --:--:-- 0:00:05 8005
    100 40847 100 40847 0 0 258k 0 --:--:-- --:--:-- --:--:-- 37.7M

    Extracting Suhosin patch: gunzip -f suhosin-patch-5.3.2.patch.gz

    Patching source with Suhosin patch
    /usr/local/lsws/phpbuild/buildphp_1277746181.6.prep.sh: line 128: patch: command not found
    **ERROR** Could not patch source with Suhosin patch
  3. NiteWave

    NiteWave Administrator

    please install "patch" utility.

    if it's centOS,
    "yum search patch"
    to see which package you'll install.

    the package name may be patch.i386 or patch.x86_64

    then

    yum install patch.i386 (or patch.x86_64)

Share This Page