Comment # 22
on bug 10572
from Edwin Groothuis
(In reply to Jeff Morriss from comment #7)
> Edwin,
>
> What do these commands output on your system?
>
> pkg-config --cflags lua
> pkg-config --libs lua
> pkg-config --cflags-only-I lua
>
> (I think our configure script is going about all the Lua detection
> incorrectly; we should just use pkg-config. But I figured I should check if
> it would work for your system before doing that...)
[~] edwin@t61>pkg-config --cflags lua
Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua', required by 'world', not found
[~] edwin@t61>pkg-config --libs lua
Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua', required by 'world', not found
[~] edwin@t61>pkg-config --cflags-only-I lua
Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua', required by 'world', not found
However...
[/usr/ports/lang/lua52] edwin@t61>pkg-config --cflags lua-5.2
-I/usr/local/include/lua52
[/usr/ports/lang/lua52] edwin@t61>pkg-config --libs lua-5.2
-L/usr/local/lib -llua-5.2 -lm
[/usr/ports/lang/lua52] edwin@t61>pkg-config --cflags-only-I lua-5.2
-I/usr/local/include/lua52
You are receiving this mail because:
- You are watching all bug changes.