Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10515 - [elinks] no lua support

Attached to Project: Arch Linux
Opened by Julien Ugon (bzklrm) - Monday, 26 May 2008, 22:45 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 01 November 2009, 15:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: Despite lua being a dependency of the elinks package (hence bug report), the current elinks version (0.11.4rc1-1) does not seem to support lua.


Steps to reproduce:
1) echo 'function pre_format_html_hook (url, html) return "FOO" end' > .elinks/hooks.lua
2) fire elinks "http://www.archlinux.org"

If there is lua support you should see "FOO" instead of the archlinux webpage.

When trying to build the package from abs, it seems that the problem stems from the lualib library not being found.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 01 November 2009, 15:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  elinks 0.11.7-1
Comment by Julien Ugon (bzklrm) - Tuesday, 27 May 2008, 01:36 GMT
In fact it seems to be an upstream bug: elinks supports lua 5.0, not 5.1 (see http://bugzilla.elinks.cz/show_bug.cgi?id=742).
If you apply both patches attached in the comments (331 and 353), and add the line:
sed -i 's/-llualib$suffix//' configure
in the PKGBUILD, lua support will be added.

Loading...