Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: anope-1.9.2-p1 - mysql  (Read 5058 times)

0 Members and 1 Guest are viewing this topic.

luther

  • Anope User
  • Offline Offline
  • Posts: 3
anope-1.9.2-p1 - mysql
« 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
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: anope-1.9.2-p1 - mysql
« Reply #1 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.
Logged

luther

  • Anope User
  • Offline Offline
  • Posts: 3
Re: anope-1.9.2-p1 - mysql
« Reply #2 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
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: anope-1.9.2-p1 - mysql
« Reply #3 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.
Logged

luther

  • Anope User
  • Offline Offline
  • Posts: 3
Re: anope-1.9.2-p1 - mysql
« Reply #4 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?
« Last Edit: July 26, 2010, 08:15:42 PM by luther »
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: anope-1.9.2-p1 - mysql
« Reply #5 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...
Logged
Pages: [1]   Go Up