Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Linux Compiling

Linux Compiling

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Colin Barnette   USA  (49 posts)  Bio
Date Sun 13 Jul 2003 06:28 PM (UTC)
Message
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!
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 13 Jul 2003 09:11 PM (UTC)
Message
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?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Colin Barnette   USA  (49 posts)  Bio
Date Reply #2 on Sun 13 Jul 2003 10:21 PM (UTC)
Message
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#
Top

Posted by Colin Barnette   USA  (49 posts)  Bio
Date Reply #3 on Mon 14 Jul 2003 04:30 PM (UTC)
Message
Searched the forum, didn't find any solutions for this on linux.
Any Ideas?

Thanks
Top

Posted by Colin Barnette   USA  (49 posts)  Bio
Date Reply #4 on Mon 14 Jul 2003 07:15 PM (UTC)
Message
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!?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 14 Jul 2003 09:06 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


19,265 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.