User Name:


Forgot your password?
Vote for Us!
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google

Members: 0
Guests: 7
Newest Member
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » compling with cygwin, newbie ...
Forum Rules | Mark all | Recent Posts

compling with cygwin, newbie needs help
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 20, 2005, 1:52 pm
Go to the top of the page
Go to the bottom of the page


JoinedMay 11, 2005

First, I am a newbie to shell and coding. I have always been a builder. I am wanting to install afkmud on my computer, mostly to play around with both in terms of building and learning to code. I have downloaded cygwin, don't know if I downloaded everything I needed. I followed a site that gave advice on what packages to get for smaug.

I have also downloaded afkmud and tried to make it and got this

$ make
make -s afkmud
Compiling o/mudmsg.o....
make[1]: g++: Command not found
make[1]: *** [o/mudmsg.o] Error 127
make: *** [all] Error 2

I read the install directions and I am not clear on who to do a few things. i.e. Uncomment the WINDOZE marker. Comment the NEED_DL marker

If someone would either post or email a newbie guide to compiling afkmud, with such things as what packages I would need for cygwin, how to make the changes that the installation read.me mentions (including what editor to use), and please make it step by step on the compiling and editing part.

Thank you,
Post is unread #2 Jun 22, 2005, 6:35 pm
Go to the top of the page
Go to the bottom of the page


GroupAFKMud Team
JoinedJan 1, 2002

Hmm, I have afkmud running on my windows xp machine through cygwin with no problems, but I got all the packages so long ago that it's hard to say which ones are required and which are ones I just wanted to get.

Once I get internet at home again, I might do a fresh install of cygwin and find out exactly which packages are needed at a minimum to get it up and running. As for the coding part, it's pretty much the same as you would expect anywhere. You make some changes, shutdown the mud (if running), "make" (or "make clean";), restart the mud. If it won't restart you read the error file to see why.

Now FYI, using just the "make" command will only recompile the files that have changed since the last "make". "make clean" will force a full recompile all of the files defined in the makefile. Always start off a fresh install with a "make clean".

Now this is important: If all you change are .c files, you can simply use "make" and it will recompile just the files you changed. However, if you change any .h (header) files, you must use "make clean" to recompile all the files again.

As far as the uncommenting and commenting, do just what it says. I don't remember the exact instructions but I know they were very clear and simple. Unless you mean you don't know how to comment and uncomment lines, in which case I'm going to suggest that you read a short book on programming before attempting to install a codebase ;)

Post is unread #3 Jun 23, 2005, 2:51 am
Go to the top of the page
Go to the bottom of the page


JoinedDec 4, 2003

Yeah, your best bet is to install all the packages..

I usually do that, never run into problems running AFKmud on cygwin with that...

Post is unread #4 Jul 2, 2005, 12:19 pm
Go to the top of the page
Go to the bottom of the page

Black Hand
JoinedJan 1, 2002

The error you're getting indicates you didn't install the g++ portion of the compiler. You'll need that as AFKMud won't compile as C code.

You also need the zlib libraries since the code will expect to have that available for the MCCP support. Offhand I can't think of much else, libcrypt is no longer required for new installs after the MD5 code was added.
Pages:<< prev 1 next >>