www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bill tonkin <...@clinton.com>
Subject config/8519: If a users MAKEFLAGS environmental variable includes an "e" than CC=gcc ./configure will fail
Date Fri, 12 Oct 2001 13:14:01 GMT

>Number:         8519
>Category:       config
>Synopsis:       If a users MAKEFLAGS environmental variable includes an "e" than CC=gcc
./configure will fail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Oct 12 06:20:01 PDT 2001
>Originator:     wmt@clinton.com
>Release:        1.3.22
any unix
If a users MAKEFLAGS include "e" and they run "./configure" things work fine.
If a users MAKEFLAGS include "e" and they run "CC=gcc ./configure" things fail
as follows:

$ export MAKEFLAGS=e
$ CC=gcc ./configure
Configuring for Apache, Version 1.3.22
 + 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 Solaris 270 platform
 + 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
** 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 ..;       -o helpers/dummy helpers/dummy.c   -lsocket -lnsl
sh: -o: execute permission denied
*** Error code 1
make: Fatal error: Command failed for target `dummy'
Current working directory /users/wmt/apache_1.3.22/src/helpers
======== Error Output for sanity check ========
============= End of Error Report =============

see Full Description
I suggest having the top level configure script explicitly check the MAKEFLAGS 
environmental variable and report on settings which are known to cause problems,
for example MAKEFLAGS settings that contain "e".
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message