The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache: Compile Problems

Discussion in 'EasyApache' started by trparky, Aug 17, 2005.

  1. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    x86_64 detected.. patching/rebuilding php configure.....New Libtool detected.. applying patch!
    patching file acinclude.m4
    Hunk #1 succeeded at 783 with fuzz 2 (offset -38 lines).
    You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
    Forcing buildconf
    using default Zend directory
    buildconf: checking installation...
    buildconf: autoconf version 2.59 (ok)
    buildconf: Your version of autoconf likely contains buggy cache code.
    Running cvsclean for you.
    To avoid this, install autoconf-2.13 and automake-1.5.
    rebuilding aclocal.m4
    rebuilding configure
    rebuilding main/php_config.h.in
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    Done


    configure php-4.4.0...(--enable-pic --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --with-ming=../ming-0.2a --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pgsql=/usr --with-pspell --enable-xslt --with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-zip --with-zlib)..............................Done
    configure: error: Please reinstall ming distribution. libming.(a|so) not found.
     
  2. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    I can't get it to compile at all, nothing I do gets it to compile. I am still stuck on 4.3.11 with limited modules even though I have run EasyApache 8 times and told it I wanted 4.4.0! Someone give me some advice.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Maybe it's an issue with the "x86_64" procedure, of which I have no experience.

    The first thing I would always suggest is to make sure that you:

    rm -Rfv /home/cpapachebuild

    As that often resolves a lot of problems before you run easyapache. If that doesn't help, I'd suggest a support ticket with cPanel is in order as they may not see too many x86_64 build issues.
     
  4. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    root@server [/usr/lib64]# /usr/local/bin/php -v
    PHP 4.3.11 (cli) (built: Aug 17 2005 11:18:47)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

    The build date is right around the time that CPanel was installed on the server, so something is not happening. Either the compile is failing or the binary isn't being overwritten with the new.
     
  5. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    Again it happened! It won't install!

    Applying CURL curl_formfree patch
    patching file ext/curl/curl.c
    Hunk #1 succeeded at 590 (offset 45 lines).
    Hunk #2 succeeded at 904 (offset 19 lines).
    configure php-4.4.0...(--enable-pic --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pgsql=/usr --with-pspell --enable-xslt --with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-zip --with-zlib)..........................................Done
    configure: error: Sablotron version 0.96 or greater required.
    make -j 2 php-4.4.0...(clean)....Done
    make -j 2 php-4.4.0.......Done
    make php-4.4.0...(install)....Done
    /etc/rc.d/init.d/httpd start: httpd started
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    ming doesn't work on x86_64.

    I know sablot has some problems as well.
     
  7. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    configure: error: zziplib module requires zzlib >= 0.10.6.
     
  8. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    /usr/bin/ld: skipping incompatible /usr/local/flash/lib/libswf.a when searching for -lswf
    /usr/bin/ld: cannot find -lswf

    What is going on here? CPanel specifically told us that CPanel was compatible with 64-bit, but here we are running into wall after wall after wall. This doesn't look like it is compatible.

    Next time you tell customers that something is compatible, do tests to confirm it. Don't just tell us it to get us off your back. Or at least tell us what works and doesn't work. Don't leave us having to experiment to get things working.
     
    #8 trparky, Aug 17, 2005
    Last edited: Aug 18, 2005
  9. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/lib64/libc-client.so.0: undefined symbol: mm_dlog
     
  10. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Try 4.3.10 I had problems compiling 4.3.11 and was forced to backdown to 4.3.10. Mind you I'm not running a 64bit server. However it's worth a try what's one more recompilation ...
     
  11. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Try /scripts/easyapache option 4 and php 4.4.1
     
  12. laborspy

    laborspy Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    disable the imap support when you compile php and that cleared my problem up.

    -Jason
     
    #12 laborspy, Dec 22, 2005
    Last edited: Dec 22, 2005
Loading...

Share This Page