lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Oct 31, 2006 at 12:39:27AM +0100, Thomas Hafner wrote:
> - RemDebug depends on several packages, LuaFileSystem 1.2 being among
>   them, that I cannot build:
> 
>   make
>   gcc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -I/usr/local/include -I../compat/src   -c -o src/lfs.o src/lfs.c
>   src/lfs.c:39:17: error: lua.h: No such file or directory
> 
>   Why? I've installed these Ubuntu Packages:
...
>   liblua5.1-0-dev  5.1-1            

If you look at the file list for this package, you'll see that the lua
headers are in /usr/include/lua5.1/, and looking at your compiler line,
that directory is not in your include path.

After compiling, you might also find that you can't link. If so, check
where liblua5.1-0-dev put the library, and make sure the Makefile uses
it.

Cheers,
Sam