CentOS 編譯安裝 Lua LuaSocket

2021-05-27 13:00:44 字數 469 閱讀 2603

centos5.5 lua5.1.4 luasocket2.0.2

/usr/bin/ld: cannot find -lreadline

直接 make 會報錯,缺少依賴。

# yum -y install gcc make ncurses-devel readline-devel

# wget

# tar zxvf lua-5.1.4.tar.gz

# cd lua-5.1.4

#  make linux

# make install

# cd ..

# wget

# tar zxvf  luasocket-2.0.2.tar.gz

# cd luasocket-2.0.2

# make

# make install

此條目發表在 

linux, 

lua 分類目錄,貼

CentOS 編譯安裝 Lua LuaSocket

centos5.5 lua5.1.4 luasocket2.0.2 usr bin ld cannot find lreadline 直接 make 會報錯,缺少依賴。yum y install gcc make ncurses devel readline devel wget tar zxvf ...

Centos 編譯安裝ACE

這裡只安裝了ace,其他的包沒有涉及。1.tar xvf ace x.x.x.tar.gz 2.設定環境變數 vim bashrc export ace root home yourname export ld library path ld library path ace root ace cd...

Centos編譯安裝htop

htop 是乙個 linux 下的互動式的程序瀏覽器,可以用來替換linux下的top命令,比top命令功能更強大,看起來介面也舒服,下面就講一下如何編譯安裝htop wget tar zxf download cd htop 1.0.2 configure make make install ch...