Hello.
First. i'd like to thank all anope developers for this great software that i've been using for more than 2 years in my XP box without almost any problem.
I recently moved to a linux box thinking it would be more secure and have a better performance.
I installed Mandriva one 2009 (Gnome version) and after fighting some days with the included lamp package, i decided to try with xampp and it works like a charm.
I installed Unreal3.2.6 (because of some modules i'm used to) and Anope 1.7.19.
Anope works great except that i'm not being able to configure it with mysql.
In my XP box, i have a site linked to anope mysql that i need to keep alive. Every user has to register with nickserv so they can have a profile and upload files, post in the forums, etc.. i even made a php socket bot that enters the chat and registers a new user from a registration form in the site and this is why i need Anope MySql functions to be working urgently.
I read some posts and i installed mysql-devel on my box and mysql_config seems to have the correct paths.
But when i run ./Config it says:
checking for mysql_config... /usr/bin/mysql_config
checking if mysql_config produces valid values... no
This is the output of my # mysql_config --libs:
-rdynamic -L/opt/lampp/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/opt/lampp/lib/ -lssl -lcrypto
Then i open Config.log and read this (and i don't understand a word):
configure:2825: checking for mysql_config
configure:2843: found /usr/bin/mysql_config
configure:2856: result: /usr/bin/mysql_config
configure:2892: gcc -o conftest -pipe -g -O2 -I/opt/lampp/include/mysql -mpentiumpro -I/opt/lampp/include -L/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib -felide-constructors -fno-exceptions -fno-rtti -DUNIV_LINUX -rdynamic -L/opt/lampp/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/opt/lampp/lib/ -lssl -lcrypto conftest.c >&5
cc1: error: unrecognized command line option "-mpentiumpro"
cc1: warning: command line option "-felide-constructors" is valid for C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:2898: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <mysql.h>
| int
| main ()
| {
| MYSQL *mysql = mysql_init(0);
| ;
| return 0;
| }
I would be thankful if someone could help me.