Received: (qmail 68518 invoked by uid 501); 6 Mar 2002 00:52:45 -0000 Message-Id: <20020306005245.68517.qmail@apache.org> Date: 6 Mar 2002 00:52:45 -0000 From: Johnny Lam Reply-To: jlam@netbsd.org To: submit@bugz.apache.org Subject: apachectl and apxs have incorrect paths when using a custom layout X-Send-Pr-Version: 3.110 >Number: 10052 >Category: build >Synopsis: apachectl and apxs have incorrect paths when using a custom layout >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Mar 06 03:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: jlam@netbsd.org >Release: 2.0.32 beta >Organization: apache >Environment: NetBSD-1.5ZA + gcc-2.95.3 >Description: The apachectl and apxs scripts contain incorrect paths when using a custom layout. Suppose the layout includes: sbindir: /funky/path/to/sbindir installbuilddir: /another/funky/path/to/build runtimedir: /yet/another/funky/path/to/runtimedir Then apachectl will still look for $prefix/bin/httpd and apxs will still look for the Apache build files in $prefix/build. >How-To-Repeat: >Fix: Apply the patch at ftp://ftp.netbsd.org/pub/incoming/jlam/apache.diff to the current httpd-2.0 sources (2002-03-05) and move the following files: support/apachectl.in --> support/apachectl.sh.in support/apxs.in --> support/apxs.pl.in support/dbmmanage.in --> support/dbmmanage.pl.in The patch adds rules to create the scripts from the *.sh and *.pl files, and adds logic to rules.mk to install scripts as part of local-install. These changes based on the patches in the NetBSD Packages Collection. >Release-Note: >Audit-Trail: >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! ]