Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Complying Anope with mySQL.  (Read 8584 times)

0 Members and 1 Guest are viewing this topic.

cezz

  • Guest
Complying Anope with mySQL.
« 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.
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #1 on: April 26, 2006, 08:06:43 AM »

are you sure the box has the mysql development libs installed correctly?
Logged

cezz

  • Guest
(No subject)
« Reply #2 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...
Logged

cezz

  • Guest
(No subject)
« Reply #3 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...
Logged

RealityGone

  • Guest
(No subject)
« Reply #4 on: November 14, 2006, 07:35:49 PM »

I also have the same problem. Anybody care to share the answer?
Logged

RealityGone

  • Guest
(No subject)
« Reply #5 on: November 14, 2006, 07:35:59 PM »

I also have the same problem. Anybody care to share the answer?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #6 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.
Logged

djGrrr

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.p2p-network.net/
(No subject)
« Reply #7 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]
Logged
P2P-NET Network Staff

katsklaw

  • Guest
(No subject)
« Reply #8 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.
Logged
Pages: [1]   Go Up