From ac9cce57f2576bed98a28a23020ec34e9291ffa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Nagy?= Date: Wed, 2 Sep 2015 09:55:29 +0200 Subject: [PATCH] macosx: brew and detailed configuration added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * syslog-ng can be installed from homebrew now * detailed configuration steps added Signed-off-by: Gergő Nagy --- chapters/chapter_0/section_3.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/chapters/chapter_0/section_3.md b/chapters/chapter_0/section_3.md index 29aa75a..e35bd7d 100644 --- a/chapters/chapter_0/section_3.md +++ b/chapters/chapter_0/section_3.md @@ -18,7 +18,16 @@ At present we are not supporting OSX syslog-ng on our [official repository][gh:o A “non-official” support is available for [3.6][gh:ose-gregory094-osx] at [gregory094/syslog-ng][gh:ose-gregory094] on GitHub but we do not plan to backport the support officially. -## Installation process +## Using homebrew + +Now syslog-ng is provided by [Homebrew][ref:homebrew] and gives you a stable syslog-ng install with the modules that +is tested to function well. + +``` +brew install syslog-ng +``` + +## From source Like every project syslog-ng also uses different libraries and build-systems that must be installed for compiling and running properly. These dependencies can be satisfied compiling every-each libs and tools with our own hands but I would prefer to do it on the easy way. [Homebrew][ref:homebrew] is a package manager for OSX @@ -56,12 +65,23 @@ services doesn’t make sense. * *Option 1:* add bison to `$PATH` * *Option 2:* when configuring set the environmental variable `$YACC` to bison -### Compile and install -In the syslog-ng folder declare the command below: +###Configuration + +```shell +./configure --with-ivykis=internal --prefix= +``` + +For a minimal featureset: + +```shell +./configure --with-ivykis=internal --prefix= --disable-amqp --disable-mongodb --disable-riemann --disable-java --disable-python +``` + +###Compile and install ```shell -./configure && make && make install +make && make install ``` *Note:* for options and more read [compile first][ref:compile] guide.