Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Missing dependencies  (Read 5865 times)

0 Members and 1 Guest are viewing this topic.

Kei Buitizon

  • Anope User
  • Offline Offline
  • Posts: 3
Missing dependencies
« on: April 20, 2013, 04:57:06 AM »

Code: [Select]
extra/m_mysql.cpp can not be built due to missing dependencies.
I already have mysql-devel, mysql-server, mysql, mysql-libs, mysql++, mysql++-devel
that still shows up

using CentOS 6.4 (Final)

EDIT:

This is the only packages i can install about mysql
http://pastebin.anope.org/index.php?page=viewpaste&id=69f397ad6b

« Last Edit: April 20, 2013, 05:28:24 AM by Shidou »
Logged

Kei Buitizon

  • Anope User
  • Offline Offline
  • Posts: 3
Re: Missing dependencies
« Reply #1 on: April 21, 2013, 04:59:27 AM »

Another Info for Anope @ Centos( Now with x64 )

Code: [Select]
Saving configuration results in config.cache... done.
cmake  -DINSTDIR:STRING=/home/user/services  -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=DEBUG -DUSE_RUN_CC_PL:BOOLEAN=OFF -DUSE_PCH:BOOLEAN=OFF    ..
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test HAVE_PIPE_FLAG
-- Performing Test HAVE_PIPE_FLAG - Success
-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Looking for inet_addr in nsl
-- Looking for inet_addr in nsl - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for cstdint
-- Looking for cstdint - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for umask
-- Looking for umask - found
-- Looking for epoll_wait
-- Looking for epoll_wait - found
-- Looking for poll
-- Looking for poll - found
-- Looking for kqueue
-- Looking for kqueue - not found
  extra/m_ldap.cpp can not be built due to missing dependencies.
  extra/m_mysql.cpp can not be built due to missing dependencies.
  extra/m_regex_tre.cpp can not be built due to missing dependencies.
  extra/m_sqlite.cpp can not be built due to missing dependencies.
-- Configuring done
-- Generating done

no idea if someone here
using CentOS for Services
but thats shows up for clean installation~
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Missing dependencies
« Reply #2 on: April 21, 2013, 05:46:58 AM »

Those are not required to run Anope. They are only required if you plan to use any of them.

One package you didn't  mention is mysql-client but mysql-devel is the package that should satisfy the dependency. At least it does on Anope 1.8


Code: [Select]
extra/m_ldap.cpp can not be built due to missing dependencies.
yum install openldap-servers openldap-clients

Code: [Select]
extra/m_mysql.cpp can not be built due to missing dependencies.
yum install mysql-devel

Code: [Select]
extra/m_regex_tre.cpp can not be built due to missing dependencies.
yum install tre

Code: [Select]
extra/m_sqlite.cpp can not be built due to missing dependencies.
yum install sqlite3


Since CentOS is RedHat based and uses YUM, any time you google for help, the RedHat solution should work most of the time.

Hope that helps.
Logged

Kei Buitizon

  • Anope User
  • Offline Offline
  • Posts: 3
Re: Missing dependencies
« Reply #3 on: April 21, 2013, 05:53:29 AM »

actually mysql

doesn't work even you do that
i tested it with CentOS and CentOS x64

Logged

Eyecu

  • Anope User
  • Offline Offline
  • Posts: 29
Re: Missing dependencies
« Reply #4 on: April 22, 2013, 06:35:51 AM »

For the mysql its usually a libmysqlclient issue, i just went through this on a centos 5.9 box, had to:
 ln -s /usr/lib/mysql/libmysqlclient.so.18.0.0 /usr/lib/mysql/libmysqlclient.so

Then mysql built without issues.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Missing dependencies
« Reply #5 on: May 15, 2013, 04:40:17 AM »

Since this thread doesn't contain a specific OS, this is what is needed for debian 7:

apt-get install libldap2-dev libsqlite3-dev libmysqld-dev libtre5 libtre-dev
Logged
Pages: [1]   Go Up