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
➜ ROM
➜ Compiling the server
➜ ROM 2.4b6 Initial Compile
ROM 2.4b6 Initial Compile
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
Posted by
| Faeral
(3 posts) Bio
|
Date
| Tue 12 Mar 2002 06:08 AM (UTC) |
Message
| To start with the background:
PII 400, Windows XP with Cygwin (downloaded EVERYTHING on initial install of that).
I untar the file 'tar xzf Rom24b6.tar.gz', it unpacks, goto the src directory to do compile 'make -k' and get the following on my make.out:
db.c:56: conflicting types for 'srandom'
make: *** [db.o] Error 1
make: Target 'rom' not remade because of errors
Any suggestions or help would be appreciated | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 12 Mar 2002 08:05 AM (UTC) |
Message
| There is a mention of fixing the random problem in another post on this forum (a little way down) - see ROM server with cygnus |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Faeral
(3 posts) Bio
|
Date
| Reply #2 on Tue 12 Mar 2002 09:26 AM (UTC) |
Message
| Fantastic!
Compiled well. Go to startup and receive:
$ bash: ./startup: /bin/csh: bad interpreter: No such file or directory
[1]+ Exit 126 ./startup
Bleh! The problems with learning. Appreciate the help though: input and insight most welcome! | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 12 Mar 2002 10:46 AM (UTC) Amended on Tue 12 Mar 2002 10:47 AM (UTC) by Nick Gammon
|
Message
| On my web page How to make changes, including compiling I mention that under Cygwin it appears that tcsh is the shell to use, not csh. In other words, amend the startup script slightly to change csh into tcsh. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Kalle Balle
(1 post) Bio
|
Date
| Reply #4 on Wed 20 Mar 2002 08:45 PM (UTC) |
Message
| I have some problems with startup for my rom24b6 also, anyway after i compiled and type:
startup &
It says...
[2] 32639
startup: Command not found.
..and after type something else ...
[2] Exit 1 startup
...pops up. Well, i got no clue atm what to do(only im sure of is that i dont have a startup file, obviously)... tryed the stuff you listed above but without any results.
Got any idea what I can try? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #5 on Wed 20 Mar 2002 08:58 PM (UTC) |
Message
| It says "[2] Exit 1 startup " because you ran it "in the background". Leave off the "&" and you will run it at your terminal, which you may as well do while you debug.
In my copy of ROM the startup file was in the area directory. Did you change to that directory before typing "startup"? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| To4ri2n0
(2 posts) Bio
|
Date
| Reply #6 on Thu 27 Feb 2003 12:15 AM (UTC) |
Message
| Cygwin is not a unix shell and most things that work on unix will not work with cygwin. With that being said to startup a mud with cygwin you need to copy rom.exe and paste it in the directory with area.lst which should be the same as the area directory. Next goto your area dir, cd rom24/area, and simply type ./rom
That should get the mud started, wait for it to say rom is ready to rock on port 4000 for conformation.
This was written because ppl that dont know cygwin will tell you things that just arent true. | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #7 on Tue 04 Mar 2003 12:43 AM (UTC) |
Message
| There is a danger you will forget to do the copy after recompiling. Just as easily, change directories, but execute from the source directory. eg.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nanashi
(6 posts) Bio
|
Date
| Reply #8 on Wed 26 Nov 2003 08:57 PM (UTC) |
Message
| Even with tcsh installed in the Cygwin package, is it possible to run startup scripts at all? | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #9 on Thu 27 Nov 2003 06:33 PM (UTC) |
Message
| As long as you have tcsh installed, or something else that works, you won't have any problems. I've run my codebase in Cygwin before without a problem, and without it complaining about the shell not being there. I don't specifically recall installing tcsh, but apparently it must have been since it seems to work.
It may be worth considering an update to the more recent versions of Cygwin. Most of the complaints I see are lingering rumors and half-truths left over from the older b20 days. There simply isn't any truth to any of those anymore. Go over to www.cygwin.com and download the latest setup.exe they have and have at it. | Top |
|
Posted by
| Nanashi
(6 posts) Bio
|
Date
| Reply #10 on Fri 28 Nov 2003 02:38 AM (UTC) |
Message
| Well, I am having some problems getting the startup script running despite the presence of tcsh.
In the /rom24/area directory, where the script is located, I have this happening:
$ startup &
BASH: startup: command not found
[1] 495033
[1]+ Exit 127 startup
What am I missing here? The source has already been compiled(with GCC raising a stink about ambiguous if/elses). | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #11 on Fri 28 Nov 2003 02:48 AM (UTC) |
Message
| Try this:
./startup &
Note the "dot slash". It's generally necessary in *nix, and since Cygwin seeks to emulate this, it's necessary here too. :) | Top |
|
Posted by
| Nanashi
(6 posts) Bio
|
Date
| Reply #12 on Fri 28 Nov 2003 03:19 AM (UTC) |
Message
| Hmm..it seems to be running, according to ps:
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
138117 1 138117 4294829179 con 663 22:14:27 /usr/bin/BASH
427169 138117 427169 4294698991 con 663 22:16:04 /usr/bin/TCSH
438801 138117 438801 4294659975 con 663 22:16:22 /usr/bin/PS
However, when I attempt to connect to my own machine, it refuses the connection. The script itself is the default one included with ROM; no changes have been made to it.
| Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #14 on Mon 29 Dec 2003 08:42 PM (UTC) Amended on Mon 29 Dec 2003 08:43 PM (UTC) by Nick Gammon
|
Message
|
- When I do it under ps I see the ROM server itself, like this:
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
193 1 193 193 con 1000 06:57:48 /usr/bin/bash
224 1 224 224 con 1000 07:36:19 /usr/bin/bash
277 193 277 273 con 1000 07:38:18 /usr/bin/tcsh
249 277 277 255 con 1000 07:38:19 /home/nick/Rom24/src/rom
271 224 271 279 con 1000 07:38:37 /usr/bin/ps
- You haven't said whether you have eliminated the message:
$ startup &
BASH: startup: command not found
If not, I don't expect to be able to connect.
- In my startup file, I see the lines:
# Set the port number.
set port = 9000
if ( "$1" != "" ) set port="$1"
It seems it is defaulting to port 9000, not 4000, if you use the startup file without an argument. Have you tried connecting to port 9000?
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
61,562 views.
This is page 1, subject is 2 pages long: 1 2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top