Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: luther on June 28, 2010, 02:55:58 PM

Title: anope-1.9.2-p1 - mysql
Post by: luther on June 28, 2010, 02:55:58 PM
Hello!

I cant complying the Anope with MySQL, because i dont get the modules. (dont make the db_mysql.so, ect.)
I success write the config file with the mysql access.
Now the services is works, but dont save in the SQL. (i deleted the db_plain and i put the mysql modules in the config file)

Thanks
Title: Re: anope-1.9.2-p1 - mysql
Post by: LEthaLity on June 28, 2010, 02:58:51 PM
huh, you shouldn't be deleting db_plain, you still need the flatfile database. and you can get the mysql modules to compile by creating a symlink for them in /src/modules or just moving out of /src/modules/mysql and into /modules, although the first is preferable.
Title: Re: anope-1.9.2-p1 - mysql
Post by: luther on June 28, 2010, 03:18:31 PM
ok, i write back the plain, and i try old time the copy from the mysql folder: http://pastebin.anope.org/index.php?page=viewpaste&id=27e899404b
i replace the configure cmake, and i use the v2.8.1
Title: Re: anope-1.9.2-p1 - mysql
Post by: Adam on June 28, 2010, 03:20:34 PM
db_mysql.h:167:29: mysql++/mysql++.h: No such file or directory

You need to have mysql++ installed on your machine. If its installed in a non standard location you can use configures --with-mysqlpp option to specify where it is.
Title: Re: anope-1.9.2-p1 - mysql
Post by: luther on June 28, 2010, 03:24:30 PM
I already installed the mysqlpp, and i found in the /usr/local/lib/ folder. I can use this "--with-mysqlpp" in the cmake?
Title: Re: anope-1.9.2-p1 - mysql
Post by: Adam on June 28, 2010, 03:25:32 PM
Not in 1.9.2 no. Though if its in a standard location cmake should be able to pick it up...