It gives me a strange error, wut it didnt the former version: I use gcc 3.2pre. thanks ------------------- first in configure i noticed this: checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed I dunno if it is important... ------------------- i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -fno-exceptions -fno-rtti -march=athlon-tbird -mmmx -m3dnow -fomit-frame-pointer -ffast-math -foptimize-sibling-calls -O3 -pipe -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o lftp.o `test -f 'lftp.cc' || echo './'`lftp.cc lftp.cc: In function `int main(int, char**)': lftp.cc:320: `LC_ALL' undeclared (first use this function) lftp.cc:320: (Each undeclared identifier is reported only once for each function it appears in.) lftp.cc:320: `setlocale' undeclared (first use this function) lftp.cc:321: `LC_NUMERIC' undeclared (first use this function) lftp.cc:322: warning: statement with no effect lftp.cc:323: warning: statement with no effect make[1]: *** [lftp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/lftp-2.6.1/work/lftp-2.6.1/src' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 35, Exitcode 2 !!! compile problem !!! emerge aborting on /usr/portage/net-ftp/lftp/lftp-2.6.1.ebuild . ------------
I have updated the lftp ebuild to do a "make" instead of an "emake". This should fix your compile problem. The updated ebuild should be available in portage within 24 hours. emerge rsync emerge lftp Please let me know if everything is working after the update.
:( it doesnt work, im sorry. sciack
i checked also the ebuild to see if it is the most updated! i think it is... from the ebuild: src_compile() { local myconf use nls || myconf="--disable-nls" use ssl || myconf="${myconf} --without-ssl" export CFLAGS="-fno-exceptions -fno-rtti ${CFLAGS}" export CXXFLAGS="-fno-exceptions -fno-rtti ${CXXFLAGS}" ./configure \ --prefix=/usr \ --sysconfdir=/etc/lftp \ --without-modules \ --mandir=/usr/share/man \ --host=${CHOST} ${myconf} || die "bad ./configure" make || die "compile problem" }
I have further updated USE flags for nls which might help your compile problem. LC_ALL is an internationalization reference. Is nls set in your use variables? I have also added a socks5 USE variable which should be unrelated to your problem but an added feature nonetheless. Please let me know if the updated ebuild works for you. If not, please send compile logs as an attachment to this bug report.
Ok. I got it!! I tried again with your new ebuild but it didnt work. So I tried to add "nls" into my USE variable. Then now i works!! it is weird anyway... :_) thanks bye
This ebuild seems to only work with --enable-nls as a configure option. I will be playing with it to see if I can find out where the problem is over the next couple of days. For now I have forced nls in the ebuild until I can find a solution.
ok. thanks for your efforts :_)
I have a similar error with lftp but not the same, this time with LC_TIME. I have gcc 3.2 and nls in my USE, however: source='FileSetOutput.cc' object='FileSetOutput.o' libtool=no \ depfile='.deps/FileSetOutput.Po' tmpdepfile='.deps/FileSetOutput.TPo' \ depmode=gcc /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/include -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o FileSetOutput.o `test -f 'FileSetOutput.cc' || echo './'`FileSetOutput.cc cc1plus: warning: changing search order for system directory "/usr/include" cc1plus: warning: as it has already been specified as a non-system directory FileSetOutput.cc: In member function `void FileSetOutput::print(FileSet&, OutputJob*) const': FileSetOutput.cc:140: `LC_TIME' undeclared (first use this function) FileSetOutput.cc:140: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [FileSetOutput.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/lftp-2.6.1/work/lftp-2.6.1/src' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 1, Exitcode 2 !!! compile problem USE="-apm -arts -cups dga doc guile icc icc-pgo imap mozilla perl \ ruby samba sse tcltk tetex tiff nls" my ebuild is: # $Header: /home/cvsroot/gentoo-x86/net-ftp/lftp/lftp-2.6.1.ebuild,v 1.4 2002/08/15 22:02:14 raker Exp $ The last time I tried to compile was, I think, with gcc3.2pre, (the 0812 version perhaps?) and it was something like one or two days ago. (Have been recompiling like hell lately). But could've been 3.1.1 as well. cs178057:~$ ls -l /usr/bin/lftp -rwxr-xr-x 1 root root 731736 Aug 15 16:57 /usr/bin/lftp* cs178057:~$ lftp -v Lftp | Version 2.6.1 | Copyright (c) 1996-2002 Alexander V. Lukyanov
Anti, do you use "DEBUG=true" in your make.conf? tell me. bye
I have added sys-devel/gettext to DEPEND instead of just RDEPEND so all LC variables are set during compile time. If anyone is still having trouble emerging lftp, please post on this report. If there are no other errors I will close the report in a couple of days.
I have another problem with lpftp-2.6.1: checking stack direction for C alloca... -1 checking whether vsnprintf is declared... yes checking whether unsetenv is declared... yes checking for an implementation of va_copy()... no checking for an implementation of __va_copy()... no checking whether va_lists can be copied by value... no checking whether va_lists can be copied by pointer... no configure: error: Can't find a way to va_copy. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 16, Exitcode 1 !!! bad ./configure !!! emerge aborting on /usr/portage/net-ftp/lftp/lftp-2.6.1.ebuild . I'm running gcc 2.95.3-r7 and glibc 2.2.5-r5.
This looks like a gcc installation problem. Are you having trouble compiling any other programs? I have tested the compile on a known working system based on gcc-2.95.3-r7 and there are no problems. try this emerge clean (to clean up old gcc cruft) emerge lftp There have been many changes in gcc recently and this compile error looks like a problem due to gcc updates. Let me know if things start working for you.
lftp-2.6.2 has been added to portage and should be available within 24 hours. Here are the comments from the ChangeLog. Version bump. readline history is now stored in a file. handle full-disk condition as fatal if the file is removed. recursive deletion (rm -r) fixed. It used DELE instead of RMD. fixed a rare core dump, usually happening on completion. fixed compilation with modules. nls use variable appears to work with this version as well. Undoing temporary forcing of nls. Patched configure so adding ssl support doesn't add the dreaded -I/usr/include flag. gcc3 is much happier now. :) Please test and report back on this bug with your experience.
Nick, regarding my "configure: error: Can't find a way to va_copy." problem - emerge clean did not help. I've even reinstalled gcc, and it is still the same... Also, lftp-2.6.2 does the same thing.
See bug #8013. Updated configure options so proper socks5 code is linked against (socksdante instead of socks5) The updated ebuild should be available within 24 hours.