Hi,
Sorry for bothering you, but I have a problem with lftp software and I am
unable to fix it by myself. If you do not mind and have a moment can you
please take a look at my e-mail and if possible please let me know what I am
doing wrong or may be you could set me in right direction how to find out
what is a problem and how to fix it.
Basically I am unable to connect to any hosts (internal or externals) when
I am using lftp that is compiled with socks5 libraries. When I compile with
out them lftp works fine with local host, but I need to go out to the world
and that is why I need lftp socks enabled.
Mine operating system is aix5.2, I used gnugc 3.3.2 to compile this program.
I have tried few versions of lftp 3.2.1 ,3.3.3, 3.3.4 and 3.3.5 all with
same results.
Below is what I did to compile it
./configure --prefix=/home/user/lftp/done --without-gnutls
--with-socks5=/home/user/socks5/usr/local
(now configure was always complains about term.h present but can not be
compiled, I guess (bug with Autoconf 2.59) it is because curses.h is needed
before term.h for aix)
when configure is done I executed make
(NOTE: when I was trying to run make it stopped with error that socks.h is
not available
to fix this I had to hard code path to it in post-config.h file as below
# include < /home/user/socks5/usr/local/include/socks.h>
( adding link to that file from /usr/include fixes this error as well, is
there something else I am missing ?)
at this point re executing of make completes with few warnings
make >make.log
bind.c: In function `rl_function_of_keyseq':
bind.c:584: warning: comparison is always true due to limited range of data
type
display.c: In function `_rl_move_cursor_relative':
display.c:1607: warning: passing arg 1 of `_rl_col_width' discards
qualifiers from pointer target type
display.c: In function `rl_character_len':
display.c:1681: warning: comparison is always true due to limited range of
data type
histexpand.c: In function `get_history_event':
histexpand.c:214: warning: passing arg 1 of `_rl_adjust_point' discards
qualifiers from pointer target type
histexpand.c:215: warning: passing arg 1 of `_rl_get_char_len' discards
qualifiers from pointer target type
human.c: In function `human_readable_inexact':
human.c:137: warning: `power' might be used uninitialized in this function
FileCopy.cc: In member function `virtual int FileCopyPeerFA::Do()':
FileCopy.cc:806: warning: long int format, time_t arg (arg 4)
FileCopy.cc: In member function `virtual int FileCopyPeerFA::Put_LL(const
char*, int)':
FileCopy.cc:1109: warning: long int format, time_t arg (arg 4)
Http.cc: In member function `void Http::SendRequest(const char*, const
char*)':
Http.cc:636: warning: int format, size_t arg (arg 3)
lftp_rl.c: In function `lftp_rl_init':
lftp_rl.c:165: warning: assignment from incompatible pointer type
getdate.y: In function `gd_error':
getdate.y:645: warning: implicit declaration of function `xfree'
Now I do not know if they are important as it seems I am getting them even I
am compiling without socks5 so I think they are not related.
at that point after make install completes
Below is what I get when trying to connect to localserver
lftp
lftp :~> debug 9
lftp :~> open localserver01 -usampleuser1
Password:
---- Resolving host address...
---- 1 address found
lftp sampleuser1@ localserver01:~> ls
---- Connecting to localserver01 (11.22.33.44) port 21
`ls' at 0 [Connecting...]
**** Timeout - reconnecting
---- Closing control socket
---- Connecting to localserver01 (11.22.33.44) port 21
**** Timeout reconnecting
and so on till it is killed
Basically never connects. Now I can provide you with all the logs if you
wish.
May be some one in the group could let me know if they were able to
socksyfiy anyone of 3.x lftp successfully on aix5 and if yes how they did
it? or what socks5 library they used ?
May be some one could let me know what I am missing or what I am doing
wrong?
I am able to use "rft" fine on my server and I am able to access external
hosts. With that in mind, I hope I can assume that mine environment and
servers (socks5) are set fine to access outside world.
Do you have any suggestion what can be wrong in my setup and how to fix it?
Thank you for your time
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/