[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:16 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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.

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

---------------------------------------------------------------------- 
 (0106942) qwell (administrator) - 2009-06-24 15:49
 https://issues.asterisk.org/view.php?id=15391#c106942 
---------------------------------------------------------------------- 
This isn't a configure script bug.  The xpp/Makefile that installs the perl
modules gets the perl directory using `perl -V:sitelib`.

I suspect that this behavior is correct and that this issue should be
closed.

Assigned to tzafrir who maintains the Debian packages and also wrote this
code. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-24 15:49 qwell          Note Added: 0106942                          
======================================================================




More information about the asterisk-bugs mailing list