The first stumbling block...

I was following the contents of this post, which pretty much was the same information in README.cygwin in the PennMUSH package.

It runs ./configure properly, at least it seems to work, but when I go to "make install", it errors out.

Hmm, it doesn't like mush code in the blog body. Here is a link to the output from "make install".

Can anyone make heads or tails of that?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Possible fix

Try editing line 58 of hdrs/attrib.h to read like this:

extern atr_err atr_add(dbref thing, const char *RESTRICT atr, const char *RESTRICT s, dbref player, uint32_t flags);

Whew, been a bit since I've

Whew, been a bit since I've had time to work on this.

javelin, I tried editing that line to reflect that blurb of code you posted, but all it did was give me the same error, except that it was now line 57 that gave the error.

I deleted the game directory, and instead of using one of the windows precompiled versions, I just downloaded the latest source and tried again.

Unfortunately, no luck.

Now I get this error:


funmath.c:1101: error: parse error before '/' token
make[1]: *** [funmath.o] Error 1
make[1]: Leaving directory `/home/Hetza/pennmush/src'
make: *** [all] Error 2

The other error was minor and was ignored.

Looking at funmath.c:


#ifndef HAVE_LOG2
static double
log2(double x)
{
return log(x) / log(2.0);
}
#endif

Line 1101 is log2(double x) ... I have no clue as to why it's an error.

Any assistance would be muchly appreciated. :)

I ran into this problem

I ran into this problem compiling 1.8.3p6 on Cygwin, and never found a fix. Only suggestion I can make is to try 1.8.3p5 instead, which didn't have the problem.

You will hit the atr_add() problem in that one, though. In attrib.c, find the line with the atr_add() definition - just search for 'atr_add(' - and change the last arg from 'unsigned int32' to 'uint32_t'.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.