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.8.2 not detecting mysql  (Read 4061 times)

0 Members and 1 Guest are viewing this topic.

R.Warps

  • Anope User
  • Offline Offline
  • Posts: 2
anope 1.8.2 not detecting mysql
« on: September 13, 2009, 02:42:28 AM »

hello

I want to link my website to my irc service. Anope was suggested to me as one of the best collection of services and it had native mysql support which provides excelent oppertunity to interface it whith other systems.

I am new to manageing irc services and its been a steep learning curve but through documnetation and no small amount of help im getting at it.
however i hit a dead end aperantly,

I compiled anope but once i wanted to get to use its mysql features figured out it was compiles whithoud mysql support. so i set out to recompile but noticed I could not get it to detect mysql.

I have lookt in the mysql docs wiki and forums and from what I understand I dont have the right librarys installed but I cant seem to find the right ones.

ok so what am I using.
distro Debian
IRCD  Unreal3.2
I also have (and intend to use) the mysql install that comes with Lampp latest version from thier website.

now when I run the config script it keeps coming up with mysql=no
running "make distclean" (its mentiond in docs/MYSQL) doestn seem to help solve it.

I have tryed a number of difrent mysql instalations in paralel to the mysql of Lampp couse the config script doesnt seem to detect that (schouldnt matter where it gets the libs from mysql would still work fine)
so I dit apt-get install mysql-client no dice so added apt-get install mysql-server
eventualy i got the full package from the mysql website but that didnt seem to work ether. in the forums apt-get install mysql-dev (or devel or develop) but Debian comes up empty for those packages.

So what package can i get from where that will provide me with the right libraries for anope to be able to compile with mysql support?

It would be greatly apriciated, before i pull outwhat little hair i have left ;)
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: anope 1.8.2 not detecting mysql
« Reply #1 on: September 13, 2009, 04:05:32 AM »

Firstly I'll add that whilst Anope can write to Mysql databases, that's all it can do.. The mysql isn't "live", it wont honour any changes made to databases externally eg. a website registration system writing to the databases. It will simply overwrite them the next time it writes its current databases to mysql.

Way around this would be with a module of some sort.

As for Mysql Install. I think you may need something like apt-get install libmysqlclient15-dev . I'm not sure, I dont use debian.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: anope 1.8.2 not detecting mysql
« Reply #2 on: September 13, 2009, 01:12:11 PM »

debian uses a virtual package for this: libmysqlclient-dev
Which in most cases, depending on your version of debian will install libmysqlclient15-dev as mentionned by LEthaLity, or on older versions libmysqlclient14-dev.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

R.Warps

  • Anope User
  • Offline Offline
  • Posts: 2
Re: anope 1.8.2 not detecting mysql
« Reply #3 on: September 22, 2009, 05:35:40 PM »

thx for the help guys i got it working on debian(well now im trying to install it on centos but thats a whole new drama lol)
Logged
Pages: [1]   Go Up