geo
geo

Reputation: 1257

Trouble installing/compiling lua on macosx

I have been attempting to compile/install Lua on Snow Leopard. I have changed the target platform in the Makefile.std to macosx and I still get the following issue:

sudo make -f Makefile.std macosx

make[1]: *** No rule to make target 'macosx'. Stop
make: *** [macsox] Error 2

I also changed the target of the same Makefile.std file in the src directory.

Is there something I'm missing here?

I have tried "make macosx" amongst other variations...

This should be easy.

Upvotes: 2

Views: 728

Answers (2)

Alexander Gladysh
Alexander Gladysh

Reputation: 41493

Note also that there are Lua packages in MacPorts and Fink.

Upvotes: 2

lhf
lhf

Reputation: 72422

Did you download the source from lua.org? The official distribution does not contain a Makefile.std. Doing "make macosx" should just work. Get the official tarball.

Upvotes: 4

Related Questions