CustomApache/GCC Problem


Verified User
Apr 14, 2004
Brick, NJ
Hi all, about a week or 2 ago, I had a HDD go bad on a server, and it took a bit of data with it. I managed to get most of it back using backups (I love automated backups)... My problem is, since then, I've been running into little problems and here is the latest. When trying to compile apache, using the customapache script, I get this error:

Configuring mod_ssl/2.8.27 for Apache/1.3.36
 + Apache location: ../apache_1.3.36 (Version 1.3.36)
 + OpenSSL location: /usr
 + Auxiliary patch tool: ./etc/patch/patch (local)
./configure:Error: Building of 'patch' tool failed:
backupfile.h:35: error: storage class specified for parameter `backup_type'
backupfile.h:36: error: storage class specified for parameter `simple_backup_suffix'
backupfile.c:69: error: parameter `backup_type' is initialized
backupfile.c:69: error: redefinition of parameter 'backup_type'
backupfile.h:35: error: previous definition of 'backup_type' was here
backupfile.c:69: error: `none' undeclared (first use in this function)
backupfile.c:69: error: (Each undeclared identifier is reported only once
backupfile.c:69: error: for each function it appears in.)
backupfile.c:69: confused by earlier errors, bailing out
make: *** [backupfile.o] Error 1
My system is an AMD Athlon 64 FX 3400, with 1.5GB ram, and 400GB HDD.

The system is running CentOS 4.3 (fully up to date) with the "" CentOS Plus Kernel.

I just uninstalled GCC (and all it's dependencies) via yum, ran a "yum clean all" and then re-installed all of them just to make sure that GCC didn't get corrupted, and I still have the problem.

Does anyone have ANY Ideas as to what my problem could be, or perhaps point me in the right direction?

Oh yeah, just incase the archives were corrupted, I did a rm -rf *.tar.gz in the /usr/local/directadmin/customapache/ directory, as well as a ./build clean, followed by ./build update, in hopes of fixing any errors cuased by archive corruption.


Robert E. Plummer
PP&F NetWorks, LLC