Skip to content

Commit a2177d7

Browse files
authored
Merge pull request #1517 from fluent/lynettemiles/sc-117017/fix-numbering-for-build-install
2 parents 0eabca9 + 48dc887 commit a2177d7

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed

installation/sources/build-and-install.md

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -20,71 +20,71 @@ options.
2020

2121
1. Change to the `build/` directory inside the Fluent Bit sources:
2222

23-
```bash
24-
cd build/
25-
```
23+
```bash
24+
cd build/
25+
```
2626

2727
1. Let [CMake](http://cmake.org) configure the project specifying where the root
2828
path is located:
2929

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+
```
5353

5454
1. Start the compilation process using the `make` command:
5555

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+
```
8080

8181
1. To continue installing the binary on the system, use `make install`:
8282

83-
```bash
84-
make install
85-
```
83+
```bash
84+
make install
85+
```
8686

87-
If the command indicates insufficient permissions, prefix the command with `sudo`.
87+
If the command indicates insufficient permissions, prefix the command with `sudo`.
8888

8989
## Build options
9090

0 commit comments

Comments
 (0)