There were dozen of name changes from lua, lua50, lua51, lua-51 to finally (?) lua-5.1. But how to find the right headers? I usually used pkg-config to get the right path, but it's meanwhile a kind of bruteforce to find the correct name /and/ to stay portable. At the moment pkg-config returns this: # pkg-config lua-5.1 --cflags -I/usr/local/include # pkg-config lua-5.1 --libs -L/usr/local/lib -llua -lm Both path are misleading. /usrlocal/lib is normally empty and the headers currently are in /usr/include/lua-5.1. Bet within the next update everything changes again - like it always does. Reproducible: Always Steps to Reproduce: Try to link something against lua: gcc -o foo foo.c `pkg-config lua-5.1 --cflags --libs` Actual Results: lua.h, lauxlib.h and lualib.h cannot be found. Expected Results: The .pc file should contain the correct paths.
Actually the DSO name has the same problem. Maybe the lua-wrapper can change the .pc file too?
ouch, the pathes were supposed to be pointing to the right locations. same for the DSO. I'll fix this asap.
In CVS.