[asterisk-bugs] [JIRA] (DAHTOOL-70) Compilation fails on CentOS 7 (file version 5.11)
Sean Bright (JIRA)
noreply at issues.asterisk.org
Mon Feb 22 09:18:56 CST 2016
[ https://issues.asterisk.org/jira/browse/DAHTOOL-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Bright closed DAHTOOL-70.
------------------------------
Resolution: Fixed
Fixed by http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=commit;h=6057ef25e984a2c7f8327b872233ba610b9aabe6
It doesn't look like the DADHI developers are actually using JIRA anymore. Is there a new location to report bugs?
> Compilation fails on CentOS 7 (file version 5.11)
> -------------------------------------------------
>
> Key: DAHTOOL-70
> URL: https://issues.asterisk.org/jira/browse/DAHTOOL-70
> Project: DAHDI-Tools
> Issue Type: Bug
> Security Level: None
> Environment: Version 2.11.0, CentOS Linux release 7.2.1511 (Core), Linux 3.10.0-327.4.4.el7.x86_64, file command 5.11-31.el7
> Reporter: Xabier de Zuazo
> Assignee: Wendell Thompson
> Severity: Minor
> Attachments: 0001-xpp-Makefile.am-Fix-make-install-for-newer-versions-.patch
>
>
> Compiling version **2.11.0** from sources seems to fail at least on CentOS 7.
> The error:
> {noformat}
> $ make
> [...]
> # make install
> [...]
> /usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or directory
> /usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory
> /usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory
> /usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory
> /usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory
> /usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or directory
> /usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory
> {noformat}
> The issue is due to the description for Perl scripts reported by the `file` command version 5.11:
> {noformat}
> [root at centos-6.7 xpp]# file xpp_blink
> xpp_blink: a /usr/bin/perl -w script text executable
> [root at centos-6.7 xpp]# file --version
> file-5.04
> {noformat}
> {noformat}
> [root at centos-7.2 xpp]# file xpp_blink
> xpp_blink: Perl script, ASCII text executable
> [root at centos-7.2 xpp]# file -version
> file-5.11
> {noformat}
> Because of this man pages for perl scripts are not generated and `make install` fails.
> A possible patch:
> {code}
> diff --git a/xpp/Makefile.am b/xpp/Makefile.am
> index d06fffe..1ee76d5 100644
> --- a/xpp/Makefile.am
> +++ b/xpp/Makefile.am
> @@ -24,7 +24,7 @@ if PERL
> SUBDIRS += perl_modules
>
> %.8: %
> - @if file "$^" | cut -d: -f2 | grep -q perl; then \
> + @if file "$^" | cut -d: -f2 | grep -i -q perl; then \
> if pod2man --section 8 $^ > $@; then \
> echo " GEN $@"; \
> else \
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list