Autoconf/Autoreconf report a strange error, and terminate.
by dptzippy from LinuxQuestions.org on (#5MTM9)
Hey there! I have been experiencing a strange issue with my system. I built my OS with the Linux From Scratch book (a while ago), but I have since moved far away from the base system. I recently noticed that many (if not most) programs fail to be configured, with the following output appearing:
<code>
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libxosd.m4:9: run info Automake 'Extending aclocal'
/usr/share/aclocal/libxosd.m4:9: or see https://www.gnu.org/software/automak...ending-aclocal
Undefined subroutine &main::move called at /usr/bin/autom4te line 486.
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
</code>
I hope that I embedded my log correctly. As for the actual line in the autom4te script, this is what is supposedly causing issues:
<code>
# Everything went ok: preserve the outputs.
foreach my $file (map { $_ . $req->id } ($tcache, $ocache))
{
move ("${file}t", "$file")
or fatal "cannot rename ${file}t as $file: $!";
}
}
</code>
I use CPANM to install Perl modules, and I am not sure what has happened here, but I noticed that nothing seems to work when I am trying to configure source packages. Does anybody know how to fix this? I am going crazy here.
Thanks!
<code>
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libxosd.m4:9: run info Automake 'Extending aclocal'
/usr/share/aclocal/libxosd.m4:9: or see https://www.gnu.org/software/automak...ending-aclocal
Undefined subroutine &main::move called at /usr/bin/autom4te line 486.
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
</code>
I hope that I embedded my log correctly. As for the actual line in the autom4te script, this is what is supposedly causing issues:
<code>
# Everything went ok: preserve the outputs.
foreach my $file (map { $_ . $req->id } ($tcache, $ocache))
{
move ("${file}t", "$file")
or fatal "cannot rename ${file}t as $file: $!";
}
}
</code>
I use CPANM to install Perl modules, and I am not sure what has happened here, but I noticed that nothing seems to work when I am trying to configure source packages. Does anybody know how to fix this? I am going crazy here.
Thanks!