|
Author |
Topic: Awakemud on Cygwin |
Title: Neophyte
Posts: 11
Joined: 30 Apr 2006
|
Date Posted: Sun Apr 30, 2006 5:22 pm
Subject: Awakemud on Cygwin
|
I was just curious as I cannot get awakemud to run on cygwin. Has anyone else been able to get it working? Ive tried everything includeing editing the makefile and not editing it. Compiling it a million times, and still nothing. It always happens when I try and use autorun it kicks back saying cannot find the syslogs and its stuck in a continuoue loop.
Heres my process so maybe I might be doing something wrong.
Code: | Mike@mainserv ~
$ tar -xvf awakemud-0.8.16b.tar.tar
~scrolls through all the files as it extracts~
AwakeMUD-0.8.16B/autorun
tar: Error exit delayed from previous errors |
then I go into the makefile and pico it:
Code: | # MYFLAGS = -ggdb3 -Wall -Wno-unused -DDEBUG -Dlinux -O
MYFLAGS = -Dcygwin
CPPFLAGS = $(MYFLAGS) $(PROFILE) |
I change the -Dlinux to -Dcygwin.
Then I go to the root folder:
Code: | Mike@mainserv ~/awakemud-0.8.16b
$ ./autorun
limit: Command not found.
bin/awake: Command not found.
rm: cannot remove `log/syslog.1': No such file or directory
mv: cannot stat `log/syslog.2': No such file or directory
mv: cannot stat `log/syslog.3': No such file or directory
mv: cannot stat `log/syslog.4': No such file or directory
mv: cannot stat `log/syslog.5': No such file or directory
mv: cannot stat `log/syslog.6': No such file or directory
bin/awake: Command not found. |
I execute autorun and it comes back with these errors. and it keeps repeating them in a continuous loop. Ive tried a lot of different things and nothing with no result. So im thinking maybe my its something im doing. If anyone could help I would greatly appreciate it.
|
Post Reply | Quote | Private Message
|
Title: Site Admin
Posts: 559
Joined: 03 Apr 2005
|
Date Posted: Sun Apr 30, 2006 10:50 pm
Subject:
|
You have to go into the source directory and type "Make" first. There is no binary in release package.
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 11
Joined: 30 Apr 2006
|
Date Posted: Sun Apr 30, 2006 10:51 pm
Subject:
|
Im sorry I didnt include that but yes I did make the makefile. I did a make clean and a make.
|
Post Reply | Quote | Private Message
|
Title: Site Admin
Posts: 559
Joined: 03 Apr 2005
|
Date Posted: Sun Apr 30, 2006 11:55 pm
Subject:
|
run it with bin/awake <port> then
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 11
Joined: 30 Apr 2006
|
Date Posted: Mon May 01, 2006 12:09 am
Subject:
|
Ahh okay Ive done this too. It leads to a seg fault error and core dumping due to various syserrs as follows:
Code: |
Apr 30 20:03:25 :: Johnson #0 does not exist (quest #0)
Apr 30 20:03:25 :: Shopkeepers.
Apr 30 20:03:25 :: Shopkeeper #0 does not exist (shop #1004)
Apr 30 20:03:25 :: Objects.
~
Apr 30 20:03:25 :: Sorting command list.
Apr 30 20:03:25 :: Initializing board system:
Apr 30 20:03:25 :: --Board #2104 does not exist; disabling _entire_ system
~
Apr 30 20:03:25 :: SYSERR: Attempt to assign spec to non-existant mob #6401
Segmentation fault (core dumped)
|
Any Ideas?
|
Post Reply | Quote | Private Message
|
Title: Site Admin
Posts: 559
Joined: 03 Apr 2005
|
Date Posted: Mon May 01, 2006 2:09 am
Subject:
|
The crashing has nothing to with the syserrs. Grab all of the latest code from the www.awakenedworld.net/src directory. Cygwin handles some decleration stuff slightly different and that code should fix it.
Keep your original transport.cpp though.
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 11
Joined: 30 Apr 2006
|
Date Posted: Mon May 01, 2006 10:17 pm
Subject:
|
Okay I did all that and it still did not work, so I said screw it and loaded it up on openbsd and it works just fine, go figure. Anyway now my question brings me to I think I dont think the permission where set right when I tared the distro out as now i get all sorts of funky permission denied especially in the pfiles causeing the mud to reboot on logon. Out of fustration I made the archive r/w/x on all files across the board for user, group, and others.
Only after i took a break from it did i realize that perhaps certain permisions are needed to remain intact. My question is do you forsee this has being a problem in the future? Or should I just start reinstalling again before I start to gut the distro out?
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 2
Joined: 12 Dec 2006
|
Date Posted: Thu Dec 14, 2006 9:37 am
Subject: ^bump
|
I have the segfault/core dump thing happening in Cygwin also. I tried using the latest code as suggested in an earlier post but that generated a buttload of compile time errors. So, how does one go about running AwakeMUD in a Cygwin environment? 
-----signature----- - siggie -
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 2
Joined: 12 Dec 2006
|
Date Posted: Sat Dec 16, 2006 3:41 am
Subject:
|
That log is large. Runs fine on a POSIX system - Cygwin's just a bit finicky with the orphaned vnums. If I ever get it to work maybe I'll post a how-to thread (unless someone beats me to the punch).
Anyway, rambling. Thank you for the pointer, neo. 
-----signature----- - siggie -
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 25
Joined: 10 Apr 2008
|
Date Posted: Fri Apr 18, 2008 7:10 am
Subject:
|
when I try to make under cygwin, I get a long list of errors saying cannot find *.d files,
Makefile:126: zedit.d: No such file or directory
, etc. for each file in the src directory, it cannot find a corresponding .d file.
Am I missing a step to create these depend files, or what?
|
Post Reply | Quote | Private Message
|
Title: Site Admin
Posts: 559
Joined: 03 Apr 2005
|
Date Posted: Fri Apr 18, 2008 12:04 pm
Subject:
|
They should be created automatically, if you are making from clean source then these errors are normal
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 25
Joined: 10 Apr 2008
|
Date Posted: Fri Apr 18, 2008 8:30 pm
Subject:
|
This is what i get when i make...
Description: |
|
Filesize: |
170.17 KB |
Viewed: |
9166 Time(s) |

|
|
Post Reply | Quote | Private Message
|
Title: Site Admin
Posts: 559
Joined: 03 Apr 2005
|
Date Posted: Fri Apr 18, 2008 9:46 pm
Subject:
|
The *.d is normal. The one you should be woried about is /bin/sh not found.
You need sh to run the makefile
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 25
Joined: 10 Apr 2008
|
Date Posted: Sat Apr 19, 2008 12:48 am
Subject:
|
I have sh, but for some reason cygwin isn't finding it... Don't know if maybe I have my cygwin serup wrong, or if I need to change something in the makefile?
|
Post Reply | Quote | Private Message
|
Title: Neophyte
Posts: 1
Joined: 06 Feb 2007
|
Date Posted: Sat Apr 19, 2008 6:50 am
Subject:
|
Does your path point to the /bin directory?
|
Post Reply | Quote | Private Message
|
|
|
Awakened Worlds Forum Index » AwakeMUD Core Development |
|
All times are GMT Goto page 1, 2 Next
|
Page 1 of 2 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
The time now is Mon Dec 09, 2019 7:16 pm
|
powered by hailBoards v.1.2.0 ©2006 SPIRE / [based on phpBB©]
|
| |