Page 1 of 1

Configuring vlc 1.2.0-git: lua5.1 not found

Posted: 15 Mar 2011 20:57
by halifax
Trying to compile vlc1.2.0-git with vaapi for Kubuntu 10.10 (viewtopic.php?f=14&t=88739), ./bootstrap is O.K., but ./configure misses lua5.1, that is indeed installed.

Code: Select all

checking whether gcc -std=gnu99 accepts -mtune=pentium2... yes checking for LUA... no configure: WARNING: lua5.1 not found, trying lua >= 5.1 instead checking for LUA... no checking lua.h usability... no checking lua.h presence... no checking for lua.h... no checking lauxlib.h usability... no checking lauxlib.h presence... no checking for lauxlib.h... no checking lualib.h usability... no checking lualib.h presence... no checking for lualib.h... no checking for luaL_newstate in -llua5.1 ... no checking for luaL_newstate in -llua51 ... no checking for luaL_newstate in -llua ... no configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
For maverick's lua5.1.deb following files are installed:

Code: Select all

/. /usr /usr/bin /usr/bin/lua5.1 /usr/bin/luac5.1 /usr/share /usr/share/doc /usr/share/doc/lua5.1 /usr/share/doc/lua5.1/README.Debian.gz /usr/share/doc/lua5.1/changelog.Debian.gz /usr/share/doc/lua5.1/copyright /usr/share/man /usr/share/man/man1 /usr/share/man/man1/lua5.1.1.gz /usr/share/man/man1/luac5.1.1.gz
Somethingelse has to be installed or there's just a missing symlink to compile with "lua" ?

Re: Configuring vlc 1.2.0-git: lua5.1 not found

Posted: 15 Mar 2011 23:31
by Jean-Baptiste Kempf
install liblua-dev

Re: Configuring vlc 1.2.0-git: lua5.1 not found

Posted: 16 Mar 2011 14:10
by halifax
I hate my rotten Kubuntu: Tried to install from maverick-respository one of these libluas-dev(liblua-svn-dev), which installs some other ones . . .
But this doesn't seem to be the trick(infact ./configure can't aswell find "libavcodec" from git-ffmpeg, I compiled before sucessfully). :oops:

Being too dull to compile vlc, I got Squeezuntu now:

1_libavutil49_0.5.2-6_i386.deb
2_libebml0_0.7.7-3.1_i386.deb
3_libmatroska0_0.8.1-1.1_i386.deb
4_vlc-data_1.1.3-1squeeze3_all.deb
5_libvlccore4_1.1.3-1squeeze3_i386.deb
6_libvlc5_1.1.3-1squeeze3_i386.deb
7_vlc-nox_1.1.3-1squeeze3_i386.deb
8_vlc_1.1.3-1squeeze3_i386.deb

But what a shock, vlc is working fine, but switch for GPU-acceleration is greyed out . . .
Is there a link somewhere on the videolan-website to just DOWNLOAD linux-vlc viewtopic.php?f=14&t=88739 (for Squeeze?) for my working vaapi ? :oops: