VLC 2.2.2 compilation error: LUA related
Posted: 23 Apr 2016 21:47
I am trying to compile 2.2.2 on Debian Jessie 64 bit to improve Bluray playback. The configure script runs ok but I run into errors immediately into the build process.
With make the error is:
and with compile the error is:
I have tried installing 3 different versions of libua-dev, 5.1, 5.2 and 5.3. What could be the problem?
With make the error is:
Code: Select all
jason@MEDIA:~/vlc-2.2.2$ make -j4
make all-recursive
make[1]: Entering directory '/home/jason/vlc-2.2.2'
Making all in compat
make[2]: Entering directory '/home/jason/vlc-2.2.2/compat'
GEN dummy.c
make all-am
make[3]: Entering directory '/home/jason/vlc-2.2.2/compat'
CC dummy.lo
CC strlcpy.lo
CCLD libcompat.la
make[3]: Leaving directory '/home/jason/vlc-2.2.2/compat'
make[2]: Leaving directory '/home/jason/vlc-2.2.2/compat'
Making all in doc
make[2]: Entering directory '/home/jason/vlc-2.2.2/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jason/vlc-2.2.2/doc'
Making all in po
make[2]: Entering directory '/home/jason/vlc-2.2.2/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jason/vlc-2.2.2/po'
Making all in share
make[2]: Entering directory '/home/jason/vlc-2.2.2/share'
GEN vlc.desktop
LUAC lua/extensions/VLSub.luac
LUAC lua/intf/cli.luac
/usr/bin/luac: lua/intf/cli.lua:2: function arguments expected near `module'
Makefile:1694: recipe for target 'lua/intf/cli.luac' failed
make[2]: *** [lua/intf/cli.luac] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/luac: lua/extensions/VLSub.lua:1097: unexpected symbol near `#'
Makefile:1694: recipe for target 'lua/extensions/VLSub.luac' failed
LUAC lua/intf/dummy.luac
make[2]: *** [lua/extensions/VLSub.luac] Error 1
LUAC lua/intf/dumpmeta.luac
/usr/bin/luac: lua/intf/dumpmeta.lua:2: function arguments expected near `a'
Makefile:1694: recipe for target 'lua/intf/dumpmeta.luac' failed
make[2]: *** [lua/intf/dumpmeta.luac] Error 1
make[2]: Leaving directory '/home/jason/vlc-2.2.2/share'
Makefile:2253: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jason/vlc-2.2.2'
Makefile:2137: recipe for target 'all' failed
make: *** [all] Error 2
Code: Select all
MAKE : compat
MAKE : doc
MAKE : po
MAKE : share
for f in vlc.desktop.in skins2/default/theme.xml skins2/default/subX/about.png skins2/default/subX/eq.png skins2/default/subX/font.otf skins2/default/subX/main.png skins2/default/subX/playtreeglyphs.png skins2/default/subX/pl.png skins2/default/subX/sysbuttons.png skins2/default/subX/vol_anim.png skins2/default/subX/vol_slider.png skins2/fonts/FreeSans.ttf skins2/fonts/FreeSansBold.ttf skins2/skin.dtd skins2/skin.catalog skins2/winamp2.xml vlc512x512.png lua/http/view.html lua/http/mobile.html lua/http/dialogs/create_stream.html lua/http/dialogs/equalizer_window.html lua/http/dialogs/mosaic_window.html lua/http/dialogs/batch_window.html lua/http/dialogs/error_window.html lua/http/dialogs/browse_window.html lua/http/dialogs/stream_window.html lua/http/dialogs/offset_window.html lua/http/dialogs/stream_config_window.html lua/http/custom.lua lua/http/vlm.html lua/http/images/buttons.png lua/http/images/speaker-32.png lua/http/images/vlc-48.png lua/http/images/Audio-48.png lua/http/images/Folder-48.png lua/http/images/Other-48.png lua/http/images/Back-48.png lua/http/images/Video-48.png lua/http/images/vlc16x16.png lua/http/mobile_equalizer.html lua/http/vlm_export.html lua/http/mobile_browse.html lua/http/favicon.ico lua/http/mobile_view.html lua/http/requests/playlist.xml lua/http/requests/playlist.json lua/http/requests/README.txt lua/http/requests/playlist_jstree.xml lua/http/requests/browse.xml lua/http/requests/browse.json lua/http/requests/vlm_cmd.xml lua/http/requests/status.xml lua/http/requests/status.json lua/http/requests/vlm.xml lua/http/index.html lua/http/css/ui-lightness/jquery-ui-1.8.13.custom.css lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png lua/http/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png lua/http/css/ui-lightness/images/ui-icons_ffffff_256x240.png lua/http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png lua/http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png lua/http/css/ui-lightness/images/ui-icons_222222_256x240.png lua/http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png lua/http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png lua/http/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png lua/http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png lua/http/css/ui-lightness/images/ui-icons_228ef1_256x240.png lua/http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png lua/http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png lua/http/css/main.css lua/http/css/mobile.css lua/http/js/ui.js lua/http/js/common.js lua/http/js/jquery.jstree.js lua/http/js/controllers.js solid/vlc-openbd.desktop solid/vlc-opencda.desktop solid/vlc-opendvd.desktop solid/vlc-openvcd.desktop lua/README.txt lua/extensions/README.txt lua/extensions/VLSub.lua lua/intf/README.txt lua/intf/cli.lua lua/intf/dummy.lua lua/intf/dumpmeta.lua lua/intf/http.lua lua/intf/luac.lua lua/intf/modules/host.lua lua/intf/modules/httprequests.lua lua/intf/telnet.lua lua/meta/art/README.txt lua/meta/art/02_frenchtv.lua lua/meta/art/03_lastfm.lua lua/meta/art/01_googleimage.lua lua/meta/art/00_musicbrainz.lua lua/meta/fetcher/README.txt lua/meta/fetcher/tvrage.lua lua/meta/reader/README.txt lua/meta/reader/filename.lua lua/modules/common.lua lua/modules/dkjson.lua lua/modules/sandbox.lua lua/modules/simplexml.lua lua/playlist/README.txt lua/playlist/anevia_streams.lua lua/playlist/anevia_xml.lua lua/playlist/appletrailers.lua lua/playlist/bbc_co_uk.lua lua/playlist/break.lua lua/playlist/canalplus.lua lua/playlist/cue.lua lua/playlist/dailymotion.lua lua/playlist/extreme.lua lua/playlist/france2.lua lua/playlist/googlevideo.lua lua/playlist/jamendo.lua lua/playlist/joox.lua lua/playlist/katsomo.lua lua/playlist/koreus.lua lua/playlist/lelombrik.lua lua/playlist/liveleak.lua lua/playlist/metacafe.lua lua/playlist/metachannels.lua lua/playlist/mpora.lua lua/playlist/pinkbike.lua lua/playlist/pluzz.lua lua/playlist/rockbox_fm_presets.lua lua/playlist/soundcloud.lua lua/playlist/vimeo.lua lua/playlist/youtube.lua lua/playlist/youtube_homepage.lua lua/playlist/zapiks.lua lua/sd/README.txt lua/sd/fmc.lua lua/sd/icecast.lua lua/sd/icast.lua lua/sd/jamendo.lua lua/sd/metachannels.lua; do \
test "." = . || f="./$f"; \
if test $f = lua/extensions/VLSub.lua; then \
exit 0; \
fi; \
done; \
exit 1
/usr/bin/luac -o lua/extensions/VLSub.luac lua/extensions/VLSub.lua
/usr/bin/luac: lua/extensions/VLSub.lua:1097: unexpected symbol near `#'
Makefile:1694: recipe for target 'lua/extensions/VLSub.luac' failed
Makefile:2253: recipe for target 'all-recursive' failed
Makefile:2137: recipe for target 'all' failed
make: *** [all] Error 2