Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #48 from gregory094/chapter_0
Browse files Browse the repository at this point in the history
macosx: brew and detailed configuration added
  • Loading branch information
lbudai committed Sep 9, 2015
2 parents 7ec0457 + ac9cce5 commit 0d938d0
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions chapters/chapter_0/section_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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=<INSTALL PATH>
```

For a minimal featureset:

```shell
./configure --with-ivykis=internal --prefix=<INSTALL PATH> --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.
Expand Down

0 comments on commit 0d938d0

Please sign in to comment.