commit a085ad27d8d4a33c816a90f7f6967031688109ec
parent 0fc12abc1a38ca499a4a306e43542559a4fb44b6
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sun, 1 Nov 2015 01:18:51 +0100
sufficiently recent libircclient in Debian Jessie
credit: \
Diffstat:
README | | | 27 | ++++++++++++++++----------- |
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/README b/README
@@ -25,23 +25,28 @@ quickly, either in the shell or in your favourite programming language.
== 2. Installation ==
You will need the libircclient library (version >= 1.8 with SSL support) to
-compile and run irctk. The package is libircclient1 and libircclient-dev on
-Debian but it is outdated as of this writing; so you should get libircclient-1.8
-from <http://sourceforge.net/projects/libircclient/>, compile it and install it
-(this requires the package libssl-dev on Debian, and of course make, a C
-compiler, etc., which you can get on Debian systems by installing e.g. the
-package build-essential):
+compile and run irctk. On Debian Jessie and later, sufficiently recent versions
+are packaged as libircclient1 and libircclient-dev. You can then compile irctk
+by issuing "make". Install irctk by yourself in a location of your PATH if you
+want to use it as "irctk", otherwise replace "irctk" by "./irctk" in the next
+examples.
+
+=== 2.1. Compiling libircclient ===
+
+If you need to install libircclient manually, get libircclient-1.8 from
+<http://sourceforge.net/projects/libircclient/>, compile it and install it (this
+requires the package libssl-dev on Debian, and of course make, a C compiler,
+etc., which you can get on Debian systems by installing e.g. the package
+build-essential):
./configure --enable-openssl --enable-shared
make
sudo make install
-Once this is done, run "make" to compile irctk. Install it by yourself in a
-location of your PATH if you want to use it as "irctk", otherwise replace
-"irctk" by "./irctk" in the next examples.
+=== 2.2. Installing without root ===
-Alternatively, if you cannot install libircclient system-wide, once you have
-compiled libircclient, issue (in the libircclient folder):
+If you cannot install libircclient system-wide, compile it as previously
+explained, without the "sudo" command. Then, issue (in the libircclient folder):
ln -s src/libircclient.so src/libircclient.so.1