[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 16:23:13 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 16:23 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.
======================================================================
----------------------------------------------------------------------
(0106944) tzafrir (manager) - 2009-06-24 16:23
https://issues.asterisk.org/view.php?id=15391#c106944
----------------------------------------------------------------------
Why do you want a different path?
See the following patch used in the official packages, as well as its
rationale:
http://patch-tracking.debian.net/patch/series/view/dahdi-tools/1:2.2.0~rc3-1/zaptel_perl
I strongly suggest you stick with the recommendation of the distro rather
than starting to modify PERL5LIB.
Issue History
Date Modified Username Field Change
======================================================================
2009-06-24 16:23 tzafrir Note Added: 0106944
======================================================================
More information about the asterisk-bugs
mailing list