lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Jan 20, 2015 at 9:59 AM, Tim Hill <drtimhill@gmail.com> wrote:
>
>> On Jan 20, 2015, at 2:09 AM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
>>
>>> Hello. I am running on Ubuntu and just tried to compile Lua but received
>>> the following error message:
>>>
>>> lua.c:78:31: fatal error: readline/readline.h: No such file or directory
>>
>> The readme at http://www.lua.org/manual/5.3/readme.html#install says:
>>
>>   "If you're running Linux and get compilation errors,
>>    make sure you have installed the readline development package”
>>
>
> How about adding “typically named deadline-dev” since many (including me the first time I hit this) will not know the name of the package, and apt-get doesn’t exactly make it easy to discover.
>
> —Tim

readline, not deadline, and it's libreadline-dev. ;) Anyway, if you're
going to do that, you should also name readline-devel because that's
what most RPM-based distros call it.

/s/ Adam