[vlc-devel] luac 32 bits ... again

Gilles Sabourin gilles.sabourin at free.fr
Sat Apr 2 21:59:49 CEST 2016


Moreover, I got exactly the same error message in a 32bits openSUSE. I have
troubleshooted the error location in the configure.ac file and found the
line responsible for the returned error:

  AS_IF([test -d "${CONTRIB_DIR}" -a -f "${CONTRIB_DIR}/lib/liblua.a" -a
`echo|${LUAC} -o - -|od -j 8 -N 2 -t x2|head -n 1|tr -s ' '|cut -d' ' -f2`
!= 0404], [AC_MSG_ERROR([You need 32-bits luac when using lua from
contrib.])
	
When invoking openSUSE luac compiler through the command line: 

# echo|/usr/bin/luac -o - -|od -j 8 -N 2 -t x2|head -n 1|tr -s ' '|cut -d' '
-f2
0404

So, this returned value stops the processing of the configure file and the
compilation of the contribs. The message itself has no meaning in this case
since my luac compiler is effectively a 32 bits compiler  in a 32 bits
openSUSE.
	
Is the stock luac compiler broken or this test case does not work? Could it
be replaced by the contrib luac? When it is explicitly called through the
test line, this is showing that:

echo|./contrib/i586-suse-linux/bin/luac -o - -|od -j 8 -N 2 -t x2|head -n
1|tr -s ' '|cut -d' ' -f2
0a0d

As a alternate solution, I could consider to migrate on a newer version of a
stable distro , but could you give me your advice in the meantime?  Thank
you in advance.

Regards,
Gilles
 		

-----Message d'origine-----
De : vlc-devel [mailto:vlc-devel-bounces at videolan.org] De la part de Gilles
Sabourin
Envoyé : samedi 2 avril 2016 20:07
À : vlc-devel at videolan.org
Objet : [vlc-devel] luac 32 bits ... again

Hello,

I fall on LUAC issue a little bit later:

[...]
checking for luac... luac
configure: error: You need 32-bits luac when using lua from contrib.
[...]

This seems to be a different issue from the one I reported on this mailing
list last March 19th. For this ones, here's the output of config.log :


configure:27090: $? = 0
configure:27102: result: yes
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/x86_64-suse-linux/bin/luac
configure:29613: result: luac
configure:29632: error: You need 32-bits luac when using lua from contrib.


I have no 32 bits lua component on my 64 bits openSUSE. Is this the case on
ubuntu/debian?

Best regards,
Gilles
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gilles Sabourin.vcf
Type: application/octet-stream
Size: 1417 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160402/8e7f7837/attachment.obj>


More information about the vlc-devel mailing list