Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    78

    Default Hunk error while compiling Apache

    Anyone have idea of the Hunk errors while compiling Apache through buildapache?

    Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lc-client -lssl -lcrypto -lcrypt -lming -lm -lmcrypt -lltdl -lcrypt -lpam -lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypt -lcrypt -o sapi/cli/php
    gcc: sapi/cli/php_cli.o: No such file or directory
    gcc: sapi/cli/getopt.o: No such file or directory
    make: *** [sapi/cli/php] Error 1
    /bin/sh /home/cpapachebuild/buildapache/php-4.3.2/libtool --silent --preserve-dup-deps --mode=link gcc -g -O2 -prefer-non-pic -static -rpath /home/cpapachebuild/buildapache/php-4.3.2/libs -L/usr/X11R6/lib -L/usr/kerberos/lib -R /usr/X11R6/lib -R /usr/kerberos/lib ext/zlib/zlib.lo .....
    -lkrb5 -lk5crypto -lcom_err -lcrypt -lcrypt -o libphp4.la
    Installing PHP SAPI module
    Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20020429/
    Installing PEAR environment: /usr/lib/php/
    [PEAR] Archive_Tar - already installed: 0.9
    [PEAR] Console_Getopt - already installed: 1.0
    [PEAR] PEAR - already installed: 1.1
    [PEAR] DB - already installed: 1.3
    [PEAR] HTTP - already installed: 1.2
    [PEAR] Mail - already installed: 1.0.1
    [PEAR] Net_SMTP - already installed: 1.0
    [PEAR] Net_Socket - already installed: 1.0.1
    [PEAR] XML_Parser - already installed: 1.0.1
    [PEAR] XML_RPC - already installed: 1.0.4
    Installing build environment: /usr/lib/php/build/
    Installing header files: /usr/include/php/
    Installing helper programs: /usr/bin/
    program: phpize
    program: php-config
    program: phpextdist
    x - creating lock directory
    x - SKIPPING /usr/local/frontpage/version5.0/apache-fp/fpexe2.patch (file already exists)
    Patching fpexe2.patch
    patching file fpexe.c
    Hunk #1 FAILED at 29.
    Hunk #2 FAILED at 172.
    Hunk #3 FAILED at 231.
    Hunk #4 FAILED at 246.
    Hunk #5 FAILED at 262.
    Hunk #6 FAILED at 273.
    Hunk #7 FAILED at 282.
    7 out of 7 hunks FAILED -- saving rejects to file fpexe.c.rej

    Scanning suexec_log...Done
    Attempting to restart http
    cPanel.net Support Ticket Number:

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    3

    Default

    Is it possible that the file it was attempting to patch was already patched? That's what it looks like. I take it Apache is working regardless?

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Mar 2002
    Posts
    78

    Default

    Yeah its looks same to me, just wanted to confirm if something oversight have happened.

    Though Apache is working fine on that server thats why i'm cool

    cPanel.net Support Ticket Number:

  4. #4
    Registered User
    Join Date
    Aug 2004
    Posts
    3

    Default

    Im having the same error message. Apache runs great but php isnt working... Any ideas?

Similar Threads & Tags
Similar threads

  1. compiling apache error
    By mc4ver in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-30-2010, 11:43 AM
  2. error when compiling apache!
    By uops in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-08-2007, 03:21 PM
  3. Error Compiling Apache With Java
    By IRCBrasil in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-25-2006, 11:43 AM
  4. Compiling Apache
    By sunyata in forum New User Questions
    Replies: 1
    Last Post: 07-29-2004, 03:33 PM
  5. Error Compiling Apache with PHP - MHASH
    By equivity in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-30-2003, 06:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube