LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vlc installation problem (https://www.linuxquestions.org/questions/linux-newbie-8/vlc-installation-problem-4175500057/)

qweyu 03-31-2014 12:05 PM

vlc installation problem
 
Hi pple,

Am using slackware 14.0 and i have downloaded the source files fro m SlackBuilds.org however when i run the script (vlc.SlackBuilds) it throws an error like this;

Quote:

checking for LUA... no
configure: WARNING: No package 'lua5.2' found, trying lua 5.1 instead
checking for LUA... no
configure: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead
checking for LUA... no
configure: WARNING: No package 'lua' found, trying manual detection instead
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.2 ... 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.
i know i have to change something in this script but i do not know how.
can anybody help me :(

cin_ 03-31-2014 12:10 PM

plugin scripting
 
lua is a scripting language often used for plugin extensions, also the error tells of some vlc features that you will be unable to use without lua on your system:
rc :: http://www.videolan.org/doc/play-how....html#id591054
telnet :: http://www.videolan.org/doc/streamin...o/en/ch05.html
http :: http://www.videolan.org/doc/play-how....html#id590873

if you are fine without these service modules andor the capability to extend vlc with lua plugins you can run the ./configure with the --disable-lua flag

Code:

# ./configure --disable-lua
...
# make

another option would be to install lua on your box

http://slackbuilds.org/repository/14.1/development/lua/

and see if the error persists

mrohit2011 07-02-2014 12:16 PM

Hello Cin,
I am too facing the same problem over here,

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.

But now i have installed lua 5.2.0 .... then also i have same error.

I also tried the other way round i.e. by using --disable-lua...
But now i have following error:

configure: error: Could not find libmad on your system: you may get it from Alternatively you can use --disable-mad to disable the mad plugin.

Experts ..Please help me..... I am unable to solve this error from my system.....!!!

brianL 07-02-2014 12:41 PM

Either get lua from SlackBuilds, then run your VLC SlackBuild again. Or get a ready made package from Alien Bob:
http://www.slackware.com/~alien/slackbuilds/vlc/

mrohit2011 07-02-2014 10:12 PM

hello brian,
I am using ubuntu 12.0LTS .......
So will this package work for me........

brianL 07-03-2014 04:23 AM

Quote:

Originally Posted by mrohit2011 (Post 5197747)
hello brian,
I am using ubuntu 12.0LTS .......
So will this package work for me........

No, that advice only applies if you're using Slackware.

mrohit2011 07-03-2014 05:36 AM

kkk...


All times are GMT -5. The time now is 05:12 PM.