MonoTouch:Three20 - 找不到命令

时间:2011-11-28 20:33:31

标签: binding xamarin.ios makefile three20

我正在努力让Three20与MonoTouch合作,所以我找到了这个网站:

https://github.com/mono/monotouch-bindings/tree/master/Three20

我解压缩它,当我双击makefile时,我得到了很多错误:

Last login: Mon Nov 28 21:32:41 on ttys000
MacBookPro:~ mojo$ /Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile ; exit;
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 1: ATMHud: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 5: all:: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 7: ios:: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 8: IOS: command not found
make: *** No rule to make target `build'.  Stop.
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 9: DUAL: command not found
make: *** No rule to make target `build-specific'.  Stop.
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 11: osx:: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 12: OSX: command not found
make: *** No rule to make target `build-specific'.  Stop.
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 14: build:: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 15: DIRS: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 17: build-specific:: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 18: DIRS: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 20: clean:: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 21: IOS: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 21: OSX: command not found
/Users/mojo/Downloads/mono-monotouch-bindings-b98b8a8/Makefile: line 21: DUAL: command not found
logout

我做错了吗?

谢谢!

更新(@jstedfast)......

我是一个Unix菜鸟 - 但我认为Three20是错误的......

MacBookPro:mono-monotouch-bindings-b98b8a8 mojo$ make
make build DIRS="AdJitsu ATMHud FacebookConnect GebePrinter MGSplitViewController PayPal RedLaser Tapku TestFlight Three20"
for i in AdJitsu ATMHud FacebookConnect GebePrinter MGSplitViewController PayPal RedLaser Tapku TestFlight Three20; do (cd $i; make); done
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Nothing to be done for `all'.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: *** No targets specified and no makefile found.  Stop.
make[1]: *** [build] Error 2
make: *** [ios] Error 2
MacBookPro:mono-monotouch-bindings-b98b8a8 mojo$ cd Three20
MacBookPro:Three20 mojo$ cd binding
MacBookPro:binding mojo$ make
git clone git@github.com:facebook/three20.git
Cloning into three20...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
make: *** [three20] Error 128
MacBookPro:binding mojo$ 

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

Makefile个文件是需要使用make命令执行的脚本。 E.g。

cd \your-dir\monotouch-bindings\
make

这是repository README 文件的一部分。

  

要构建绑定,请从绑定中运行make命令   。目录