MudOS and Lima's Mudlib..

Posted by Microp on Wed 01 May 2002 06:52 PM — 8 posts, 33,740 views.

USA #0
After investigating PennMUSH I was reffered to MudOS as being more closely fitting to my (adventure) Mud Plans.

[Command-driven AS WELL AS RP-driven.]

So as of now MudOS and DoT are neck and neck as my final choice for codebase.



I was also recommended Lima's Mudlib which as I gather is sort of a code companion to MudOS which is well written with many valuable programs.

I downloaded both, and tar xf 'it. But am running into difficulties.

Is anyone familiar with either of these?

I am new to both and am in need of some desperate grounding.

*Hopes Nick is familiar with both.*

I haven't turned up much useful helpwise from the net for MudOS or Lima's Mudlib. They're not like Smaug (which seems most popular) and has a wealth of guides 'out there'.
USA #1
After attempting to compile MudOS on Cygwin, I get a reference to a missing program "Bison/Yacc".

Bison (replacement of Yacc) can be downloaded at: http://www.gnu.org/software/bison/bison.html

Latest Version (as far as I know)..
bison-1.35.tar.gz

Any information/advice/guidance would be most welcome.

How do I "add" bison to MudOS so that it can compile..?

..I'm rather confused :)
Amended on Wed 01 May 2002 07:47 PM by Microp
Australia Forum Administrator #2
You would add it to Cygwin. The basic steps would be:

* Go to that web page
* Download the file (put in Cygwin directory, eg. your home directory)
* Un-tar it (eg. tar xvzf bison-1.35.tar.gz )
* Read the "readme" files
* Probably build it by typing "make"
* Hope for the best

I think Bison is a "compiler-compiler". I haven't used it, or MUD OS. All I can say is "good luck".
USA #3
Still no luck compiling Bison, I got into the src directory and tried >make, >make bison-1.35, >build, and build bison-1.35..

I am unable to open the README file with Ultraedit or wordpad so I've no idea of the advice it gives. If I can get into the readme file I'm sure I'll be able to take it from there. The readme file is listed in it's properties as simply "file".
USA #4
With those types of files when running Windows normally you can open them in Notepad or at least Right Click and quick view which should let you view whats in it.

Creep

Don't know if it's any help though.
Australia Forum Administrator #5
When using Cygwin you can use "vi" to read any file. Just type:

vi README

vi can be a bit obscure, but for reading files, just use:


PgUp - go up a page
PgDn - go down a page
1G   - go to start of file
G    - go to end of file
:q   - exit program


More simply, you can just use "less", ie.

less README

Just press the "space" key to advance pages, and "q" to quit.
Amended on Fri 03 May 2002 11:51 PM by Nick Gammon
USA #6
I got into Bison's readme file and here's what it said regarding compiling the src..



The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with
the package.

4. Type `make install' to install the programs and any data files and
documentation.

5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.



Yet when I try it..

My Name@COMP01 c:/compiler/mush/mudos/bison-1.35/src
$ ./configure
BASH: ./configure: No such file or directory

My Name@COMP01 c:/compiler/mush/mudos/bison-1.35/src
$ sh ./configure
./configure: Can't open ./configure: No such file or directory


???
Australia Forum Administrator #7
The instructions are wrong. If you do a "ls" you can see that "configure" is in the directory *above* src (ie. the main Bison directory).

Go up a level (cd ..) and try again.