Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Apache compilation failed' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Apache compilation failed
Authored by: splacknuck on Dec 03, '01 02:42:30PM
What do I make of this? Developer tools are installed. No experience whatsoever.
./configure --enable-module=most --enable-shared=max Configuring for Apache, Version 1.3.22 + using installation path layout: Darwin (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support ./Configure: cannot allocate memory: sed [150] ./Configure: cannot allocate memory: sed [151] Creating Makefile in src + 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 + 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. cd ..; cc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -o helpers/dummy helpers/dummy.c /usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field make: *** [dummy] Error 1 ======== Error Output for sanity check ======== ============= End of Error Report ============= Aborting!


[ Reply to This | # ]
Apache compilation failed
Authored by: splacknuck on Dec 05, '01 02:23:35AM

Someone suggested updating the Developer Tools to 10.1. I'll give it a try, but I have my doubts -- it has worked before under varios flavours of 10.x with the original Dev-Tools (I suppose). Or have there been various Dev-Tools updates?
I'll keep posting here if I find a solution.



[ Reply to This | # ]
Apache compilation finally worked!
Authored by: splacknuck on Dec 06, '01 07:38:44AM

Tell you what: it was the version of OS-X-Dev-Tools! After several attempts at downloading the 187 MB image, I got rid of the old version, installed the 10.1 version and then it finally worked. The importance of the Developer Tools' version should be stressed at the beginning of such a tutorial.

We're Mac-users after all!



[ Reply to This | # ]