|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65953 LUA 5.1 build
Submitted: 2013-10-23 17:19 UTC Modified: 2017-08-08 04:12 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: Assigned: laruence (profile)
Status: Closed Package: lua (PECL)
PHP Version: 5.5.5 OS: GNU/Linux (Fedora 19)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
38 - 25 = ?
Subscribe to this entry?

 [2013-10-23 17:19 UTC]
Is LUA 5.1 still supported.

Build fails for 2 undefined constant : LUA_OK and LUA_ERRGCMM

Proposal for LUA_OK

#ifndef LUA_OK
#define LUA_OK 0

Proposal for LUA_ERRGCMM

P.S. I haven't found the official sources repo.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-23 17:21 UTC]
With those proposal, build is ok.

2 minor problems in test suite because of different error messages.

$ cat tests/001.diff
003+ [string "line"]:1: '=' expected near 'code'
003- [string "line"]:1: syntax error near 'code'

$ cat tests/001.diff
003+ [string "line"]:1: '=' expected near 'code'
003- [string "line"]:1: syntax error near 'code'[remi@schrodingerscat lua-1.1.0 (master)]$ cat tests/006.diff
005+ ...pmbuild/SPECS/remirepo/php/pecl/php-pecl-lua/lua-1.1.0/tests/006.php.tmp:1: '=' expected near 'fdrg'
005- %s:%d: syntax error near 'fdrg'
 [2017-07-28 09:02 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: laruence
 [2017-07-28 09:02 UTC]
It seems like the package is active, maybe Xinchen can give us some insight whether or not to fix it like this
 [2017-08-08 04:12 UTC]
-Status: Assigned +Status: Closed
 [2017-08-08 04:12 UTC]
this should already be fixed in release
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 08:01:28 2023 UTC