Bug 14887 - Empty Makefile when building (./configure)
Summary: Empty Makefile when building (./configure)
Alias: None
Product: Apache httpd-1.3
Classification: Unclassified
Component: Build (show other bugs)
Version: 1.3.27
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: ErrorMessage
: 14886 (view as bug list)
Depends on:
Reported: 2002-11-27 09:29 UTC by Nicklas Bondesson
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Nicklas Bondesson 2002-11-27 09:29:14 UTC

I have a problem compiling, the compile operation ends up with an empty 
Makefile. I think the problem is sed.. look below:

Configuring for Apache, Version 1.3.27
 + using installation path layout: Apache (config.layout)
Creating Makefile
sed: -e expression #44, char 58: Unknown option to 's'
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
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Comment 1 Thom May 2002-11-27 11:42:25 UTC

*** This bug has been marked as a duplicate of 14886 ***
Comment 2 Thom May 2002-11-27 11:44:37 UTC
Hrm. Should have done this the other way round.
Comment 3 Thom May 2002-11-27 11:45:08 UTC
*** Bug 14886 has been marked as a duplicate of this bug. ***
Comment 4 Nicklas Bondesson 2002-12-17 17:18:43 UTC

I have found the problem - I had two different versions of gcc / cpp installed 
on my system (2.95.4 and 3.0). The fix is to remove the gcc 3.0 binary and 
libraries from the system and only use the 2.95.4 version.


The following packages will be REMOVED:
  cpp-3.0 g++-3.0 gcc-3.0 gcc-3.0-base libstdc++3 libstdc++3-dbg libstdc++3-
dev libstdc++3-doc
0 packages upgraded, 0 newly installed, 8 to remove and 0  not upgraded. Need 
to get 0B of archives. After unpacking 49.4MB will be freed. Do you want to 
continue? [Y/n] y (Reading database ... 19853 files and directories currently 
installed.) Removing libstdc++3-dbg ... Removing libstdc++3-doc ... Removing 
g++-3.0 ... Removing libstdc++3-dev ... Removing gcc-3.0 ... Removing cpp-
3.0 ... Removing libstdc++3 ... Removing gcc-3.0-base ...