Skip to content

Commit 421ac66

Browse files
Update Compilation.md
#1222 (reply in thread)
1 parent 63c3c05 commit 421ac66

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

wiki/Compilation.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Make sure you have a correctly configured **Go** environment and then:
88
# install dependencies
99
sudo apt-get install git libnetfilter-queue-dev libpcap-dev protobuf-compiler python3-pip pyqt5-dev-tools qttools5-dev-tools qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools python3-pyqt5.qtsql python3-notify2
1010

11-
go install google.golang.org/protobuf@latest
12-
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
13-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
11+
go install google.golang.org/protobuf/cmd/[email protected]
12+
go install google.golang.org/grpc/cmd/protoc-gen-go[email protected]
13+
1414
export GOPATH=~/go #you may want to change this if your Go directory is different
1515
export PATH=$PATH:$GOPATH/bin
1616

@@ -31,6 +31,20 @@ sudo systemctl enable --now opensnitchd
3131
opensnitch-ui &
3232
```
3333

34+
***grpcio and protobuf conflicts***
35+
36+
Installing latest grpcio and protobuf packages may cause compilation errors.
37+
38+
```
39+
go install google.golang.org/protobuf@latest
40+
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
41+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
42+
```
43+
44+
As of today (13/12/2024), the versions that work are specified in the installation steps ([email protected], [email protected]).
45+
46+
More info: https://github.com/evilsocket/opensnitch/discussions/1222#discussioncomment-11531525
47+
3448
***Note for Fedora users***
3549

3650
There is no `lrelease` binary on Fedora, which is needed to build the UI properly. There is a "`lrelease-qt5` binary, which is part of the package "qt5-linguist".

0 commit comments

Comments
 (0)