Module: ngircd.git Branch: master Commit: c9b152fa4119bc0f4ca27a2e163840a1e2dfbbc5 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c9b15...
Author: Alexander Barton alex@barton.de Date: Sat May 19 00:45:23 2012 +0200
INSTALL: Add "satisfy prerequisites" section
Include information for RedHat/Fedora and Debian/Ubuntu based Linux distributions.
---
INSTALL | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/INSTALL b/INSTALL index 45ebe99..4e1cd2f 100644 --- a/INSTALL +++ b/INSTALL @@ -93,7 +93,8 @@ automake ("configure") should be no problem. The normal installation procedure after getting (and expanding) the source files (using a distribution archive or GIT) is as following:
- 1) ./autogen.sh [only necessary when using GIT] + 0) Satisfy prerequisites + 1) ./autogen.sh [only necessary when using GIT] 2) ./configure 3) make 4) make install @@ -114,6 +115,30 @@ possible options will be installed there. You'll find its template in the doc/ directory: sample-ngircd.conf.
+0): Satisfy prerequisites + +When building from source, you'll need some other software to build ngIRCd: +for example a working C compiler, make tool, GNU automake and autoconf (only +when not using a distribution archive), and a few libraries depending on the +features you want to compile in (like IDENT support, SSL, and PAM). + +If you are using one of the "big" operating systems or Linux distributions, +you can use the following commands to install all the required packages to +build the sources including all optional features and to run the test suite: + +* RedHat / Fedora based distributions: + + yum install \ + autoconf automake expect gcc glibc-devel gnutls-devel \ + libident-devel make pam-devel tcp_wrappers-devel telnet zlib-devel + +* Debian / Ubuntu based distributions: + + apt-get install \ + autoconf automake build-essential expect libgnutls-dev \ + libident-dev libpam-dev libwrap0-dev libz-dev telnet + + 1): "autogen.sh"
The first step, autogen.sh, is only necessary if the configure-script isn't