Last active
November 4, 2023 17:24
-
-
Save ivan-loh/9f81b6f44c42f4115964 to your computer and use it in GitHub Desktop.
lua specific version installation for osx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -O http://www.lua.org/ftp/lua-5.1.5.tar.gz | |
tar xvzf lua-5.1.5.tar.gz | |
cd lua-5.1.5/src | |
make macosx | |
sudo cp lua /usr/local/bin/lua | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference the sqlite installed by homevrew for the compilation, seems to work.. | |
# ref: http://sourceforge.net/p/luarocks/mailman/message/33471857/ | |
brew install sqlite3 | |
luarocks install lsqlite3 SQLITE_LIBDIR=/usr/local/opt/sqlite/lib SQLITE_INCDIR=/usr/local/opt/sqlite/include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment