You are not logged in.

#1 2013-04-15 19:22:57

Striata
Member
Registered: 2013-04-15
Posts: 4

[SOLVED] Problems with automake/autoconf/m4 and compiling AUR packages

I wanted to have a go at installing a splash screen for my arch linux box tonight. However, I quickly ran into some trouble when doing 'makepkg' on fbsplash:

=> Starting build()...
File/Basename.pm did not return a true value at /usr/share/autoconf/Autom4te/Channels.pm line 73.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/Channels.pm line 73.
Compilation failed in require at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
Compilation failed in require at /usr/bin/autoreconf line 39.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 39.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build fbsplash.

I thought maybe the fbsplash package on AUR had some issues, so I went ahead and tried to install splashy-full instead:

checking for automake >= 1.13...
  testing automake-1.13... not found.
***Error***: You must have automake >= 1.13 installed
  to build Package.  Download the appropriate package for
  from your distribution or get the source tarball at
    http://ftp.gnu.org/pub/gnu/automake/automake-1.13.tar.gz

checking for libtool >= 1.5...
  testing libtoolize... found 2.4.2
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.34.3
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.28
./autogen.sh: line 154: --print-ac-dir: command not found
Checking for required M4 macros...
Checking for forbidden M4 macros...
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build splashy-full.

Strange. If I do pacman -Q automake, I get this in return:

automake 1.13.1-18

It seems to already be installed. Oh well, let's have a go at installing Plymouth instead:

WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-rye/aur-plymouth/src/plymouth-0.8.8/build-tools/missing --run autoconf
Class/Struct.pm did not return a true value at /usr/share/autoconf/Autom4te/Request.pm line 35.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/Request.pm line 35.
Compilation failed in require at /usr/share/autoconf/Autom4te/C4che.pm line 34.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/C4che.pm line 34.
Compilation failed in require at /usr/bin/autom4te line 37.
BEGIN failed--compilation aborted at /usr/bin/autom4te line 37.
make: *** [configure] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build plymouth.

I have tried to reinstall base-devel, automake, autoconf, m4, but they all seem to be present already:

Enter a selection (default=all): 
warning: autoconf-2.69-1 is up to date -- reinstalling
warning: automake-1.13.1-1 is up to date -- reinstalling
warning: m4-1.4.16-2 is up to date -- reinstalling

I have tried installing the packages manually, and installing them through yaourt.

Does anyone know what is going on here? I've installed packages through yaourt/AUR without problem before, but these simply will not go through. There's clearly an issue with automake/autoconf on my system, but I have no idea where to even start looking.

EDIT: system is fully upgraded:

sudo pacman -Syu
[sudo] password for ***: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do

Last edited by Striata (2013-04-15 20:36:15)

Offline

#2 2013-04-15 19:31:24

Striata
Member
Registered: 2013-04-15
Posts: 4

Re: [SOLVED] Problems with automake/autoconf/m4 and compiling AUR packages

I think it may (or may not) be related to my 'perl' package. I tried to reinstall the full 'base' package, but on reinstalling perl it started spitting out thousands of errors about files already existing:

perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Samr.pl exists in filesystem
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Sarb.pl exists in filesystem
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Saur.pl exists in filesystem
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Shaw.pl exists in filesystem
[...]
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Sinh.pl exists in filesystem
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Sora.pl exists in filesystem
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Sund.pl exists in filesystem
perl: /usr/share/perl5/core_perl/unicore/lib/Scx/Sylo.pl exists in filesystem

I'm not sure if this is normal or even related at all, but since the first error message I got when trying to compile fbsplash was a perl error ("File/Basename.pm did not return a true value at /usr/share/autoconf/Autom4te/Channels.pm line 73") I figured it might just be...

No idea where to move on from there, though

Last edited by Striata (2013-04-15 20:21:05)

Offline

#3 2013-04-15 20:07:08

Striata
Member
Registered: 2013-04-15
Posts: 4

Re: [SOLVED] Problems with automake/autoconf/m4 and compiling AUR packages

I just noticed some error as I ran urxvt from a terminal:

[***@archtop Downloads]$ urxvt
urxvt: perl hook 0 evaluation error: /usr/lib/urxvt/perl/readline: Tie/Hash.pm did not return a true value at /usr/lib/perl5/core_perl/POSIX.pm line 419, <$fh> line 1.
Compilation failed in require at /usr/lib/urxvt/perl/readline line 35, <$fh> line 1.
BEGIN failed--compilation aborted at /usr/lib/urxvt/perl/readline line 35, <$fh> line 1.

There definitely seems to be issues with perl...

Offline

#4 2013-04-15 20:35:44

Striata
Member
Registered: 2013-04-15
Posts: 4

Re: [SOLVED] Problems with automake/autoconf/m4 and compiling AUR packages

I fixed this by running the following command, forcing a perl reinstall:

pacman -S --force perl

easy as that!

Offline

Board footer

Powered by FluxBB