New Server Apache Not Compiling Help!

Kloe

Registered
Nov 27, 2004
2
0
151
I just got a new server... with CentOS 3.3 and WHM 9.9.8 cPanel 9.9.8-R119. Along with other problems that have been fixed I am having one problem that the ISP support seems not to want to fix and I can not understand.

Here is the errors I am getting.

Untarring php....Done
Applying CURL curl_formfree patch
patching file ext/curl/curl.c
Hunk #1 succeeded at 563 (offset 18 lines).
Hunk #2 succeeded at 891 (offset 6 lines).

configure php-4.3.9...(--with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-mcrypt --enable-magic-quotes --with-mysql --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . Done
configure: error: cannot find output from lex; giving up

make php-4.3.9...(clean).... Done

make php-4.3.9....... Done

make php-4.3.9...(install)...Done
/etc/rc.d/init.d/httpd start: httpd started

configure php-4.3.9...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-mcrypt --enable-magic-quotes --with-mysql --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . Done
configure: error: cannot find output from lex; giving up

make php-4.3.9...(clean)...Done

make php-4.3.9......Done

make php-4.3.9...(install).... Done
initfpsuexec: using apache 1.x support
PHP version file is up to date
./build all
./build install
initfpsuexec: using apache 1.x support



along with


warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/update/packages/XFree86-devel-4.3.0-69.EL.i386.rpm
Error: You may want to run yum clean or remove the file:
/var/cache/yum/update/packages/XFree86-devel-4.3.0-69.EL.i386.rpm
Error: You may also check that you have the correct GPG keys installed


HTML seems to show fine, PHP files give a page download rather then showing the page....

any help would be greatly appreciated. :(
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You can find out exactly where the problem is by looking in:
/home/cpapachebuild/buildapache/build-log/

It contains all the log and error files for each app compilation during the easyapache build. Yours is failing during the PHP installation, so check the PHP logs and error files for exact problem.
 
R

Ramsy

Guest
Code:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/update/packages/XFree86-devel-4.3.0-69.EL.i386.rpm
Error: You may want to run yum clean or remove the file: 
/var/cache/yum/update/packages/XFree86-devel-4.3.0-69.EL.i386.rpm
Error: You may also check that you have the correct GPG keys installed

rpm --import http://mirror.caosity.org/centos-3/RPM-GPG-KEY-CentOS-3