Počas kompilácie mi chýbala mi knižnica lua.c
lua.c:82:31: fatal error: readline/readline.h: No such file or directory
riešenie:
root@guliverkel:/home/martin/lua/lua-5.3.5# apt-get install libreadline-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libtinfo-dev
Suggested packages:
readline-doc
The following NEW packages will be installed:
libreadline-dev libtinfo-dev
0 upgraded, 2 newly installed, 0 to remove and 52 not upgraded.
Need to get 211 kB of archives.
After this operation, 1,129 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.sk.debian.org/debian stretch/main amd64 libtinfo-dev amd64 6.0+20161126-1+deb9u2 [79.2 kB]
Get:2 http://ftp.sk.debian.org/debian stretch/main amd64 libreadline-dev amd64 7.0-3 [132 kB]
Fetched 211 kB in 0s (873 kB/s)
Selecting previously unselected package libtinfo-dev:amd64.
(Reading database ... 152260 files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ...
Selecting previously unselected package libreadline-dev:amd64.
Preparing to unpack .../libreadline-dev_7.0-3_amd64.deb ...
Unpacking libreadline-dev:amd64 (7.0-3) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b2) ...
Setting up libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ...
Setting up libreadline-dev:amd64 (7.0-3) ...
potom skúste spustiť príkaz make ešte raz:
Žiadne komentáre:
Zverejnenie komentára