Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Nikos on July 08, 2011, 05:58:47 PM
-
How to get the libs?
Saving configuration results in config.cache... done.
cmake -DINSTDIR:STRING=/home/ext3/services -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=RELEASE -DUSE_RUN_CC_PL:BOOLEAN=OFF ..
extra/m_ldap.cpp needs header file ldap.h but we were unable to locate that header file! Check that the header file is within the search path of your OS.
extra/m_ldap.cpp needs library ldap but we were unable to locate that library! Check that the library is within the search path of your OS.
extra/m_ldap.cpp needs library lber but we were unable to locate that library! Check that the library is within the search path of your OS.
This is not a fatal error - extra/m_ldap.cpp will not be built.
extra/m_mysql.cpp needs library mysqlclient but we were unable to locate that library! Check that the library is within the search path of your OS.
This is not a fatal error - extra/m_mysql.cpp will not be built.
socketengines/m_socketengine_epoll.cpp needs header file sys/epoll.h but we were unable to locate that header file! Check that the header file is within the search path of your OS.
This is not a fatal error - socketengines/m_socketengine_epoll.cpp will not be built.
-
locate libmysqlclient
On my FreeBSD system it's in /usr/local/lib/mysql so I provide that to the last question from ./Config
Are there any extra arguments you wish to pass to cmake?
You may only need to do this if cmake is unable to locate
missing dependencies without hints.
You can do this by: -DEXTRA_INCLUDE:STRING=/path/to/files;/path/to/more/files
[] -DEXTRA_INCLUDE:STRING=/usr/local/lib/mysql/
I typed -DEXTRA_INCLUDE:STRING=/usr/local/lib/mysql/
Then the MySQL one went away, the same for others if you want them.
-
Done but it fails to run.
http://pastebin.anope.org/index.php?page=viewpaste&id=5e6f0e768a
-
Pastebin the services.conf
-
on Debian Lenny u will get the packets:
apt-get install libmysqlclient15-dev libldap-dev
greetz
RePas
-
Hi RePas,
Thanks for your post, unfortunately this thread was for FreeBSD which doesn't use apt.
Still, it's useful info nonetheless.
-
try this:
pkg_add -r libmysqlclient openldap-client
You can also use the ports system if you have it installed. You might also need openldap-server.
If memory serves both mysql and openldap are in the "databases" category in the ports system. if you don't like the command version, you can also install via sysinstall