Wie aktualisiere ich autoconf, wenn ich kein Root-Privileg habe?

1981
hugemeow

Ausführung fehlgeschlagen autoreconf -iv, da ich eine alte autoconf verwende, aber ich kann sie nicht mit dem Systempaket-Manager aktualisieren, da ich nicht root bin

So wie Autoconf von 2.59 auf 2.64 aktualisieren?

Fehlermeldung beim Ausführen von autoreconf:

[mirror@hugemeow gdb-7.5]$ autoreconf -iv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal configure.ac:33: error: Please use exactly Autoconf 2.64 instead of 2.59. config/override.m4:104: _GCC_AUTOCONF_VERSION_CHECK is expanded from... configure.ac:33: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 [mirror@hugemeow gdb-7.5]$ autoconf --version autoconf (GNU Autoconf) 2.59 ... 
1

1 Antwort auf die Frage

1
William Pursell

Just install autoconf in your home directory. Get a copy of the autoconf tarball, unpack it, cd into the resulting directory and run:

./configure --prefix=$HOME && make && make install 

You will probably want to also install newer versions of automake and libtool. Then make sure your path is setup so that autoreconf runs from $HOME/bin.