Building On OSX

Moderator: Project members

Post Reply
Message
Author
artooro
500 Command not understood
Posts: 3
Joined: 2004-06-15 15:12

Building On OSX

#1 Post by artooro » 2004-10-24 12:44

I have almost built FileZilla 3 on Mac OS X

After building wxWidgets 2.5.3 and libidn 0.5.8 it looked like building FZ3 would be successful but here's part of the Terminal output towards the end.

/Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r /usr/local/lib/libwx_mac-2.5.3.r -o FileZilla.app/Contents/Resources/filezilla.rsrc
cp -f resources/FileZilla.icns FileZilla.app/Contents/Resources/FileZilla.icns
make -C resources mac-copy-resources
cp -f `menus.xrc quickconnectbar.xrc dropdown.png disconnect.png toolbar.xrc cancel.png empty.xpm up.xpm down.xpm filezilla.xpm dialogs.xrc reconnect.png refresh.png leds.png` ../FileZilla.app/Contents/MacOS/resources
/bin/sh: line 1: menus.xrc: command not found
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make[4]: *** [mac-copy-resources] Error 64
make[3]: *** [FileZilla.app/Contents/MacOS/filezilla] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


The error sounds simple but I have no idea on how to fix it myself.
I think I'll try building from wxWidgets CVS again.
<Arthur/>

fptarget
500 Command not understood
Posts: 1
Joined: 2005-11-06 10:23

Re: Building On OSX

#2 Post by fptarget » 2005-11-06 10:28

Hello there,
artooro wrote: cp -f `menus.xrc quickconnectbar.xrc dropdown.png disconnect.png toolbar.xrc cancel.png empty.xpm up.xpm down.xpm filezilla.xpm dialogs.xrc reconnect.png refresh.png leds.png` ../FileZilla.app/Contents/MacOS/resources
/bin/sh: line 1: menus.xrc: command not found
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory

The error sounds simple but I have no idea on how to fix it myself.
The error is indeed quite simple. I think the make configuration file has been done for another platform as linux for instance, and the behavior of linux shell commands are sometimes different compared to BSD unixes. As Mac is a BSD one, I guess here the bad syntax is the backquote "`" used in the copy line. If you can locate in the makefile this line and make them disappear, it may run just fine.

Try this and let me know, as I'm looking myself to have a decent ftp client with GUI on my mac ;-)

Cheers,
Franck.

User avatar
botg
Site Admin
Posts: 35563
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#3 Post by botg » 2005-11-07 06:52

Please update your FZ3 source from CVS and clean your build directory. The logged commands contain references to files no longer existing.

Post Reply