[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 17:46:22 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 17:46 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.

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

---------------------------------------------------------------------- 
 (0106950) Hendrik Schaink (reporter) - 2009-06-24 17:46
 https://issues.asterisk.org/view.php?id=15391#c106950 
---------------------------------------------------------------------- 
Thank you for pointing out that Debian-specific patch for Zaptel. It shows
how to easily assign the Debian-specific PERL modules destination directory

/usr/share/perl/5.10.0/.

Now I can go ahead and generate Asterisk debs. Thank you for sharing your
knowledge. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-24 17:46 Hendrik SchainkNote Added: 0106950                          
======================================================================




More information about the asterisk-bugs mailing list