Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: 1.9.8 Missing Dependancies  (Read 9530 times)

0 Members and 1 Guest are viewing this topic.

Mark A. Taylor

  • Anope User
  • Offline Offline
  • Posts: 4
1.9.8 Missing Dependancies
« on: April 02, 2013, 11:08:34 AM »

Hi, I'm trying to compile 1.9.8, but I'm getting this from make:

Code: [Select]
-- 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_pcre.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
-- Build files have been written to: /home/irc/anope-1.9.8-source/build

Now cd build, then run make to build Anope.

I'm running Debian Wheezy 64bit with Multiarch and i386 libraries ARE installed. Can anyone tell me what the build is missing please?
« Last Edit: April 02, 2013, 11:10:31 AM by Mark A. Taylor »
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: 1.9.8 Missing Dependancies
« Reply #1 on: April 02, 2013, 11:10:07 AM »

That's not actually an error, it's just telling you it can't build some things, like those extra modules.

The packages required to build them is OS dependant, but I think on Debian it's libmysql-dev for MySQL... and apt-cache search the rest (they will end in -dev).
Logged

Mark A. Taylor

  • Anope User
  • Offline Offline
  • Posts: 4
Re: 1.9.8 Missing Dependancies
« Reply #2 on: April 02, 2013, 12:58:17 PM »

Ok, so I've managed to track down the mysql, ldap and sqlite packages, they were: libmysqld-dev, libldap2-dev and libsqlite3-dev respectively, however, I can'ty find the regex packages? Any ideas please? I've tried libboost-regex-dev to no avail.

Thanks in advance
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: 1.9.8 Missing Dependancies
« Reply #3 on: April 02, 2013, 02:33:42 PM »

Hi,

for m_regex_tre its the package "libtre-dev", for m_regex_pcre its "libpcre++-dev" I think.


Logged

Mark A. Taylor

  • Anope User
  • Offline Offline
  • Posts: 4
Re: 1.9.8 Missing Dependancies
« Reply #4 on: April 02, 2013, 08:49:57 PM »

Thank you both SO much Jens and Adam, my source has built 100% error free now :D
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: 1.9.8 Missing Dependancies
« Reply #5 on: April 02, 2013, 08:55:02 PM »

Thank you both SO much Jens and Adam, my source has built 100% error free now :D

There wasn't errors in the first place. Those were optional features. The messages said that since dependencies for those optional features were not found, they can't be used and thus were not compiled.
Logged

Mark A. Taylor

  • Anope User
  • Offline Offline
  • Posts: 4
Re: 1.9.8 Missing Dependancies
« Reply #6 on: April 03, 2013, 12:59:08 PM »

Ok, then I change my wording:

Thank you Jens and Adam, my source now builds 100% complete.

Better? lol
Logged

Romeo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 31
Re: 1.9.8 Missing Dependancies
« Reply #7 on: July 10, 2013, 07:22:19 PM »

Code: [Select]
TestN3T@techygeek:~$ sudo apt-get install libpcre++-dev
[sudo] password for TesTN3T:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libpcre++0 libpcre3-dev libpcrecpp0
The following NEW packages will be installed:
  libpcre++-dev libpcre++0 libpcre3-dev libpcrecpp0
0 upgraded, 4 newly installed, 0 to remove and 253 not upgraded.
Need to get 329 kB of archives.
After this operation, 1,355 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu.bhs.mirrors.ovh.net/ubuntu/ precise/main libpcrecpp0 amd64 8                                               .12-4 [16.2 kB]
Get:2 http://ubuntu.bhs.mirrors.ovh.net/ubuntu/ precise/main libpcre3-dev amd64                                                8.12-4 [232 kB]
Get:3 http://ubuntu.bhs.mirrors.ovh.net/ubuntu/ precise/universe libpcre++0 amd6                                               4 0.9.5-5.1 [15.2 kB]
Get:4 http://ubuntu.bhs.mirrors.ovh.net/ubuntu/ precise/universe libpcre++-dev a                                               md64 0.9.5-5.1 [66.3 kB]
Fetched 329 kB in 0s (7,868 kB/s)
Selecting previously unselected package libpcrecpp0.
(Reading database ... 120633 files and directories currently installed.)
Unpacking libpcrecpp0 (from .../libpcrecpp0_8.12-4_amd64.deb) ...
Selecting previously unselected package libpcre3-dev.
Unpacking libpcre3-dev (from .../libpcre3-dev_8.12-4_amd64.deb) ...
Selecting previously unselected package libpcre++0.
Unpacking libpcre++0 (from .../libpcre++0_0.9.5-5.1_amd64.deb) ...
Selecting previously unselected package libpcre++-dev.
Unpacking libpcre++-dev (from .../libpcre++-dev_0.9.5-5.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libpcrecpp0 (8.12-4) ...
Setting up libpcre3-dev (8.12-4) ...
Setting up libpcre++0 (0.9.5-5.1) ...
Setting up libpcre++-dev (0.9.5-5.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

after that i start up services

Code: [Select]
~/test/services/bin$ ./services
Anope 1.9.8, build #2, compiled 12:24:29 Jun 24 2013, flags D
Using configuration file conf/services.conf
Error while loading m_regex_pcre (file does not exist)
Attempting to connect to uplink #1 192.168.0.25 (192.168.0.25), port 6671
Successfully connected to uplink #1 192.168.0.25:6671
Successfully linked, launching into background...

What am i not doing. Or what dont i know what to do?  I know im not a pro, but ive installed dependencies, so i shouldnt be getting that error any more, right? 
***Anope 1.9.8***
Logged
running Unreal 3.2.10.1, Anope 1.9.9 on Ubuntu Server

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: 1.9.8 Missing Dependancies
« Reply #8 on: July 10, 2013, 07:26:43 PM »

did you recompile anope after installing said dependencies?
Logged

Romeo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 31
Re: 1.9.8 Missing Dependancies
« Reply #9 on: July 10, 2013, 07:34:47 PM »

That did that trick. Thanks katsklaw.. No errors at startup now
Logged
running Unreal 3.2.10.1, Anope 1.9.9 on Ubuntu Server
Pages: [1]   Go Up