Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3  (Read 10712 times)

0 Members and 1 Guest are viewing this topic.

DavY

  • Anope User
  • Offline Offline
  • Posts: 11
Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3
« on: December 08, 2011, 12:23:33 PM »

Question in English:

Hi All,

I am new to this forum and I hope I can be helped. I have been a problem for a while. I use Anope 1.8.6 and Denora v1.4.5. If I want to compile DeNora, I always get error message from mysql. He says he can not find path or mysql is not installed, but I already use MySQL. I'm using CentOS 5 with Plesk 10.3. It's all in mysql, so I searched for the following from mysql and came to this:

Code: [Select]
/usr/share/mysql
/usr/bin/mysql
/usr/local/sb/resources/sql/mysql
/usr/lib64/mysql
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBD/mysql
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql
/usr/lib64/plesk-9.0/mysql
/usr/lib64/plesk-9.0/mysql/mysql
/var/lib/mysql
/var/lib/mysql/mysql

Mysql version is 5, which is good for DeNora.

If I Denora want to compile, I get this:

Code: [Select]
***
*** mysqlclient test source had problems, check your config.log .
*** Also try one of the following switches :
***   --with-mysqlclient-prefix=PFX
***   --with-mysqlclient-include=DIR
***   --with-mysqlclient-lib=DIR
***

I also tried ./configure with the following three paths above, but it failed. If anyone can help me with this or a solution has already thank you very much then! I hope you can help me. Sorry for my bad english.

Question in Dutch:

Hallo Allemaal,

Ik ben nieuw op deze forum en ik hoop dat ik geholpen kan worden. Ik zit al een tijdje met een probleem. Ik gebruik Anope 1.8.6 en Denora v1.4.5. Als ik Denora wilt compileren, krijg ik steeds foutmelding van mysql. Hij zegt dat hij path niet kan vinden of dat mysql niet geinstalleerd is, maar ik gebruik al mysql. Ik gebruik Centos 5 met Plesk 10.3. Daarin zit mysql al bij, dus heb ik gezocht naar volgende van mysql en kwam dit tegen:

Code: [Select]
/usr/share/mysql
/usr/bin/mysql
/usr/local/sb/resources/sql/mysql
/usr/lib64/mysql
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBD/mysql
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql
/usr/lib64/plesk-9.0/mysql
/usr/lib64/plesk-9.0/mysql/mysql
/var/lib/mysql
/var/lib/mysql/mysql

Mysql version is 5, wat goed is voor Denora.

Als ik Denora wilt compileren, dan krijg ik dit:

Code: [Select]
***
*** mysqlclient test source had problems, check your config.log .
*** Also try one of the following switches :
***   --with-mysqlclient-prefix=PFX
***   --with-mysqlclient-include=DIR
***   --with-mysqlclient-lib=DIR
***

Ik heb ook geprobeerd ./configure met volgende 3 paths hierboven, maar het lukte niet. Als iemand mij hierbij kan helpen of een oplossing heeft, alvast heel erg bedankt dan!! Ik hoop dat jullie me kunnen helpen.
« Last Edit: December 08, 2011, 12:26:30 PM by DavY »
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3
« Reply #1 on: December 08, 2011, 02:06:34 PM »

to compile denora with MySQL support you will need the development library of mysql to be installed..
I have no idea what the name of the package is on Centos though.. (assuming you even use a package manager). Try looking for something named "mysql-devel" or so....  ::)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

DavY

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3
« Reply #2 on: December 08, 2011, 08:44:30 PM »

to compile denora with MySQL support you will need the development library of mysql to be installed..
I have no idea what the name of the package is on Centos though.. (assuming you even use a package manager). Try looking for something named "mysql-devel" or so....  ::)

Yes, but the only problem is that I have done previously and when I did that conflict with mysql that I already had.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3
« Reply #3 on: December 08, 2011, 09:17:22 PM »

well you should resolve your conflict first then because without the mysql devel headers (matching the sql client installed) you cannot compile denora with mysql support
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Hal9000

  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3
« Reply #4 on: December 08, 2011, 09:26:02 PM »

the mysql server you got is provided by centos afaik, so you just need to install the centos package for the mysql dev library
Logged

DavY

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Compiling Denora Fails With Mysql on Centos 5 With Plesk 10.3
« Reply #5 on: December 09, 2011, 02:19:12 AM »

the mysql server you got is provided by centos afaik, so you just need to install the centos package for the mysql dev library

Thanks all for the answers. It works now as well. I installed mysql-devel and reconfigure denora without problems.

Thanks!!
Logged
Pages: [1]   Go Up