Received: (qmail 33765 invoked by uid 501); 20 May 2001 20:59:23 -0000 Message-Id: <20010520205923.33764.qmail@apache.org> Date: 20 May 2001 20:59:23 -0000 From: Joshua Slive Reply-To: slive@apache.org To: submit@bugz.apache.org Subject: --prefix and --with-layout do not interact nicely X-Send-Pr-Version: 3.110 >Number: 7755 >Category: build >Synopsis: --prefix and --with-layout do not interact nicely >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun May 20 14:00:00 PDT 2001 >Closed-Date: Sun Sep 02 20:05:20 PDT 2001 >Last-Modified: Sun Sep 02 20:05:20 PDT 2001 >Originator: slive@apache.org >Release: 2.0.18 >Organization: >Environment: Linux 2.2.17-14smp #1 >Description: When --prefix and -with-layout are used together, the prefix specified in the config.layout file overrides the prefix specified on the config line. The proper behaviour would be the reverse >How-To-Repeat: ./configure --prefix=/tmp/ap --enable-layout=GNU make make install will cause Apache to try to install most of its files under /usr/local. (The lib and include files are installed in the correct location under /tmp/ap). >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: rbb State-Changed-When: Sun Sep 2 20:05:20 PDT 2001 State-Changed-Why: I have fixed this problem in CVS. The problem was that autoconf sets the prefix variable at strange times while processing the request, and we try to set it as well while processing --with-layout. The fix was to keep track of the value set using --prefix, and make sure that it is reset after the --with-layout argument is handled. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]