xenith-studios / ataxia

A modern MUD engine written in Rust with embedded Lua scripting for game logic.
Apache License 2.0
68 stars 6 forks source link

fatal error: libtelnet.h: No such file or directory #1

Closed JLarky closed 13 years ago

JLarky commented 13 years ago

On Debian testin I do

$ make
Building packages...
make -C lib/telnet install
make[1]: Entering directory `/home/jlarky/ataxia/lib/telnet'
CGOPKGPATH= cgo -- -Ilibtelnet -DHAVE_ZLIB telnet.go 
telnet.h:1:23: fatal error: libtelnet.h: No such file or directory
compilation terminated.
make[1]: *** [_obj/_cgo_run] Error 2
make[1]: Leaving directory `/home/jlarky/ataxia/lib/telnet'
make: *** [pkgs] Error 2

I have file /usr/include/arpa/telnet.h but I'm not sure that it's what go wanted

xenith commented 13 years ago

This was due to libtelnet not being bundled in the source tree, but rather included as a git submodule. The latest push has removed it as a submodule and bundled the source directly. Give it a try and let me know if it still errors out for you.