Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

lua5.1.4 pkg-config.pc file breaks anything linking to lua with pkg-config #1876

Closed
atr000 opened this issue Jul 16, 2010 · 1 comment
Closed

Comments

@atr000
Copy link
Contributor

atr000 commented Jul 16, 2010

Looks well documented and I've not done much with lua beyond linking against it, but a quick google wound up finding a few people with identical situations of lua 5.1 breaking.

file: /usr/local/lib/pkgconfig/lua.pc

that gets installed without any error, but the pc file it installs for pkg-config has
a bad typo on line 15:

INSTALL_MAN= ${man1}

I wanted to see if it could quickly be fixed with a comment out since everything else
parsed properly and I only needed lua to link against.

ran a brew install quvi right after and finally got it to install.

im not sure how many other packages link against lua, though, but it looks to be fixed
from what another wiki mentioned. unfortunately it looks like 5.1.4 is two years old and
they publish offical "patches" like Vim did for years, so I was not able to find anything
nor do enough with lua to ponder any more.

the 'bug tracker': http://www.lua.org/bugs.html

And the better of many reports that seemed to have the same issue:
http://www.kdedevelopers.org/node/3930

so, short term, just comment out line 15 and pkg-config works again.

@adamv
Copy link
Contributor

adamv commented Jul 16, 2010

Fix lua.pc

Closed by 5f6a9f5

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 12, 2012
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants