aclocal: error: cannot open echo 'm4_define([m4_require_silent_probe], [-])' |
Arkadiusz Miśkiewicz
arekm at maven.pl
Sun Dec 6 22:38:03 CET 2015
On Sunday 06 of December 2015, Arkadiusz Miśkiewicz wrote:
> Has anyone see such error? Trying to figure out what causes it. It happens
> with various packages, some work, some do not.
Reproducer
#!/usr/bin/perl
BEGIN {
push ( @INC,"/usr/share/automake");
}
use strict;
use Automake::XFile;
my $configure_ac;
my $traces = "echo 'zupa'";
my $tracefh = new Automake::XFile ("$traces");
$ LC_ALL=C perl a1.pl
a1.pl: error: cannot open echo 'zupa': No such file or directory
so no idea how it is supposed to work in aclocal which does:
my $early_m4_code .= "m4_define([m4_require_silent_probe], [-])";
my $traces = ($ENV{AUTOM4TE} || 'autom4te');
$traces .= " --language Autoconf-without-aclocal-m4 ";
$traces = "echo '$early_m4_code' | $traces - ";
...
verb "running $traces $configure_ac";
my $tracefh = new Automake::XFile ("$traces $configure_ac |");
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
More information about the pld-devel-en
mailing list