EasyApache: Compile Problems

trparky

Well-Known Member
Apr 23, 2003
184
1
168
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.
 

trparky

Well-Known Member
Apr 23, 2003
184
1
168
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
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.
 

trparky

Well-Known Member
Apr 23, 2003
184
1
168
[email protected] [/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.
 

trparky

Well-Known Member
Apr 23, 2003
184
1
168
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
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,488
35
158
cPanel Access Level
DataCenter Provider
trparky said:
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

ming doesn't work on x86_64.

I know sablot has some problems as well.
 

trparky

Well-Known Member
Apr 23, 2003
184
1
168
configure: error: zziplib module requires zzlib >= 0.10.6.
 

trparky

Well-Known Member
Apr 23, 2003
184
1
168
/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.
 
Last edited:

trparky

Well-Known Member
Apr 23, 2003
184
1
168
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/lib64/libc-client.so.0: undefined symbol: mm_dlog
 

PbG

Well-Known Member
Mar 11, 2003
247
0
166
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 ...
 

laborspy

Well-Known Member
Feb 7, 2004
94
0
156
disable the imap support when you compile php and that cleared my problem up.

-Jason
 
Last edited: