emerge of lftp-3.5.2-r1 fails in autoconf var/tmp/portage/lftp-3.5.2-r1/temp/autoconf-xxxxx.out contains: ***** autoconf ***** configure.ac:175: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:197: error: possibly undefined macro: AC_DEFINE_UNQUOTED configure.ac:317: error: possibly undefined macro: AM_PATH_LIBGNUTLS emerge --info says: Portage 2.1.1_pre4-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(TM) XP1600+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -pipe -fpermissive -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.mirror.icd.hu/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-s -j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/jfh/src/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X aac acl alsa apache2 apm asf avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dv dvd dvdread eds emboss encode fam foomaticdb fortran gdbm gif gpm gtk gtk2 imap imlib isdnlog java jp2 jpeg jpeg2k kde kdehiddenvisibility leim libg++ libwww linguas_de mad mikmod mmx mmxext mp3 mpeg musicbrainz ncurses nls nomotif nptl nptlonly nsplugin ogg ogg.vorbis opengl oss pam pcre pdf pdflib perl png pppd python qt qt3 quicktime readline real reflection samba sasl sdl session sndfile spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode userlocales video_cards_ati video_cards_vesa vorbis win32codecs wma xcomposite xine xml xml2 xorg xprint xv zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Odd below is my emerge --info with the same autoconf /automake versions. app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 What gnutls version are you running? (I've got 1.4.1 unmasked and I've tested it with gnutls-1.2.11)
until now i did not use gnutls, there even is an IUSE-flag. I did try with -gnutls, no success. After installing gnutls, emerging of lftp succeeded again.
The autoreconf process needs the AM_PATH_LIBGNUTLS defined by /usr/share/aclocal/libgnutls.m4 provided by gnutls. Looking at alternatives here but it just might be easier to wait until the new release. You could unmerge gnutls now that you have lftp installed.
What about making gnutls a mandatory dependency for now? (After all it already *is* mandatory to emerge lftp ;) )
I was hoping for a new release soon so I could drop the dependency. There have been a few bugs and patchs made available so I'm hoping for a new release soon.
wow - the cc list added quickly. Added lftp-3.5.4 with only light testing. Please check its fine for you and can one person confirm it by annotating here.
Compiles fine on my ~amd64 system :-)
lftp-3.5.4 compiles just fine on x86.