Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Compiling pftp? Urgent help needed :)

UBBFriend: Email this page to someone!    
Author Topic: Compiling pftp? Urgent help needed :)
Cerbero
Junior Member
Member # 493

posted October 19, 2002 02:06 PM      Profile for Cerbero   Email Cerbero   Send New Private Message      Edit/Delete Post  Reply With Quote 
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
[ObiWan]JUST
Junior Member
Member # 510

posted October 20, 2002 07:33 AM      Profile for [ObiWan]JUST   Email [ObiWan]JUST   Send New Private Message      Edit/Delete Post  Reply With Quote 
yeah i want this apps too !!!

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

please help for this tools


Posts: 5 | From: France | Registered: Sep 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2