Hi there, I'm rather new to Arch.
Today I tried to install the gtk-engine-murrine-git package from the AUR. Upon compiling with
makepkg -s -i --asroot
I received this error:
You must have automake 1.7.x installed to compile . Install the appropriate package for your distribution, or get the source tarball at http://ftp.gnu.org/gnu/automake/ ==> ERROR: A failure occurred in build(). Aborting...
So I went and installed automake-1.7 from the AUR. When I tried to compile it after that I got another error:
libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: You should add the contents of the following files to `aclocal.m4': libtoolize: `/usr/share/aclocal/libtool.m4' libtoolize: `/usr/share/aclocal/ltoptions.m4' libtoolize: `/usr/share/aclocal/ltversion.m4' libtoolize: `/usr/share/aclocal/ltsugar.m4' libtoolize: `/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: macro `_LT_DECL_SED' required but not defined aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined configure.ac:4: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:10: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:17: error: possibly undefined macro: AM_DISABLE_STATIC configure.ac:18: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL configure.ac:19: error: possibly undefined macro: AM_PROG_LIBTOOL configure.ac:22: error: possibly undefined macro: AC_PROG_INTLTOOL configure.ac:26: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT configure.ac:71: error: possibly undefined macro: AM_CONFIG_HEADER autoheader: error: AC_CONFIG_HEADERS not found in configure.ac Useless use of /d modifier in transliteration operator at /usr/bin/automake-1.7 line 5985. configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found. configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, configure.ac: that aclocal.m4 is present in the top-level directory, configure.ac: and that aclocal.m4 was recently regenerated (using aclocal). configure.ac: installing `./install-sh' configure.ac: installing `./mkinstalldirs' configure.ac: installing `./missing' Makefile.am:7: Libtool library used but `LIBTOOL' is undefined Makefile.am:7: Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:7: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: installing `./depcomp' /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL ./configure: line 1752: AM_INIT_AUTOMAKE: command not found ./configure: line 1757: AM_MAINTAINER_MODE: command not found checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes ./configure: line 2702: AM_DISABLE_STATIC: command not found ./configure: line 2703: AC_LIBTOOL_WIN32_DLL: command not found ./configure: line 2704: AM_PROG_LIBTOOL: command not found ./configure: line 2706: syntax error near unexpected token `0.37.1' ./configure: line 2706: `AC_PROG_INTLTOOL(0.37.1)' ==> ERROR: A failure occurred in build(). Aborting...
I scrolled through the comments and saw that there was a fix:
I went and did everything like he said, only to receive another error:
murrine ... Skipped automake-1.12.patch ... Passed automake-1.13.patch ... Passed automake-1.14.patch ... FAILED ==> ERROR: One or more files did not pass the validity check!
After a little googling I found out that I can regenerate the md5sums like that:
makepkg -g >> PKGBUILD --asroot
After doing that I again tried to compile it and it threw this error:
patching file autogen.sh patching file autogen.sh (Patch is indented 4 spaces.) patching file autogen.sh Hunk #1 FAILED at 16. 1 out of 1 hunk FAILED -- saving rejects to file autogen.sh.rej ==> ERROR: A failure occurred in build(). Aborting...
I really don't know what this should even mean. I hope someone in here can help me with this.
Last edited by fro_ozen (2013-12-14 19:14:02)
Why are you using '--asroot'?
Post a link to this thread in the comments https://aur.archlinux.org/packages/gtk- … rrine-git/
Last edited by karol (2013-12-14 17:42:58)
I'm using --asroot because I am using su while I compile because I have my AUR packages in /pkgs/ and the root is the only one that has power there.
Edit: I posted the comment.
Last edited by fro_ozen (2013-12-14 17:51:27)
i think i'm missing something here.
why are you compiling gtk murrine engine from aur?
it's in community.
also i'd recommend using some aur helper. i've been rather happy with yaourt though i heard it belittled many times.
Oh man, you are right. I didn't expect it to be in the official repos because the name sounded so special. I now install it and everything works fine.
PS: This thread can be closed.