easyapache fails to build

dracus

Registered
Aug 21, 2006
2
0
151
Hello everyone,

I am new to this world, and after throughly borking several servers using easyapache I have nearly given up hope it actually works. I did at least learn the verbose option, and the if build fails keep it etc. I am attempting to build apache so that I can do two thing run scuttle, and some custom site software. The custom software doesn't require anything special gd, curl, ttf, basic stuff. Looks like the scuttle requires some different stuff(gettext, mbstring)

Anyway long story short, all attempts at compiling apache/php have resulted in a broken system. Thanks to the nice people at cpanel, I have a working system (minus a couple modules I need).

I attempted a build of apache..here is the verbose output at the end.

Code:
<=== src/modules/extra
make[4]: *** No rule to make target `all'.  Stop.
make[3]: *** [all] Error 1
===> src/modules/php4
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37'
make: *** [build] Error 2
        Installing Apache 1...
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf/) whose target does not exist at /usr/local/cpanel/Cpanel/cPanelF                                          unctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf/ssl.crt) whose target does not exist at /usr/local/cpanel/Cpanel/                                          cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf/ssl.crt) whose target does not exist at /usr/local/cpanel/Cpanel/                                          cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf/ssl.crt) whose target does not exist at /usr/local/cpanel/Cpanel/                                          cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf/ssl.crt) whose target does not exist at /usr/local/cpanel/Cpanel/                                          cPanelFunctions.pm line 755
make[1]: Entering directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37'
===> src
make[2]: Entering directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37'
make[3]: Entering directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37/src'
===> src/regex
make[4]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[4]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[4]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[4]: Nothing to be done for `all'.
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
make[5]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/ssl
make[5]: Nothing to be done for `all'.
<=== src/modules/ssl
===> src/modules/extra
make[5]: Nothing to be done for `all'.
<=== src/modules/extra
===> src/modules/php4
make[5]: *** No rule to make target `all'.  Stop.
make[4]: *** [all] Error 1
make[3]: Leaving directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37/src'
make[3]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37'
make[2]: *** [build-std] Error 2
make[1]: Leaving directory `/home/cpeasyapache/work/cPanelEA/Apache1.pm.build/apache_1.3.37'
make[1]: *** [build] Error 2
make: *** [install-all] Error 2
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf.1.orig/) whose target does not exist at /usr/local/cpanel/Cpanel/                                          cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf.1.orig/ssl.crt) whose target does not exist at /usr/local/cpanel/                                          Cpanel/cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf.1.orig/ssl.crt) whose target does not exist at /usr/local/cpanel/                                          Cpanel/cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf.1.orig/ssl.crt) whose target does not exist at /usr/local/cpanel/                                          Cpanel/cPanelFunctions.pm line 755
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 183.
Copying a symlink (/usr/local/apache/conf.1.orig/ssl.crt) whose target does not exist at /usr/local/cpanel/                                          Cpanel/cPanelFunctions.pm line 755
make install failed to build conf/, restoring and aborting... at /usr/local/cpanel/Cpanel/EasyApache.pm lin                                          e 884.
Everything else before seems fine. Here is the current working config from phpinfo

Code:
./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-zlib'
Any assitstance in overcoming those above errors would be greately apreciated.
 
Last edited:

dracus

Registered
Aug 21, 2006
2
0
151
E529

I was running E529.

I ended up rebuilding php from command line and now everything is working fine now. The problem seems to be related to easyapche's inablity to rebuild php.

Being a complete newbie here, I had no idea that rebuilding php from scratch was so simple.

1. download php source
2. untar files
3. ./configure with the required sitiches
4. make
5. make install

All done :)