[vlc-devel] luac 32 bits?
Gilles Sabourin
gilles.sabourin at free.fr
Sat Mar 19 21:09:00 CET 2016
Le samedi 19 mars 2016, 12:07:37 Sean McGovern a écrit :
> Hi Gilles,
>
> On Mar 19, 2016 11:16, "Gilles Sabourin" <gilles.sabourin at free.fr> wrote:
> > Hello,
> >
> > Feel free to explain how you can detect anything other than luac 32 bits
> > components in a 32 bits virtual machine (openSUSE) ...
> >
> > FYI, lua 5.1 / 5.2 are both installed in that VM.
> >
> > Regards,
> > Gilles
>
> The build system itself does not know if it is building for a 32 or 64 bit
> host. What the failing test does do is check if the copy of Lua it found is
> capable of handling 32 or 64 bit integers. Support for 64 bit integers in
> Lua is new feature for Lua 5.3+, so now the test in configure needs to be
> fixed to address that.
>
> With that said, if you are not using the Lua 5.3 from contribs, your system
> should not be running that test in the first place. Are you possibly
> missing the .pc files for 5.1 and/or 5.2?
>
> -- Sean McG.
To have a better viw on what is going on, here's below config.log content for
lua part:
configure:27511: checking for LUA
configure:27518: $PKG_CONFIG --exists --print-errors "lua5.2"
Package lua5.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.2' found
configure:27521: $? = 1
configure:27535: $PKG_CONFIG --exists --print-errors "lua5.2"
Package lua5.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.2' found
configure:27538: $? = 1
configure:27552: result: no
No package 'lua5.2' found
configure:27569: WARNING: No package 'lua5.2' found, trying lua 5.1 instead
configure:27574: checking for LUA
configure:27581: $PKG_CONFIG --exists --print-errors "lua5.1"
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
configure:27584: $? = 1
configure:27598: $PKG_CONFIG --exists --print-errors "lua5.1"
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
configure:27601: $? = 1
configure:27615: result: no
No package 'lua5.1' found
configure:27632: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead
configure:27636: checking for LUA
configure:27643: $PKG_CONFIG --exists --print-errors "lua >= 5.1"
configure:27646: $? = 0
configure:27660: $PKG_CONFIG --exists --print-errors "lua >= 5.1"
configure:27663: $? = 0
configure:28089: result: yes
configure:29586: checking for luac
configure:29602: found /usr/src/packages/BUILD/vlc-beta-3.0.0/contrib/i586-
suse-linux/bin/luac
configure:29613: result: luac
configure:29632: error: You need 32-bits luac when using lua from contrib.
More information about the vlc-devel
mailing list