@@ -20,71 +20,71 @@ options.
20
20
21
21
1 . Change to the ` build/ ` directory inside the Fluent Bit sources:
22
22
23
- ``` bash
24
- cd build/
25
- ```
23
+ ``` bash
24
+ cd build/
25
+ ```
26
26
27
27
1 . Let [ CMake] ( http://cmake.org ) configure the project specifying where the root
28
28
path is located:
29
29
30
- ``` bash
31
- cmake ../
32
- ```
33
-
34
- This command displays a series of results similar to:
35
-
36
- ``` text
37
- -- The C compiler identification is GNU 4.9.2
38
- -- Check for working C compiler: /usr/bin/cc
39
- -- Check for working C compiler: /usr/bin/cc -- works
40
- -- Detecting C compiler ABI info
41
- -- Detecting C compiler ABI info - done
42
- -- The CXX compiler identification is GNU 4.9.2
43
- -- Check for working CXX compiler: /usr/bin/c++
44
- -- Check for working CXX compiler: /usr/bin/c++ -- works
45
- ...
46
- -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
47
- -- Looking for accept4
48
- -- Looking for accept4 - not found
49
- -- Configuring done
50
- -- Generating done
51
- -- Build files have been written to: /home/edsiper/coding/fluent-bit/build
52
- ```
30
+ ``` bash
31
+ cmake ../
32
+ ```
33
+
34
+ This command displays a series of results similar to:
35
+
36
+ ``` text
37
+ -- The C compiler identification is GNU 4.9.2
38
+ -- Check for working C compiler: /usr/bin/cc
39
+ -- Check for working C compiler: /usr/bin/cc -- works
40
+ -- Detecting C compiler ABI info
41
+ -- Detecting C compiler ABI info - done
42
+ -- The CXX compiler identification is GNU 4.9.2
43
+ -- Check for working CXX compiler: /usr/bin/c++
44
+ -- Check for working CXX compiler: /usr/bin/c++ -- works
45
+ ...
46
+ -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
47
+ -- Looking for accept4
48
+ -- Looking for accept4 - not found
49
+ -- Configuring done
50
+ -- Generating done
51
+ -- Build files have been written to: /home/edsiper/coding/fluent-bit/build
52
+ ```
53
53
54
54
1 . Start the compilation process using the ` make ` command:
55
55
56
- ``` bash
57
- make
58
- ```
59
-
60
- This command displays results similar to:
61
-
62
- ``` text
63
- Scanning dependencies of target msgpack
64
- [ 2%] Building C object lib/msgpack-1.1.0/CMakeFiles/msgpack.dir/src/unpack.c.o
65
- [ 4%] Building C object lib/msgpack-1.1.0/CMakeFiles/msgpack.dir/src/objectc.c.o
66
- [ 7%] Building C object lib/msgpack-1.1.0/CMakeFiles/msgpack.dir/src/version.c.o
67
- ...
68
- [ 19%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_file.c.o
69
- [ 21%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_rconf.c.o
70
- [ 23%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_string.c.o
71
- ...
72
- Scanning dependencies of target fluent-bit-static
73
- [ 66%] Building C object src/CMakeFiles/fluent-bit-static.dir/flb_pack.c.o
74
- [ 69%] Building C object src/CMakeFiles/fluent-bit-static.dir/flb_input.c.o
75
- [ 71%] Building C object src/CMakeFiles/fluent-bit-static.dir/flb_output.c.o
76
- ...
77
- Linking C executable ../bin/fluent-bit
78
- [100%] Built target fluent-bit-bin
79
- ```
56
+ ``` bash
57
+ make
58
+ ```
59
+
60
+ This command displays results similar to:
61
+
62
+ ``` text
63
+ Scanning dependencies of target msgpack
64
+ [ 2%] Building C object lib/msgpack-1.1.0/CMakeFiles/msgpack.dir/src/unpack.c.o
65
+ [ 4%] Building C object lib/msgpack-1.1.0/CMakeFiles/msgpack.dir/src/objectc.c.o
66
+ [ 7%] Building C object lib/msgpack-1.1.0/CMakeFiles/msgpack.dir/src/version.c.o
67
+ ...
68
+ [ 19%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_file.c.o
69
+ [ 21%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_rconf.c.o
70
+ [ 23%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_string.c.o
71
+ ...
72
+ Scanning dependencies of target fluent-bit-static
73
+ [ 66%] Building C object src/CMakeFiles/fluent-bit-static.dir/flb_pack.c.o
74
+ [ 69%] Building C object src/CMakeFiles/fluent-bit-static.dir/flb_input.c.o
75
+ [ 71%] Building C object src/CMakeFiles/fluent-bit-static.dir/flb_output.c.o
76
+ ...
77
+ Linking C executable ../bin/fluent-bit
78
+ [100%] Built target fluent-bit-bin
79
+ ```
80
80
81
81
1 . To continue installing the binary on the system, use ` make install ` :
82
82
83
- ``` bash
84
- make install
85
- ```
83
+ ``` bash
84
+ make install
85
+ ```
86
86
87
- If the command indicates insufficient permissions, prefix the command with ` sudo ` .
87
+ If the command indicates insufficient permissions, prefix the command with ` sudo ` .
88
88
89
89
## Build options
90
90
0 commit comments