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!
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!
FS#37311 - [lua] Missing pkg-config info for lua5.2 (and lua)
Attached to Project:
Arch Linux
Opened by Jimmy Christensen (DusteD) - Saturday, 12 October 2013, 16:56 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 19 October 2013, 11:53 GMT
Opened by Jimmy Christensen (DusteD) - Saturday, 12 October 2013, 16:56 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 19 October 2013, 11:53 GMT
|
DetailsDescription:
$ pkg-config --libs lua5.1 -llua5.1 -lm $ pkg-config --cflags lua5.1 -I/usr/include/lua5.1 But: $ pkg-config --libs 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 $ pkg-config --cflags 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 Additional info: * package version(s) extra/lua 5.2.2-1 Steps to reproduce: |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Saturday, 19 October 2013, 11:53 GMT
Reason for closing: Won't fix
Saturday, 19 October 2013, 11:53 GMT
Reason for closing: Won't fix
$ pkg-config --libs lua
-llua -lm
I believe Fedora/RH do it the same as Arch and using "lua" should be correct. Debian and it's derivatives are different.
'It makes no sense that one can request pkg-config info on version 5.1 but not 5.2 when they are both installed'
I reckon that the fix to this is trivial (have lua package install a symlink to it's pkgfile with the name of its current version; lua5.2.pc) and without implications (since older lua versions will install their own pkg-config file, overriding the symlink, meaning that when 5.2 is replaced by a new version, a package 5.2 will be created, which will (if it behaves like 5.1) install a pkg-config file named lua5.2.pc thus overriding the symlink).
All changes done to lua5.1 to make it parallel installable with lua is done by Archlinux and is not vanilla in any way. We should not apply this to 5.2.