Emerging arts fails as follows: zaphod root # emerge -u arts Calculating dependencies ...done! >>> emerge (1 of 1) kde-base/arts-1.1.2 to / *** Adjusting cvs-src permissions for portage user... *** Adjusting cvs-src permissions for portage user... >>> md5 src_uri ;-) arts-1.1.2.tar.bz2 >>> Unpacking source... >>> Unpacking arts-1.1.2.tar.bz2 to /var/tmp/portage/arts-1.1.2/work patching file flow/gsl/configure.in.in Running sed on Makefile.am Running sed on Makefile.in >>> Source unpacked. *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure /usr/bin/autom4te-2.54: unrecognized option `--cache=autom4te.cache' Try `/usr/bin/autom4te-2.54 --help' for more information. make: *** [cvs] Error 1 !!! ERROR: kde-base/arts-1.1.2 failed. !!! Function kde_src_compile, Line 107, Exitcode 1 !!! no configure script found, generation unsuccessful Reproducible: Always Steps to Reproduce: 1. as above 2. 3. Actual Results: as above Have tried with and without the following: # export WANT_AUTOCONF_2_5=1 # export WANT_AUTOMAKE=1.7.2 zaphod root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r4) ================================================================= System uname: 2.4.20 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups gif jpeg kde gnome libg++ mmx mpeg ncurses nls pdflib png quicktime sdl spell truetype xml2 xv zlib gdbm berkdb slang readline arts tetex svga java postgres X gpm pam libwww ssl python esd imlib gtk qt motif opengl cdr cjk bonobo dga doc dvd -encode evo gd gtk2 gtkhtml guile imap jikes ldap libgda maildir -mikmod mozilla mysql oav odbc -oggvorbis pda perl samba sasl scanner slp snmp sse tcltk -tcpd tiff usb xface -xmms" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
try: export WANT_AUTOMAKE=1.7
Thanks, but didn't help: zaphod root # export WANT_AUTOMAKE=1.7 zaphod root # emerge -u arts Calculating dependencies ...done! >>> emerge (1 of 1) kde-base/arts-1.1.2 to / *** Adjusting cvs-src permissions for portage user... *** Adjusting cvs-src permissions for portage user... >>> md5 src_uri ;-) arts-1.1.2.tar.bz2 >>> Unpacking source... >>> Unpacking arts-1.1.2.tar.bz2 to /var/tmp/portage/arts-1.1.2/work patching file flow/gsl/configure.in.in Running sed on Makefile.am Running sed on Makefile.in >>> Source unpacked. *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure /usr/bin/autom4te-2.54: unrecognized option `--cache=autom4te.cache' Try `/usr/bin/autom4te-2.54 --help' for more information. make: *** [cvs] Error 1 !!! ERROR: kde-base/arts-1.1.2 failed. !!! Function kde_src_compile, Line 107, Exitcode 1 !!! no configure script found, generation unsuccessful
Do you have autoconf 2.57 installed? emerge -p autoconf If not, try to emerge it. I don't have an autom4te-2.54 in my /usr/bin directory, so my guess is you need to upgrade.
I seem to be up to date: zaphod root # emerge -p autoconf These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-devel/autoconf-2.57-r1 I checked the versions of files I have: zaphod root # ls /usr/bin/auto* /usr/bin/autoconf /usr/bin/autom4te-2.57 /usr/bin/autoreconf-2.57 /usr/bin/autoconf-2.13 /usr/bin/automake /usr/bin/autoscan /usr/bin/autoconf-2.54 /usr/bin/automake-1.4 /usr/bin/autoscan-2.13 /usr/bin/autoconf-2.57 /usr/bin/automake-1.5 /usr/bin/autoscan-2.54 /usr/bin/autoexpect /usr/bin/automake-1.6 /usr/bin/autoscan-2.57 /usr/bin/autoheader /usr/bin/automake-1.7 /usr/bin/autoupdate /usr/bin/autoheader-2.13 /usr/bin/autopasswd /usr/bin/autoupdate-2.13 /usr/bin/autoheader-2.54 /usr/bin/autopoint /usr/bin/autoupdate-2.54 /usr/bin/autoheader-2.57 /usr/bin/autoreconf /usr/bin/autoupdate-2.57 /usr/bin/autom4te /usr/bin/autoreconf-2.13 /usr/bin/autom4te-2.54 /usr/bin/autoreconf-2.54 zaphod root # Not sure why there are so many out of date packages: zaphod root # emerge clean >>> No outdated packages were found on your system. I manually removed all the autoconf*, automake* and autom4te* files from /usr/bin, and re-emerged autoconf and automake. This has changed the error! I now get: *** Creating aclocal.m4 *** Creating configure /usr/bin/autoconf-2.57: line 1: set: --: invalid option set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...] make: *** [cvs] Error 1 !!! ERROR: kde-base/arts-1.1.2 failed. !!! Function kde_src_compile, Line 107, Exitcode 1 !!! no configure script found, generation unsuccessful
This is nasty. I haven't been able to recreate these problems with my setup, so it seems like it may be some artifact of automake/autoconf versions and stale stuff sitting around. You can attempt to unmerge all autoconf/automake versions (and any supporting ebuilds) and then remerge? Maybe there's another one that we're not thinking of that also needs to be upgraded There are also files, like /usr/lib/automake/am-wrapper.pl that may be hurting us here as well.
I unmerged automake and autoconf, removed /usr/lib/autoconf, re-emerged automake and autoconf, and (with and without "export WANT_AUTOMAKE=1.7") I still get this second error: *** Creating configure /usr/bin/autoconf-2.57: line 1: set: --: invalid option set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...] make: *** [cvs] Error 1 !!! ERROR: kde-base/arts-1.1.2 failed. !!! Function kde_src_compile, Line 107, Exitcode 1 !!! no configure script found, generation unsuccessful
I had this same problem, I had to downgrade m4 to version 1.4 to get alsa to compile, but it works now :)
Even after downgrading m4 to 1.4, I still get the first error message
interesting... if you just untarbz the downloaded file, ./configure is there, and runs fine
This thing has been biting me for months. Sat down, started digging and found several files AFTER unmerging autoconf and automake : aclocal-1.5d autoheader-2.52d autoscan-2.52d ifnames-2.52d aclocal-1.5x autoheader-2.5x autoscan-2.5x ifnames-2.5x autoconf-2.52d autoreconf-2.52d autoupdate-2.52d autoconf-2.5x autoreconf-2.5x autoupdate-2.5x All these files had a date that goes back to the time I setup the system (may 2002). Looks like these fell out of the basket somewhere but they were causing the problem (can't say exactly which one). Moved them out of the way (just in case :-) and emerged arts again (thereby emergeing autoconf and automake again as dependancies). Arts is compiling happily at this moment....
Ok, thanks for sharing your solution with us, I'm sure other users will be able to profit from it.