LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2021, 01:44 PM   #1
dptzippy
LQ Newbie
 
Registered: Dec 2020
Posts: 28

Rep: Reputation: Disabled
Autoconf/Autoreconf report a strange error, and terminate.


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!
 
Old 07-31-2021, 01:45 PM   #2
dptzippy
LQ Newbie
 
Registered: Dec 2020
Posts: 28

Original Poster
Rep: Reputation: Disabled
Also, how do I embed code so it doesn't take up all the page? I thought <code> was the correct way, but that does not appear to be working.
 
Old 07-31-2021, 01:59 PM   #3
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,205
Blog Entries: 1

Rep: Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565
It's [code] and [/code]
 
Old 07-31-2021, 02:24 PM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 2,550

Rep: Reputation: Disabled
The same part of my autom4te script (from autoconf 2.69) looks like this
Code:
  # Everything went ok: preserve the outputs.
  foreach my $file (map { $_ . $req->id } ($tcache, $ocache))
    {
      use File::Copy;
      move ("${file}t", "$file")
        or fatal "cannot rename ${file}t as $file: $!";
    }
 
Old 07-31-2021, 10:19 PM   #5
dptzippy
LQ Newbie
 
Registered: Dec 2020
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
The same part of my autom4te script (from autoconf 2.69) looks like this
Code:
  # Everything went ok: preserve the outputs.
  foreach my $file (map { $_ . $req->id } ($tcache, $ocache))
    {
      use File::Copy;
      move ("${file}t", "$file")
        or fatal "cannot rename ${file}t as $file: $!";
    }
Hey, man! I appreciate you reaching out. I tried to replace the section of my script with the code you posted, but the same error is displayed, except the line number is increased by one (one line was added). Could you, perhaps, post the full script?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
autoreconf 'configure.ac' or 'configure.in' is required silverserver Linux - Newbie 1 02-22-2020 07:52 AM
autoreconf failed with exit status 1. How an I fix this error? P. eleazar Linux - Newbie 9 07-21-2016 10:53 AM
Autoreconf Mess Up Configure Script btbx Linux - Software 2 01-19-2009 05:49 AM
*** YOU'RE USING autoconf (GNU Autoconf) 2.60. KDE requires autoconf 2.52, 2.53 or 2. arubin Slackware 6 09-24-2008 03:31 AM
URGENT autoreconf error maheshadadrsh Linux - Software 3 12-28-2007 12:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration