| From: | Fabian Aguirre | Date: | Tue, 20 May 2003 07:56:20 +0000 |
| Subject: | |||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10922@lists.php.net to get a copy of this message | ||
Hi all!
Iam trying to compile apache 1.3.27 and php 4.3.1
but iam allready stuck in the compile of apache, i get an error when iam
trying to compile apache and i will presumably get it when its time for
php.
My gcc version is 3.2.3, does someone now how to compile apache with gcc 3
??.
./configure --prefix=/usr/local/apache --enable-module=i
nfo --enable-module=so --enable-shared=max
Configuring for Apache, Version 1.3.27
+ 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 NOT-AVAILABLE
+ 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
./apaci -o help
ers/dummy helpers/dummy.c -lm
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!