MojoDK
MojoDK

Reputation: 4528

MonoTouch: Three20 - command not found

I'm trying to get Three20 to work with MonoTouch, so I found this website:

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

I unzip it and when I doubleclick the makefile, I get a lotta errors:

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

Am I doing something wrong?

Thanks!

Mojo

Update (@jstedfast)...

I'm a Unix noob - but I think the Three20 is buggy...

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$ 

Any idea?

Upvotes: 1

Views: 1098

Answers (1)

poupou
poupou

Reputation: 43553

Makefile files are scripts that needs to be execute using the make command. E.g.

cd \your-dir\monotouch-bindings\
make

This is part of the README file inside the repository.

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

Upvotes: 1

Related Questions