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 ➜ Make via my shell

Make via my shell

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


Posted by Grif   (19 posts)  Bio
Date Tue 10 Aug 2010 02:30 AM (UTC)
Message
So I uploaded several different versions of the smaugfuss (1.9, 17) from this website and I follow the compiling page here as well. Everytime, I "make" and never get an smaug.exe.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 10 Aug 2010 03:51 AM (UTC)

Amended on Tue 10 Aug 2010 03:53 AM (UTC) by Nick Gammon

Message
What do you get? Can you post the stuff you see on the screen? (Copy and paste). And what operating system are you using?

- Nick Gammon

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

Posted by Grif   (19 posts)  Bio
Date Reply #2 on Tue 10 Aug 2010 10:03 AM (UTC)
Message
My operating system is XP. The shell OS is Slackware Linux 12.2.0. Annnnnd when I do "make" this is what I recieve (from smaugfuss 1.9 from your website here):
> make
make -s smaug
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/ban.o....
Compiling o/boards.o....
Compiling o/build.o....
Compiling o/calendar.o....
Compiling o/chess.o....
Compiling o/clans.o....
Compiling o/color.o....
Compiling o/comm.o....
Compiling o/comments.o....
Compiling o/const.o....
Compiling o/db.o....
Compiling o/deity.o....
Compiling o/dns.o....
Compiling o/fight.o....
Compiling o/handler.o....
Compiling o/hashstr.o....
Compiling o/hint.o....
Compiling o/hotboot.o....
Compiling o/imm_host.o....
Compiling o/interp.o....
Compiling o/liquids.o....
Compiling o/magic.o....
Compiling o/makeobjs.o....
Compiling o/mapout.o....
Compiling o/mapper.o....
Compiling o/mccp.o....
Compiling o/misc.o....
Compiling o/mpxset.o....
Compiling o/mssp.o....
Compiling o/mud_comm.o....
Compiling o/mud_prog.o....
Compiling o/news.o....
Compiling o/planes.o....
Compiling o/player.o....
Compiling o/polymorph.o....
Compiling o/renumber.o....
Compiling o/reset.o....
Compiling o/save.o....
Compiling o/services.o....
Compiling o/sha256.o....
Compiling o/shops.o....
Compiling o/skills.o....
Compiling o/special.o....
Compiling o/tables.o....
Compiling o/track.o....
Compiling o/update.o....
Compiling o/variables.o....
Compiling o/weather.o....
Generating dependency file ...
Done compiling mud.
make -s dns
Done compiling DNS resolver.
So then I check both the src (according to the compiling page) and the area (because when you use the precompiled version thats where the executable goes) folders, and yet neither has smaug.exe.
> ls
Makefile
act_comm.c
act_info.c
act_move.c
act_obj.c
act_wiz.c
ban.c
bet.h
boards.c
build.c
calendar.c
calendar.h
chess.c
chess.h
clans.c
color.c
color.h
comm.c
comments.c
const.c
count
db.c
deity.c
dependencies.d
dns.c
dns.h
fight.c
grind
handler.c
hashstr.c
hint.c
hint.h
hotboot.c
hotboot.h
imc.c
imc.h
imccfg.h
imm_host.c
interp.c
lines
liquids.c
liquids.h
magic.c
makeobjs.c
mapout.c
mapper.c
mapper.h
mccp.c
mccp.h
misc.c
mpxset.c
mssp.c
mssp.h
mud.h
mud_comm.c
mud_prog.c
news.c
news.h
o
planes.c
planes.h
player.c
polymorph.c
qstart
renumber.c
reset.c
resolver
resolver.c
resolver.o
save.c
services.c
sha256.c
sha256.h
shops.c
shutdown.txt
skills.c
smaug
special.c
splint.txt
startup
tables.c
track.c
update.c
variables.c
vg_suppress.supp
weather.c
weather.h
The src folder now has an smaug that wasnt there before, but its not .exe. It could just be Im a newb when it comes to all this, but I was under the impression there was supposed to be an exe.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #3 on Tue 10 Aug 2010 10:19 AM (UTC)
Message
Linux binaries rarely end with .exe. In fact, most have no extensions.

I'm willing to bet you'll want to run "./smaug" from the shell.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Grif   (19 posts)  Bio
Date Reply #4 on Tue 10 Aug 2010 10:45 AM (UTC)
Message
Does it matter what folder Im in?
Top

Posted by Grif   (19 posts)  Bio
Date Reply #5 on Tue 10 Aug 2010 10:48 AM (UTC)
Message
Ok I did what you said from the src folder since thats where the smaug was.
> ./smaug
Tue Aug 10 10:53:18 2010 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Tue Aug 10 10:53:18 2010 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Tue Aug 10 10:53:18 2010 :: Initializing libdl support...
Tue Aug 10 10:53:18 2010 :: Loading commands...
Tue Aug 10 10:53:18 2010 :: Loading spec_funs...
Tue Aug 10 10:53:18 2010 :: Loading sysdata configuration...
Tue Aug 10 10:53:18 2010 :: Loading socials
Tue Aug 10 10:53:18 2010 :: Loading skill table
Tue Aug 10 10:53:18 2010 :: Sorting skill table...
Tue Aug 10 10:53:18 2010 :: Creating skill table sorted by type...
Tue Aug 10 10:53:18 2010 :: Remapping slots to sns
Tue Aug 10 10:53:18 2010 :: Loading classes
Tue Aug 10 10:53:18 2010 :: Loading races
Tue Aug 10 10:53:18 2010 :: Loading news data
Tue Aug 10 10:53:18 2010 :: Loading liquids
Tue Aug 10 10:53:18 2010 :: Loading mixtures
Tue Aug 10 10:53:18 2010 :: Loading herb table
Tue Aug 10 10:53:18 2010 :: Loading tongues
Tue Aug 10 10:53:18 2010 :: Making wizlist
Tue Aug 10 10:53:18 2010 :: Loading MSSP Data...
Tue Aug 10 10:53:18 2010 :: Initializing random number generator
Tue Aug 10 10:53:18 2010 :: Setting time and weather.
Tue Aug 10 10:53:18 2010 :: Loading holiday chart...
Tue Aug 10 10:53:18 2010 :: Loading DNS cache...
Tue Aug 10 10:53:18 2010 :: Assigning gsn's
Tue Aug 10 10:53:18 2010 :: Reading in area files...
area.lst: No such file or directory
Top

Posted by Grif   (19 posts)  Bio
Date Reply #6 on Tue 10 Aug 2010 11:02 AM (UTC)
Message
OK so I figured it out somehow. I went into areas then ../src/smaug and now its running, thanks so much for all the help....now I just have to change the ports to my assigned from the host and Ill be golden!
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #7 on Wed 11 Aug 2010 05:01 PM (UTC)

Amended on Thu 12 Aug 2010 02:45 PM (UTC) by Conner

Message
Actually, while that will more or less work, what you really want to be doing is running ./startup & from your src directory so that the mud will stay running when you exit your shell and so that things will log correctly and restart when they're supposed to and so on. You can also change the port from within the startup file in the src folder.


[EDIT]Oops, as Twisol correctly pointed out, my /b was missing a / *mutter* stupid keyboard */mutter* - fixed now.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #8 on Wed 11 Aug 2010 05:25 PM (UTC)
Message
I think Conner forgot to end the [b] tag, so let me make it more clear:

./startup &


is the command you should run.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
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.


30,486 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.