Compiling Apache 1.3.9 on MacOX 1.0


Whenever I try to compile Apache 1.3.9 on MacOS X I get the following error message:

Using config file: Configuration
Creating Makefile
+ configured for Darwin platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E -traditional-cpp
+ checking for system header files
+ adding selected modules
+ 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 ..; cc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -o helpers/dummy helpers/dummy.c
============= End of Error Report =============


...which I think is due to the fact that the TestPlatform fails. By the way, cc is installed on my machine.

Any help would be much appreciated.

Philippe de Rochambeau

Mac Write
I had this problem too. the simple asnswer is to install the dev tools, which will give you all the darwin compiler tools.

I did the stepwise steps, but and still getting apache 1.3.14 I even tried ripping out apache and restarting the computer and server and still am getting apache 1.3.14 config file setting even though I deleted that file 4 restarts ago.