开发者

Trouble installing/compiling lua on macosx

开发者 https://www.devze.com 2022-12-14 19:05 出处:网络
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:

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开发者_如何学JAVA file in the src directory.

Is there something I'm missing here?

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

This should be easy.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消