[asterisk-bugs] [DAHDI-tools 0015391]: Configuration directive --prefix=/usr fails to apply to menuselect subdirectory

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 24 15:49:09 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15391 
====================================================================== 
Reported By:                Hendrik Schaink
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-tools
Issue ID:                   15391
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-06-24 15:13 CDT
Last Modified:              2009-06-24 15:49 CDT
====================================================================== 
Summary:                    Configuration directive --prefix=/usr fails to apply
to menuselect subdirectory
Description: 
On Debian Lenny v5.0.1, when configuring the (dfsg) configuration in 
/usr/src/dahdi-tools-2.2.0/ like this:
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--infodir=/usr/share/info
the "--prefix=/usr" directive has no influence on the destination
directory for Perl modules such as Chans.pm, Span.pm.

I would expect / appreciate the directive "--prefix=/usr" to be followed
down into all subsequent configuration runs, including the auto-invoked
ones. 
I'm trying to make Debian packages following dfsg guidelines for use on a
pure production machine _without_ development environment.

The result is that in /usr/src/dahdi-tool-2.2.0/menuselect/mxml/config.log
the invocation command defaults to "--prefix=/usr/local" and thus Perl
modules are installed into "/usr/local/share/perl/5.10.0/" rather than the
expected 
"/usr/share/perl/5.10.0/"

Could this behaviour be related to the fact that GNU Autoconf versions
2.61 are used for ./configure and ./menuselect/configure while version 2.59
is used in ./menuselect/mxml/configure ? I am afraid I'm not knowledgeable
enough to know the difference between the version.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-24 15:49 qwell          Assigned To               => tzafrir         
======================================================================




More information about the asterisk-bugs mailing list