Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: cezz on April 26, 2006, 02:25:52 AM

Title: Complying Anope with mySQL.
Post by: cezz on April 26, 2006, 02:25:52 AM
Hi there i have already complied Anope without mySQL and have now had mySQL installed onto the server...

This is a shell account on a shared server and mySQL has been installed in a non-standard location...

Using ./Config doesn't detect the mySQL libs so i grabbed the ./connfigure options and am trying to configure that way...

However when i use the following it Still doesn't find the mySQL.

The ./configure setup im using is...

Code: [Select]
./configure --with-bindir=/home/rvelcpxb/services  --with-datadir=/home/rvelcpxb/services  --with-encryption   --with-permissions=007  --with-mysqlclient-prefix=/opt/lampp/mysql

Any help on this would me greatly recived...

Thank you.
Title:
Post by: Dave Robson on April 26, 2006, 08:06:43 AM
are you sure the box has the mysql development libs installed correctly?
Title:
Post by: cezz on April 26, 2006, 02:33:51 PM
I cant be possitive that its all istalled correctly other than the fact mySQL workes perfectly from within the shell...
Title:
Post by: cezz on April 26, 2006, 03:40:03 PM
Ok i have had the libs installed and installed anope with mySQL support, however after i have used make and make install started up Anope i have a new option in /os SET called SQL Gr8 i though it worked...

That is untill i want to /os SET SQL on and i get the following error "-OperServ- Unknown option SQL."

Whats missing??? i have edited services.conf with the needed config...

Any help will be greatful recived...
Title:
Post by: RealityGone on November 14, 2006, 07:35:49 PM
I also have the same problem. Anybody care to share the answer?
Title:
Post by: RealityGone on November 14, 2006, 07:35:59 PM
I also have the same problem. Anybody care to share the answer?
Title:
Post by: Charles Kingsley on November 14, 2006, 09:33:32 PM
Same problem how?

Which version of anope?

Things have changed since this topic was first written in that we now use mysql_config to determine our values.
Title:
Post by: djGrrr on November 14, 2006, 11:13:28 PM
Quote
Originally posted by chaz
Same problem how?

Which version of anope?

Things have changed since this topic was first written in that we now use mysql_config to determine our values.


which is actually not a good way at all to do it, since a difference in gcc version (between mysql and anope) (like 3.4 > 4.1) causes it to completely break

[Edited on 14-11-2006 by djGrrr]
Title:
Post by: katsklaw on November 14, 2006, 11:38:13 PM
Quote
Originally posted by djGrrr
Quote
Originally posted by chaz
Same problem how?

Which version of anope?

Things have changed since this topic was first written in that we now use mysql_config to determine our values.


which is actually not a good way at all to do it, since a difference in gcc version (between mysql and anope) (like 3.4 > 4.1) causes it to completely break

[Edited on 14-11-2006 by djGrrr]


This is true with many scenarios outside of IRC as well not just mysql and anope. Running different portions of any OS compiled with different gcc versions can cause things to break.

Perhaps recompiling mysql and anope with the same compile would be a better solution.