You are not logged in.

#1 2013-12-14 17:35:58

fro_ozen
Member
Registered: 2013-12-14
Posts: 3

[SOLVED] Problems installing gtk-engine-murrine-git from the AUR

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:

juancate wrote:

I solved the error that stackptr described by adding a patch for automake-1.14 just like the other two patches and adding it to the PKGBUILD. Here is a copy of these files:

automake-1.14.patch : http://pastebin.com/D5anhe8v
PKGBUILD : http://pastebin.com/ngMW8v53

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)

Offline

#2 2013-12-14 17:41:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problems installing gtk-engine-murrine-git from the AUR

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)

Offline

#3 2013-12-14 17:45:07

fro_ozen
Member
Registered: 2013-12-14
Posts: 3

Re: [SOLVED] Problems installing gtk-engine-murrine-git from the AUR

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)

Offline

#4 2013-12-14 18:33:57

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED] Problems installing gtk-engine-murrine-git from the AUR

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.

Offline

#5 2013-12-14 18:38:53

fro_ozen
Member
Registered: 2013-12-14
Posts: 3

Re: [SOLVED] Problems installing gtk-engine-murrine-git from the AUR

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.
Thank you.
PS: This thread can be closed.

Offline

#6 2013-12-14 18:40:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problems installing gtk-engine-murrine-git from the AUR

fro_ozen wrote:

PS: This thread can be closed.

https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB