Hello Alexander,

I have serious trouble compiling lftp 4.0.5 on MacOSX 10.6.2.
The problem, I suspect, is with the source file complete.cc:

gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio      -O2 -Wall 
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti 
-fno-implement-inlines -Winline -MT complete.o -MD -MP -MF .deps/complete.Tpo 
-c -o complete.o complete.cc
In file included from CmdExec.h:28,
                 from complete.cc:34:
Job.h: In member function 'void Job::ClearStatus()':
Job.h:80: warning: format not a string literal and no format arguments
complete.cc: In function 'char** lftp_completion(const char*, int, int)':
complete.cc:623: error: 'rl_ignore_some_completions_function' was not declared 
in this scope
complete.cc:765: error: 'rl_save_prompt' was not declared in this scope
complete.cc:793: error: 'rl_restore_prompt' was not declared in this scope
complete.cc:794: error: 'rl_clear_message' was not declared in this scope
complete.cc:808: error: 'rl_message' was not declared in this scope
complete.cc:819: error: 'rl_restore_prompt' was not declared in this scope
complete.cc:820: error: 'rl_clear_message' was not declared in this scope
complete.cc: In function 'char* bash_quote_filename(char*, int, char*)':
complete.cc:1178: error: 'MULT_MATCH' was not declared in this scope
complete.cc: In function 'int lftp_rl_getc(FILE*)':
complete.cc:1257: error: 'rl_kill_full_line' was not declared in this scope
make[1]: *** [complete.o] Error 1
make: *** [all-recursive] Error 1


The configure command used:

$ ./configure --with-openssl 

The configure run itself ran through flawlessly,
I have uploaded the complete build/source directory to 
http://asgard.netphile.de/misc/lftp-405-buildfail.tar.gz


Do you have any hint as on how to resolve this?

C Compiler used:

sn...@wintermute(/Volumes/Ramdisk) $ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Cu, Nicholas

Reply via email to