Linux NWNX2/APS

Moderator: Event DM

Post Reply
Jsen
Newbie
Posts: 1
Joined: Thu Feb 12, 2004 9:39 am

Linux NWNX2/APS

Post by Jsen » Thu Feb 12, 2004 9:50 am

Just downloaded beta4.
Using ./configure --prefix=/to/my/nwnserver

got these when using make.

Code: Select all

 make
g++    -c -o nwnx2lib.o nwnx2lib.cpp
g++    -c -o NWNXBase.o NWNXBase.cpp
g++    -c -o gline.o gline.cpp
g++ -w -fPIC -shared -W -Wall  -o nwnx2.so nwnx2lib.o NWNXBase.o gline.o -ldl -DHAVE_CONFIG_H
make -C db
make[1]: Entering directory `/home/data/nwn/linnwnx2/db'
g++  -I..  -c -o NWNXmysql.o NWNXmysql.cpp
In file included from NWNXmysql.h:17,
                 from NWNXmysql.cpp:20:
../db/dbmysql.h:27:25: mysql/mysql.h: No such file or directory
In file included from NWNXmysql.h:17,
                 from NWNXmysql.cpp:20:
../db/dbmysql.h:40: 'MYSQL' is used as a type, but is not defined as a type.
../db/dbmysql.h:41: syntax error before `*' token
make[1]: *** [NWNXmysql.o] Error 1
make[1]: Leaving directory `/home/data/nwn/linnwnx2/db'
make: *** [db] Error 2
Anyone can help?
User avatar
Chassagne
Squire of Babble
Posts: 47
Joined: Sun Nov 30, 2003 9:29 pm
Location: Paris, France
Contact:

Post by Chassagne » Thu Feb 12, 2004 10:08 am

You need to have the development version of MySQL installed. It seems you dont.
Post Reply