You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by bill tonkin <wm...@clinton.com> on 2001/10/12 15:14:01 UTC

config/8519: If a users MAKEFLAGS environmental variable includes an "e" than CC=gcc ./configure will fail

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Oct 12 06:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     wmt@clinton.com
>Release:        1.3.22
>Organization:
apache
>Environment:
any unix
>Description:
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 =============

 Aborting!
>How-To-Repeat:
see Full Description
>Fix:
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".
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@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!     ]