Pebble
Pebble copied to clipboard
solution to compilation failure under ubuntu 16.04
I failed to compile the project in an ubuntu 16.04 docker following the guideline. The following solution worked for me.
-
apt-get install libreadline-dev && chmod 775 /root/bin/blade - Edit
example/threadpool/BUILD. Change
'#pthread'
'//src/common/:pebble_common',
to
'//src/common/:pebble_common',
'#pthread'
- There are two linkage errors with the provided protobuf libraries. Installing the official version solved the problem.
- Download it from the official repo and install it following the guideline
-
ldconfig - Edit
tools/compiler/pb/BUILD. Change
deps = [
'//src/common:pebble_common',
'//thirdparty/protobuf:protoc',
]
to
deps = [
'#protoc',
'#protobuf',
'//src/common:pebble_common',
]
Now it compiles.