lftp build fails on macos system: here's some output of emerge lftp: iBook G4 system Mac OS 10.3.5 from the configure phase: configure: WARNING: resolv.h: present but cannot be compiled configure: WARNING: resolv.h: check for missing prerequisite headers? configure: WARNING: resolv.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## I wish I could give better info but I dont know what to send. If you'd like more, tell me what commands to run by email and i'll post the output Reproducible: Always Steps to Reproduce: 1.emerge lftp 2.emerge sync 3.emerge lftp Actual Results: ld: warning -L: directory name (/usr/lib/lftp/2.6.10) does not exist ld: Undefined symbols: _res_9_search make[1]: *** [lftp] Error 1 make: *** [all-recursive] Error 1 !!! ERROR: net-ftp/lftp-2.6.10 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Expected Results: lftp merged keep up the good work! white:~ bennyp$ emerge info !!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc) =============================================================== == System uname: 7.5.0 Power Macintosh powerpc macos-20040726 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.57 Automake: sys-devel/automake-1.6.3 Binutils: ACCEPT_KEYWORDS="macos ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos berkdb cdr ldap mysql perl python ruby"
lftp 3.0.7 and others will emerge correctly if they are compiled without readline.. just run the configure with: "-with-included-readline" i'll post a patch for the ebuild miguel
Created attachment 38026 [details] fixed ebuild added this: if [ $ARCH == macos ]; then myconf="${myconf} -with-included-readline" fi please apply.. lftp works on macos now..
osx peoples - I'm going to add this code if you can keyword it. Also need to fix a memory leak
Second thought - can macosx people fix this and bug 61335 too (icludes solution) - my development machine is broken and I'm struggling to get stuff working on this machine.
I've added this bit of code. I'll leave it up to the macosx people to keyword it.
Added to CVS. Thanks!
*** Bug 67025 has been marked as a duplicate of this bug. ***
Closing out bugs that've been resolved for a while now...