You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Thomas Reagan <tr...@interactiveedge.com> on 2002/02/20 17:52:18 UTC
build/9888: ./configure ignores --sysconfdir and --localstatedir
>Number: 9888
>Category: build
>Synopsis: ./configure ignores --sysconfdir and --localstatedir
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Feb 20 09:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: treagan-ml@interactiveedge.com
>Release: 2.0.32
>Organization:
apache
>Environment:
RedHat Linux 7.2, Linux 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
>Description:
If I run ./configure --prefix=/opt/apache --sysconfdir=/etc/opt/apache --localstatedir=/var/opt/apache, configure ignores the last two. Opening config_vars.mk, I see:
--snip--
abs_srcdir = /opt/apache/src/current
bindir = $(exec_prefix)/bin
sbindir = $(exec_prefix)/bin
cgidir = $(datadir)/cgi-bin
logfiledir = $(localstatedir)/logs
exec_prefix = $(prefix)
datadir = $(prefix)
localstatedir = $(prefix)
mandir = $(prefix)/man
libexecdir = $(exec_prefix)/modules
htdocsdir = $(datadir)/htdocs
manualdir = $(datadir)/manual
includedir = $(prefix)/include
errordir = $(datadir)/error
iconsdir = $(datadir)/icons
sysconfdir = $(prefix)/conf
installbuilddir = $(datadir)/build
other_targets =
progname = httpd
prefix = /opt/apache
--snip--
which forces me to edit this file by hand.
>How-To-Repeat:
Download httpd-2.0.32-beta.tar.gz, tar -xzf,
./configure --prefix=/opt/apache --sysconfdir=/etc/opt/apache --localstatedir=/var/opt/apache
>Fix:
>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! ]