Compiling Aspace with pennmush, prepacked.

Posted by Vayren on Wed 29 Sep 2010 05:22 AM — 2 posts, 15,025 views.

#0
I'm having a bit of trouble, I've downloaded a version of pennmush that included aspace, but I can't get the aspace portion to compile, which is needed to allow the pennmush portion to compile as the libary links it.

Here's the error I get, and any help is greatly appreciated.

Okay it won't actually let me post the error, some reason majority of it gets truncated. But it's in space_nebula.c

space_nebula.c:31: error: MYSQL_RES undeclared (first use in this function)

I can post a text docuement of it somewhere or link it online elsewhere if someone is able to help me.

I do have mysql but haven't bothered configuring it yet, does it absolutely require mysql?
Amended on Wed 29 Sep 2010 05:30 AM by Vayren
Australia Forum Administrator #1
I can't answer your last question, but MYSQL_RES is defined in mysql.h.

You may have MySQL installed, but did you grab the development environment? The runtime and the developers stuff are two different downloads.

You are going to make sure you grab that, and one way or another make mysql.h available to your compile.