Open nrnrnr opened 2 years ago
That seems like a bug in the Debian package: just looked here and the .pc
file provided by liblua-5.1-0-dev
has the following line: includedir=${prefix}/include
, where prefix
is defined to /usr
. This would need to be something along the lines of includedir=${prefix}/include/lua5.1
.
Please file a bug in Debian.
I'm not seeing an issue with pkg-config
(which I use heavily):
nr@homedog ~/e/r/tfp23> pkg-config --cflags lua5.1
-I/usr/include/lua5.1
I attach one of the .pc
files in the package. Please notice that although includedir
is indeed set to ${prefix}/include
, the CFLAGS are set as follows:
Cflags: -I${includedir}/${lib_name_include}
I hope I have followed the build instructions correctly. I cannot get lwan to build; it is looking for a
lua.h
, but there must be an option-I/usr/include/lua5.1
missing somewhere. Cmake finds that Lua 5.1.3 is installed, butmake
cannot build.Running on Debian stable (bullseye).
Attached is the full output from
cmake
and thenmake
in a pristinebuild
directory.