[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  smaug fuss 1.6 compiling problem need help

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: smaug fuss 1.6 compiling problem need help
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 02:40 AM (UTC)  quote  ]
Message
ok i am missing a lot of stuff so i am going to backdate and start all over so after this note anything i ask will be about something new because i am going to downlaod cygwin putty pueblo smaugfuss 1.6 and i am going to try this whole thing over thanks for the help so far it has gotten me this far hopefully i will have my mud up and running before long
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 02:28 AM (UTC)  quote  ]
Message
also what gcc do i need
here is the list
gcc C compiler upgrade helper
gcc-ada Ada compiler
gcc-core C compiler
gcc-g++ C++ compiler
gcc-g77 Fortran compiler
gcc-gdc D compiler
gcc-gm2 GNU Modula 2 compiler
gcc-gpc GNU Pascal compiler
gcc-java Java compiler
gcc-mingw Mingw32 GCC compiler upgrade helper
gcc-mingw-ada Mingw32 support headers and libraries for GCC Ada
gcc-mingw-core Mingw32 support headers and libraries for GCC
gcc-mingw-g++ Mingw32 support headers and libraries for GCC C++
gcc-mingw-g77 Mingw32 support headers and libraries for GCC Fortran
gcc-mingw-gdc D compiler
gcc-mingw-gpc Mingw32 support headers and libraries for GCC Pascal
gcc-mingw-java Mingw32 support headers and libraries for GCC Java
gcc-mingw-objc Mingw32 support headers and libraries for GCC ObjC
gcc-objc ObjC compiler
gcc-testsuite GCC testsuite sources
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 02:03 AM (UTC)  quote  ]
Message
ok i am downloading cygwin and now i found a site that has cygwin packages such ass gcc make and stuff so i am going to download gcc and make so that it will work right
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:56 AM (UTC)  quote  ]
Message
this would probally work except for one error....i uninstalled cygwin completely and downloaded it again but the make and all in devel were n/a n/a so i cant even put them in cygwin is there somewhere where i can download something other then cygwin or down load a cygwin that will have all this stuff in it?
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:44 AM (UTC)  quote  ]
Message
All you need is:

Basic Cygwin install.

gcc ( and g++ if you ever decide to go that route )
make
tcsh shell package ( sometimes )
tar and gzip if they aren't already selected.

Then once it's all setup, use the cygwin.bat file so it can properly create the home dir etc.

Unpack the tgz package: tar -xzvf smaug16fuss.tgz
cd SmaugFUSS/src

Edit the Makefile, uncomment the Cygwin flag.
Save, then type make. Should sail along nice and smooth.

If you get trouble from the time stuff, see my other post on this for the solution.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:42 AM (UTC)  quote  ]
Message
here is my makefile

CC = gcc
#PROF = -p

#Uncomment to compile in Cygwin
#CYGWIN =

-DCYGWIN

# Uncomment the two lines below if compiling on a Solaris box
#SOLARIS_FLAG = -Dsun -DSYSV
#SOLARIS_LINK = -lnsl -lsocket

#IMC2 -

Comment out to disable IMC2 support
IMC = 1

W_FLAGS = -Wall -Werror

-Wshadow -Wformat-security -Wpointer-arith -Wcast-align -Wredundant-decls

C_FLAGS = -g2 $(W_FLAGS) $(SOLARIS_FLAG) $(PROF)
L_FLAGS = $(PROF)

$(SOLARIS_LINK)

C_FILES = act_comm.c act_info.c act_move.c act_obj.c

act_wiz.c ban.c boards.c \
build.c clans.c color.c comm.c comments.c const.c db.c

deity.c fight.c \
handler.c hashstr.c hotboot.c imm_host.c interp.c magic.c makeobjs.c

mapout.c \
md5.c misc.c mpxset.c mud_comm.c mud_prog.c planes.c player.c

polymorph.c \
reset.c save.c services.c shops.c skills.c special.c tables.c \


track.c update.c

ifdef IMC
C_FILES := imc.c $(C_FILES)
C_FLAGS :=

$(C_FLAGS) -DIMC -DIMCSMAUG
endif

O_FILES := $(patsubst

%.c,o/%.o,$(C_FILES))

H_FILES = $(wildcard *.h)

all:
$(MAKE) -s

smaug

ifdef CYGWIN
smaug: $(O_FILES)
rm -f smaug.exe
$(CC) -o

smaug.exe $(O_FILES) $(L_FLAGS)
echo "Done compiling mud.";
chmod

g+w smaug.exe
chmod a+x smaug.exe
chmod g+w $(O_FILES)

clean:
rm -f o/*.o smaug.exe *~
else
smaug: $(O_FILES)
rm -f smaug


$(CC) -o smaug $(O_FILES) $(L_FLAGS)
echo "Done compiling mud.";
chmod

g+w smaug
chmod a+x smaug
chmod g+w $(O_FILES)

clean:


rm -f o/*.o smaug *~
endif

indent:
indent -ts3 -nut -nsaf -nsai -nsaw -npcs -npsl

-ncs -nbc -bls -prs -bap -cbi0 -cli3 -bli0 -l125 -lp -i3 -cdb -c1 -cd1 -sc -pmt

$(C_FILES)
indent -ts3 -nut -nsaf -nsai -nsaw -npcs -npsl -ncs -nbc -bls -prs

-bap -cbi0 -cli3 -bli0 -l125 -lp -i3 -cdb -c1 -cd1 -sc -pmt $(H_FILES)

indentclean:


rm *.c~ *.h~

o/%.o: %.c
echo " Compiling $@....";
$(CC) -c

$(C_FLAGS) $< -o $@

.c.o: mud.h
$(CC) -c $(C_FLAGS) $<
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:41 AM (UTC)  quote  ]
Message
ok i clicked and downloaded everything to cygwin but it still says bash: make: command not found
i am baffled i really dont want to give up the mud idea because i want to get through it and i dont want to give up but this is seeming really hard but it seems like you guys think these are the dumbest questions ever
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:36 AM (UTC)  quote  ]
Message
ok so could i get a detailed walk through that way i can see if i am missing anything out please
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Wed 14 Sep 2005 01:19 AM (UTC)  quote  ]
Message
Yes, I suggest to stick with FUSS. With the Cygwin flag on in the Makefile, it should compile without problems.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:16 AM (UTC)  quote  ]
Message
ok i could not find exactly what i was looking for in the cygwin download box so i just checked everything and it is downloading right now
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:11 AM (UTC)  quote  ]
Message
grrr ok i am about to download cygwin correctly then ill delete the smaug i have in my pc now and download smaug fuss then go through the cygwin until it compiles properly
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:08 AM (UTC)  quote  ]
Message
ok i decided to go a different route i downloaded smaug.14a_mxp .tgz and i am working through it but im sure ill run into some errors but i dont think i downloaded cygwin properly so i think ill look through that and download gcc and the other thing you mentioned
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Wed 14 Sep 2005 01:05 AM (UTC)  quote  ]
Message
Well I think by his last error "bad interpreter", he didn't install the correct Cygwin packages...

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:00 AM (UTC)  quote  ]
Message
Was going to say, that first batch was not the FUSS code by any stretch, could never have been. Anyway, good you got that part worked out.

As for "make" not working, are you sure you downloaded the Cygwin version of make from the setup utility? It's in the devel section not far below where you installed gcc

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Wed 14 Sep 2005 12:43 AM (UTC)  quote  ]
Message
Can you paste the exact lines of the error?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] 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.


7,041 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]