I failed to compile the project in an ubuntu 16.04 docker following the guideline. The following solution worked for me. 1. `apt-get install libreadline-dev && chmod 775 /root/bin/blade` 2. Edit `example/threadpool/BUILD`. Change ``` bash '#pthread' '//src/common/:pebble_common', ``` to ``` bash '//src/common/:pebble_common', '#pthread' ``` 3. There are two linkage errors with the provided protobuf libraries. Installing the official version solved the problem. * Download it from [the official repo](https://github.com/protocolbuffers/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz) and install it following the guideline * `ldconfig` * Edit `tools/compiler/pb/BUILD`. Change ``` bash deps = [ '//src/common:pebble_common', '//thirdparty/protobuf:protoc', ] ``` to ``` bash deps = [ '#protoc', '#protobuf', '//src/common:pebble_common', ] ``` Now it compiles.
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/bladeexample/threadpool/BUILD. Changeto
ldconfigtools/compiler/pb/BUILD. Changedeps = [ '//src/common:pebble_common', '//thirdparty/protobuf:protoc', ]to
deps = [ '#protoc', '#protobuf', '//src/common:pebble_common', ]Now it compiles.