2011-11-28 198 views
1

我试图让Three20与MonoTouch的工作,所以我发现这个网站:的MonoTouch:Three20 - 找不到命令

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

我将它解压缩,当我双击生成文件中,我得到一个lotta错误:

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 [email protected]:facebook/three20.git 
Cloning into three20... 
Permission denied (publickey). 
fatal: The remote end hung up unexpectedly 
make: *** [three20] Error 128 
MacBookPro:binding mojo$ 

任何想法?

+0

“我得到了很多错误”让我们完全没有必要去尝试和帮助你。请编辑您的问题,让它真正成为包含我们可以使用的信息的一个问题,否则它很可能最终会被封闭而不是真正的问题。谢谢。 –

+0

@Ken ...我更新了它。 – MojoDK

回答

1

Makefile文件是需要使用make命令执行的脚本。例如。

cd \your-dir\monotouch-bindings\ 
make 

这是自述文件repository里面的一部分。

To build the bindings, run the make command from within the bindings directory.

+0

我现在得到这个错误:make [2]:***没有指定目标,也没有找到makefile。停止。 – MojoDK

+0

这意味着你没有进入一个包含Makefile的目录。 – jstedfast

+0

@jstedfast - 我更新了我的问题..我无法缝合使其工作。嗯。 – MojoDK