Page 1 of 1

MUD source code (again)

PostPosted: Sat Nov 24, 2001 10:39 am
by Lastfrost
Hey...Argh. I finally downloaded Developlement tools today, and when i tried to compile source code for a Smaug Mud (and a Dystopia mud) i got this message:
make: gcc: Command not found
make: *** [act_comm.o] Error 127
I got the error on the act_comm.o file for both mud source codes. What do you think the problem is? You can download the code to look at from "ftp://ftp.game.org/pub/mud/diku/merc/smaug/smaug1.4a.tgz" or the other code at "http://www.daimi.au.dk/~jobo/dystopia/download/dystopia-1.4.tar.gz"
What do you think the problem is?
~Ender

Re: MUD source code (again)

PostPosted: Sun Nov 25, 2001 1:30 am
by apex
See http://macosx.forked.net/comp.html regarding "Problem: gcc doesn't work from the command line."

Re: MUD source code (again)

PostPosted: Wed Mar 31, 2004 10:03 pm
by <Ramus>
You should check to see if the command is in interp.c or if it is declared in merc.h as DECLARE_DO_FUN(blah). just my thought, hope it helps.
Later.

Originally posted by Ender:
Hey...Argh. I finally downloaded Developlement tools today, and when i tried to compile source code for a Smaug Mud (and a Dystopia mud) i got this message:
make: gcc: Command not found
make: *** [act_comm.o] Error 127
I got the error on the act_comm.o file for both mud source codes. What do you think the problem is? You can download the code to look at from "ftp://ftp.game.org/pub/mud/diku/merc/smaug/smaug1.4a.tgz" or the other code at "http://www.daimi.au.dk/~jobo/dystopia/download/dystopia-1.4.tar.gz"
What do you think the problem is?
~Ender

Re: MUD source code (again)

PostPosted: Thu Apr 22, 2004 9:56 pm
by <OrangeTide>
Originally posted by Ender:
Hey...Argh. I finally downloaded Developlement tools today, and when i tried to compile source code for a Smaug Mud (and a Dystopia mud) i got this message:
make: gcc: Command not found
make: *** [act_comm.o] Error 127
I got the error on the act_comm.o file for both mud source codes. What do you think the problem is? You can download the code to look at from "ftp://ftp.game.org/pub/mud/diku/merc/smaug/smaug1.4a.tgz" or the other code at "http://www.daimi.au.dk/~jobo/dystopia/download/dystopia-1.4.tar.gz"
What do you think the problem is?
~Ender


The problem is MacOS X calls the compiler 'cc' and not 'gcc'. Smaug's build system foolishly sets the CC= variable to gcc instead of leaving it alone. Go into Makefile and change CC=gcc to CC=cc and try again.