Compiling pftp? Urgent help needed :)

Find out how to get that @*&^$&@ thing to compile!

Compiling pftp? Urgent help needed :)

Postby cerbero » Sat Oct 19, 2002 9: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:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>Platform = UNKNOWN
try : ./configure <--openssldir [dir]> <--debug> <--nossl> <platform>
supported platform = bsd/lnx/cyg</pre>[/quote]
Fair enough, I do "./configure bsd"
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>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...</pre>[/quote]Ok, that seemed to work. Now I do "make static":
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>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</pre>[/quote]
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 ]</p>
cerbero
 
Posts: 3
Joined: Sat Aug 24, 2002 7:00 pm
Location: Sweden

Re: Compiling pftp? Urgent help needed :)

Postby [ObiWan]JUST » Sun Oct 20, 2002 2:33 pm

yeah i want this apps too !!!

but i'm a kind of newbie in programmation so ...

please help for this tools
[ObiWan]JUST
 
Posts: 5
Joined: Sun Sep 15, 2002 7:00 pm
Location: France


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 45 guests

cron