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 ➜ So strange...

So strange...

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


Posted by DemiGod   (22 posts)  Bio
Date Wed 13 Aug 2008 05:27 AM (UTC)
Message
So i downloaded and installed Cygwin and used Nick's tutorial on how to compile smaugFuss 1.9, only..

there is only one makefile. No makefile.cygwin.

So i left it as is and tried to "make" and it says that the command is not found. Am i completely missing something?

- D
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Wed 13 Aug 2008 02:55 PM (UTC)
Message
Did you install the 'make' package from Cygwin's package manager?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by DemiGod   (22 posts)  Bio
Date Reply #2 on Thu 14 Aug 2008 06:25 PM (UTC)
Message
So I had not installed all the components necessary previously.

I went back through Nick's tutorial's and installation guides and have done so according to his lists.

I "LS" the SRC directory of my copy of SWR and again, only see one makefile.

I go ahead and type "make" just to see what happens:

$make
make -s swreality
Compiling o/imc.o
Assembler messages:
Fatal error: can't create o/imc.o: No such file or directory
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Thu 14 Aug 2008 07:33 PM (UTC)
Message
Try doing "mkdir o" from the src directory.

I'm confused why you see just the makefile and no source files, though.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by DemiGod   (22 posts)  Bio
Date Reply #4 on Thu 14 Aug 2008 07:38 PM (UTC)

Amended on Thu 14 Aug 2008 07:57 PM (UTC) by DemiGod

Message
No no, I see all the source files and the Makefile but no Makefile.cygwin, which he says to change in his tutorial.

Anyways, it doesn't compile when I "make".


Edit: making that DIR let it compile. Nice debugging.

Any idea where I put the final .exe file to start it? I changed to the AREA directory and ran ../src/swreality.exe and when it loads I get a bunch of BUG's and it's saying "NULL room! Putting [name of char] in limbo <2>"
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Thu 14 Aug 2008 08:04 PM (UTC)
Message
Normally you don't move anything and starting up from the area directory works. Did you try running with the startup script?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by DemiGod   (22 posts)  Bio
Date Reply #6 on Thu 14 Aug 2008 08:25 PM (UTC)

Amended on Thu 14 Aug 2008 08:32 PM (UTC) by DemiGod

Message
Startup script... that's the... the...

What startup script?

[consider your sanity saved]
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #7 on Thu 14 Aug 2008 10:09 PM (UTC)
Message
There should be a file in src called "startup" or something like that. It's a script that takes care of starting the server with logging set up and restarting it if it ties. Sometimes it does useful things like setting the directory correctly, which could be why your areas aren't loading.

To run it, just go to src and type ./startup



You know, there is another possibility for why this isn't working. Are you unzipping using winzip? If so, try unzipping using the Linux program. Assuming your archive is something like smaug.tgz, you would type: tar -xzf smaug.tgz

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #8 on Fri 15 Aug 2008 12:05 AM (UTC)
Message
There is no makefile.cygwin included with SmaugFUSS because such a thing is not necessary. You just need to be sure you've got the Makefile flag for Cygwin uncommented properly. The compiler will handle it from there.
Top

Posted by DemiGod   (22 posts)  Bio
Date Reply #9 on Fri 15 Aug 2008 12:55 PM (UTC)

Amended on Fri 15 Aug 2008 02:51 PM (UTC) by DemiGod

Message
Ok..

Using cygwin to unzip the source created some directories that weren't there before, so good start.

I compiled everything ok.

I ran the startup script and get:

limit: Command not found.
limit: Command not found.

just like that, and then it hangs.


Also, regarding the problem of seeing "NULL room! Putting [name of char] in limbo <2>"...

This thread.. http://www.smaugmuds.org/index.php?a=topic&t=2378 .. is the only other place I see someone with the problem. Could this bugfix you guys took care of potentially have been the cause for all this?
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.


27,212 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.