./build all gcc error

quackweb

Verified User
Joined
Nov 16, 2003
Messages
170
Location
Denver, Colorado
Hello Again,

I'm having problems with the ./build all command. My apache is not working on a fresh Fedora Core 2 machine. I know I fixed this problem before with ./build all but not I get this new error I have never had before:

[root@server customapache]# ./build all
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/customapache/apache_1.3.31.tar.gz
Extracting /usr/local/directadmin/customapache/apache_1.3.31.tar.gz...
Done. Applying patches...
patching file ./mod_frontpage.c
patching file ./src/include/httpd.h
Hunk #1 succeeded at 758 (offset -48 lines).
patching file ./src/main/http_request.c
Hunk #1 succeeded at 145 (offset -43 lines).
Hunk #2 succeeded at 584 (offset 6 lines).
Hunk #3 succeeded at 546 (offset -43 lines).
patching file ./src/main/util.c
Hunk #1 succeeded at 665 (offset -43 lines).
patching file ./src/main/util_script.c
Hunk #1 succeeded at 1131 (offset -64 lines).
Increasing hard limit to 32768...
Setting up mod_ssl...
Found /usr/local/directadmin/customapache/mod_ssl-2.8.19-1.3.31.tar.gz
Extracting /usr/local/directadmin/customapache/mod_ssl-2.8.19-1.3.31.tar.gz...
Configuring mod_ssl-2.8.19-1.3.31...
Configuring mod_ssl/2.8.19 for Apache/1.3.31
+ Apache location: ../apache_1.3.31 (Version 1.3.31)
+ OpenSSL location: /usr
+ Auxiliary patch tool: ./etc/patch/patch (local)
./configure:Error: Building of 'patch' tool failed:
-------------------------------------------------
patch/rename.c
patch/util.c
patch/util.h
patch/version.c
patch/version.h
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
make: *** No targets specified and no makefile found. Stop.
-------------------------------------------------
Hint: Either try to build 'patch' under etc/patch/
Hint: manually and re-run this 'configure' script
Hint: or provide us the path to your vendor 'patch'
Hint: program via the --with-patch=FILE option (but
Hint: expect perhaps failures when applying patches!)

*** There was an error while trying to configure apache+mod_ssl. Check the confi
gure.apache_ssl file

Any ideas?
 
More Information:

This is from when I tried to compile apache manually. Once again I can assure you gcc is installed, why does it insist it isn't?!

[root@server apache_1.3.31]# ./configure
Configuring for Apache, Version 1.3.31
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dum
my.c -lm
collect2: ld terminated with signal 7 [Bus error]
make: *** [dummy] Error 1
============= End of Error Report =============

Aborting!
[root@server apache_1.3.31]#
 
Are they in your default path?

You can check with the whereis command.

Jeff
 
Back
Top