[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: building Lua in Ubuntu-12.04
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 26 Dec 2012 18:02:51 -0200
A question in stackoverflow [1] says that building Lua in (I assume)
plain Ubuntu-12.04 fails:
% make linux test
...
gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lncurses
/usr/bin/ld: cannot find -lncurses
Since it is not complaining about -lreadline, what does readline depend
on in Ubuntu-12.04, if anything? Does anyone have a pristine Ubuntu-12.04
to try this on?
Readline questions when building Lua are common. The README in Lua 5.2 [2]
says "If you're running Linux and get compilation errors, make sure you
have installed the readline development package.", which we hope is
still the correct advice, but we'd like to make it easier, if possible.
Any suggestions?
[1] http://stackoverflow.com/questions/14044998/lua-setup-error
[2] http://www.lua.org/manual/5.2/readme.html