Source MUD
Source MUDNewsWikiBugsForumFilesSourceGIT LoginRegister
HomeBugsBug #0003
Compile fails using the latest snapshot
Bug #0003
Reported by Thomas Schwarz
May 7th, 2008 at 5:25am EDT
When trying to compile the latest snapshot from the files section I get the following error:
~/source-mud-0.0.08030201$ make
depbase=`echo src/http.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I./include -I./include -g -O2 -MT src/http.o -MD -MP -MF $depbase.Tpo -c -o src/http.o src/http.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from src/http.cc:10:
./include/lua.h:5:19: error: lua.hpp: No such file or directory

Is the file lua.hpp missing from the distribution or should it have been generated in the compiling process?

Comment from Elanthis
May 7th, 2008 at 9:53pm
lua.hpp is part of the Lua package, found at http://lua.org. SourceMUD uses Lua for its internal scripting language support. If this is on a Linux system with Lua installed from packages, you may need to install the devel packages to get the Lua headers. On Fedora, that would be lua-devel.

Comment from Thomas Schwarz
May 9th, 2008 at 8:17am
Thanks for the info. By the way: Is Lua 5 ok or is Lua 4 necessary?
(I found debian packages for both lua versions.)

Comment from Elanthis
May 9th, 2008 at 11:39am
Lua 5.

Comment from Elanthis
May 9th, 2008 at 12:21pm
Lua 5.

Additional Comments:
or Login