So strange...

Posted by DemiGod on Wed 13 Aug 2008 05:27 AM — 10 posts, 37,068 views.

#0
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
USA #1
Did you install the 'make' package from Cygwin's package manager?
#2
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
USA #3
Try doing "mkdir o" from the src directory.

I'm confused why you see just the makefile and no source files, though.
#4
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>"
Amended on Thu 14 Aug 2008 07:57 PM by DemiGod
USA #5
Normally you don't move anything and starting up from the area directory works. Did you try running with the startup script?
#6
Startup script... that's the... the...

What startup script?

[consider your sanity saved]
Amended on Thu 14 Aug 2008 08:32 PM by DemiGod
USA #7
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
USA #8
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.
#9
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?