Cerbero
Junior Member
Member # 493
|
posted October 19, 2002 02:06 PM
I'm trying to compile this program called pftp (http://pftp.suxx.sk/pftp/). It's kind of a "graphical" command-line clone of the Windows FTP/FXP client FlashFXP. I've managed to compile it on a Linux machine with no problems att all, but when I try to compile it on my Mac, I run into major errors. First of all, when running configure, I get this:
code:
Platform = UNKNOWN try : ./configure <--openssldir [dir]> <--debug> <--nossl> <platform> supported platform = bsd/lnx/cyg
Fair enough, I do "./configure bsd"
code:
pFTP configure utility by HoE... Platform = UNKNOWN user defined platform = bsd ./configure: [: too many arguments Using make = make OpenSSL not found, not using TLS method... Done, you can do "make static" or "make dynamic" now...
Ok, that seemed to work. Now I do "make static":
code:
cd src;make static;cd .. g++ -c -Wall -D_REENTRANT -I../include -O2 main.cc g++ -c -Wall -D_REENTRANT -I../include -O2 switchserver.cc g++ -c -Wall -D_REENTRANT -I../include -O2 tcp.cc tcp.cc: In member function `bool CTCP: :o penData(char*, bool)': tcp.cc:884: `socklen_t' undeclared (first use this function) tcp.cc:884: (Each undeclared identifier is reported only once for each function it appears in.) tcp.cc:884: parse error before `=' token tcp.cc:925: `sockaddr_len' undeclared (first use this function) tcp.cc: In member function `bool CTCP::AcceptData()': tcp.cc:967: parse error before `=' token make[1]: *** [tcp.o] Error 1
And now I don't know what to do.. Does anyone have any idea on how I can get this working? I really want to use this program, since there is no decent graphical FTP client for OS X with a visual queue and everything else I need. Hope someone can help me. Thanks in advance.[ October 19, 2002: Message edited by: Cerbero ]
Posts: 3 | From: Sweden | Registered: Aug 2002
| IP: Logged
|