I'mmm Back! After that huge, unsuccessful struggle to compling in windows, I decided it was time to go linux. I built my self a box for $300 USD and I have Debian 3 'woody' on here.
I grabbed the bugfixed version of 1.4a and tried to make all. My errors are all pertaining to missing headers. I downloaded the libs I needed(I think) and I dpkg'd 'em into their default folders. This didn't do anything to help.
Any Ideas?
Thanks!
It should compile OK under Linux. Downloading libs will not help with missing headers (unless, I suppose, the libs come with extra headers) but the headers are all pretty standard.
I usually compile under Linux without having to install anything. What headers are missing?
Here are my errors when I try to make:
make[1]: Entering directory `/root/smaug/src'
gcc -c -O -g3 -Wuninitialized -DSMAUG act_comm.c
act_comm.c:19: sys/types.h: No such file or directory
act_comm.c:20: ctype.h: No such file or directory
act_comm.c:21: stdio.h: No such file or directory
act_comm.c:22: string.h: No such file or directory
act_comm.c:23: time.h: No such file or directory
In file included from act_comm.c:32:
mud.h:20: stdio.h: No such file or directory
mud.h:21: stdlib.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
from mud.h:22,
from act_comm.c:32:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such file
or directory
In file included from act_comm.c:32:
mud.h:35: unistd.h: No such file or directory
mud.h:37: sys/cdefs.h: No such file or directory
mud.h:41: sys/time.h: No such file or directory
act_comm.c:40: regex.h: No such file or directory
make[1]: *** [act_comm.o] Error 1
make[1]: Leaving directory `/root/smaug/src'
make: *** [all] Error 2
debserv:~/smaug/src#
Searched the forum, didn't find any solutions for this on linux.
Any Ideas?
Thanks
Ok, I got it to compile (I didnt have the headers in the
right places.) Now thought, I can't start smaug, if I run
the exe by it self, it doesnt do the directory change and
therefore cant find the first file it looks for (area.lst).
When I try to run the startup shell script, it just sits
there not doing anything.
ARGH! What do I do!?
Well, you can always change directories yourself for testing. eg. after a compile:
cd ../area
../src/smaug
As for the shell script, I am not a scripting expert, maybe you don't have the correct shell installed. Try putting echoes into the script to see how far it gets.