You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/_dev-guide/chapter_0/section_3.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,7 @@ this will give you detailed information of what {{ site.product.short_name }} do
64
64
65
65
First, check [[this|dev-platform-build-macos#dependencies]] if you have not got MacPorts installed and pre-configured yet.
66
66
67
-
Installation location of MacPorts will be referenced as `${MACPORTS_PREFIX}` in this document, as if you follow the installation instructions above it will be set already correctly independenty of your system.
68
-
67
+
The installation location of MacPorts will be referenced as `${MACPORTS_PREFIX}` in this document. If you follow the installation instructions above, it will already be set correctly, regardless of your system.
69
68
**Hint**: you can use `export MACPORTS_PREFIX=/opt/local` in your scripts or shell environments to get and reference the actual location of your MacPorts installation
70
69
{: .notice--info}
71
70
@@ -114,7 +113,7 @@ this will give you detailed information of what {{ site.product.short_name }} do
114
113
115
114
> **Note:**
116
115
>
117
-
> Bellow examples use `YOUR_INSTALLATION_ROOT` which is depending on the package manager you used to install {{ site.product.short_name }}.
116
+
> Below examples use `YOUR_INSTALLATION_ROOT` which is depending on the package manager you used to install {{ site.product.short_name }}.
Copy file name to clipboardExpand all lines: doc/_dev-guide/chapter_4/section_2/README.md
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Like every project {{ site.product.short_name }} also uses different libraries a
20
20
21
21
### Dependencies
22
22
23
-
The above mentioned dependencies can be satisfied by compiling every-each libs and tools manually, but it might be preferred to do it the easy way. Homebrew and MacPorts are package managers for macOS which has great community and support. You can also use them to install the dependencies you need.
23
+
The above mentioned dependencies can be satisfied by compiling every-each libs and tools manually, but it might be preferred to do it the easy way. Homebrew and MacPorts are package managers for macOS which have great communities and support. You can also use them to install the dependencies you need.
24
24
25
25
#### Using HomeBrew
26
26
@@ -33,7 +33,7 @@ The above mentioned dependencies can be satisfied by compiling every-each libs a
33
33
{: .notice}
34
34
35
35
2. Perform `brew update` if you have not done it yet.
36
-
3. The following packages should be installed for {{ site.product.short_name }}ng
36
+
3. The following packages should be installed for {{ site.product.short_name }}
37
37
* autoconf
38
38
* autoconf-archive
39
39
* automake
@@ -53,8 +53,8 @@ The above mentioned dependencies can be satisfied by compiling every-each libs a
53
53
* gracle
54
54
* grpc
55
55
* hiredis
56
-
*~~libdbi~~ - See [bellow](#packages-note)!
57
-
*~~libesmtp~~ - See [bellow](#packages-note)!
56
+
*~~libdbi~~ - See [below](#packages-note)!
57
+
*~~libesmtp~~ - See [below](#packages-note)!
58
58
* libmaxminddb
59
59
* libnet
60
60
* libpaho-mqtt
@@ -65,7 +65,7 @@ The above mentioned dependencies can be satisfied by compiling every-each libs a
65
65
* riemann-client
66
66
6. Extra development tools you might require
67
67
* criterion
68
-
*~~gcc@14~~ - See [bellow](#packages-note)!
68
+
*~~gcc@14~~ - See [below](#packages-note)!
69
69
70
70
**Hint:** If you have [[{{ site.product.short_name }} installed via brew|dev-inst-macos#installation]], as a reference, you can check the dependencies of the brew built version using `brew deps syslog-ng`
71
71
{: .notice--info}
@@ -100,7 +100,7 @@ brew install \
100
100
gradle \
101
101
grpc \
102
102
hiredis \
103
-
# Do not use the homebrew provided one, see !
103
+
# Do not use the homebrew provided one, see below!
104
104
# libdbi
105
105
# Homebrew does not have this lib yet
106
106
# libesmtp
@@ -149,7 +149,7 @@ brew install \
149
149
* gradle
150
150
* grpc
151
151
* hiredis
152
-
*~~libdbi~~ - See [bellow](#packages-note)!
152
+
*~~libdbi~~ - See [below](#packages-note)!
153
153
* libesmtp
154
154
* libmaxminddb
155
155
* libnet
@@ -158,10 +158,10 @@ brew install \
158
158
* paho.mqtt.c
159
159
* python3
160
160
* rabbitmq-c
161
-
*~~riemann-client~~ - See [bellow](#packages-note)!
161
+
*~~riemann-client~~ - See [below](#packages-note)!
162
162
7. Extra development tools you might require
163
163
* criterion
164
-
*~~gcc@14~~ - See [bellow](#packages-note)!
164
+
*~~gcc@14~~ - See [below](#packages-note)!
165
165
166
166
**Hint:** If you have [[{{ site.product.short_name }} installed via MacPorts|dev-inst-macos#installation-via-macports]], as a reference, you can check the dependencies of the MacPorts built version using `port deps syslog-ng`
167
167
{: .notice--info}
@@ -170,9 +170,9 @@ This is how it might look like if you start from the ground:
170
170
171
171
```shell
172
172
# DO NOT FORGET! Install the MacPorts package first which has a GUI installer. https://www.macports.org/install.php
173
-
# But, you can install it from the comamnd line as well, like
173
+
# But, you can install it from the command line as well, like
174
174
175
-
# WARNING! SET the bellow url and package name according to your needs and OS version !!!
175
+
# WARNING! SET the below url and package name according to your needs and OS version !!!
**Warning:**By a good chance, you might want to install the selfbuilt instance first to a custom location to prevent overwriting a possibly already existing installed version. In that case pass `---install-prefix /full_path_of_your/installdir/` parameter to the `cmake` command like you see in the above steps.
467
+
**Warning:**You may want to install the self-built instance to a custom location first to avoid overwriting an existing installed version. In that case, pass the `--install-prefix /full_path_of_your/installdir/` parameter to the `cmake` command, as shown in the steps above.
468
468
{: .notice--danger}
469
469
470
470
At the end of the configure step you should see the module list will be used during the compilation and installation steps, it should look similar to this
Copy file name to clipboardExpand all lines: doc/_dev-guide/chapter_4/section_3/README.md
+11-14Lines changed: 11 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,14 @@ The above mentioned dependencies can be satisfied by compiling every-each libs a
34
34
* gperf
35
35
* glib
36
36
* gmake
37
-
* ivykis - See [bellow](#packages-note)!
37
+
* ivykis - See [below](#packages-note)!
38
38
* json-c
39
39
* libtool
40
40
* pcre2
41
41
* pkg-config
42
42
1. The extra modules would require the following
43
43
* gradle
44
-
* grpc - See [bellow](#packages-note)!
44
+
* grpc - See [below](#packages-note)!
45
45
* hiredis
46
46
* libdbi
47
47
* libdbi-drivers
@@ -57,10 +57,7 @@ The above mentioned dependencies can be satisfied by compiling every-each libs a
57
57
* riemann-c-client
58
58
1. Extra development tools you might require
59
59
* criterion
60
-
* gcc14 - See [bellow](#packages-note)!
61
-
62
-
**Hint:** If you have [[{{ site.product.short_name }} installed already via FreeBSD Ports, as a reference, you can check the dependencies of the installed version using `brew deps syslog-ng`
63
-
{: .notice--info}
60
+
* gcc14 - See [below](#packages-note)!
64
61
65
62
This is how it might look like if you start from the ground:
66
63
@@ -101,7 +98,7 @@ sudo pkg install \
101
98
riemann-c-client \
102
99
# Optional, needed for unit testing
103
100
criterion \
104
-
# Optional, clang now should compile all modules nicely and it is the oficially supported compiler on FreeBSD
101
+
# Optional, clang now should compile all modules nicely and it is the officially supported compiler on FreeBSD
Latest version of {{ site.product.short_name }} [has dropped support of gcc](https://github.com/syslog-ng/syslog-ng/pull/4897), so now the platform default llvm/clang must be used to complie the source.\
158
-
`gcc` still might compile {{ site.product.short_name }} and most of its modules, but there is no guarantie and support of it anymore.
155
+
`gcc` still might compile {{ site.product.short_name }} and most of its modules, but there is no guarantee and support of it anymore.
159
156
160
157
**Hint:** You can always turn off any problematic module via its feature switch.
161
158
{: .notice--info}
@@ -186,21 +183,21 @@ export CXX=g++ # More precisly, the full path of ypur installed g++ compiler
186
183
#### Using autotool
187
184
188
185
```shell
189
-
#you should use `gmake` instead of `make` on FreeBSD to configure and build syslog-ng with autotools.
186
+
#You should use `gmake` instead of `make` on FreeBSD to configure and build syslog-ng with autotools.
190
187
export MAKE=gmake
191
188
192
189
./autogen.sh
193
190
194
-
#it is always a good idea keeping as clean the source folder as pissible, so
191
+
#It is always a good idea to keep the source folder as clean as possible, so
195
192
# use a dedicated build folder for easier cleanup
196
193
mkdir build;cd build
197
194
198
195
# Finally, you can start the configuration with enabling or disabling the various modules e.g. like this
199
-
# NOTE: you might want to use the --prefix /full_path_of_your/installdir/ parameters as well, see bellow Warning!
196
+
# NOTE: you might want to use the --prefix /full_path_of_your/installdir/ parameters as well, see below Warning!
**Warning:**By a good chance, you might want to install the selfbuilt instance first to a custom location to prevent overwriting a possibly already existing installed version. In that case pass `--prefix /full_path_of_your/installdir/` to the `configure` script in the above steps.
200
+
**Warning:**You may want to install the self-built instance to a custom location first to avoid overwriting an existing installed version. In that case, pass the `--prefix /full_path_of_your/installdir/`parameter to the `configue` command, as shown in the steps above.
204
201
{: .notice--danger}
205
202
206
203
If you have all the above mentioned dependencies installed, for the full feature set you can simply use for example (excluded the not yet supported modules on FreeBSD)
@@ -388,7 +385,7 @@ gmake install
388
385
cmake --build build/. --target install -j4
389
386
```
390
387
391
-
After a succesful build you can check the built and supported modules via
388
+
After a successful build you can check the built and the supported modules via
0 commit comments