Skip to content

Instantly share code, notes, and snippets.

@magick93
Created September 15, 2017 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magick93/5101da1d862e39bc2f1b23e2a56a3790 to your computer and use it in GitHub Desktop.
Save magick93/5101da1d862e39bc2f1b23e2a56a3790 to your computer and use it in GitHub Desktop.
Step 14 : RUN ./installgrpc.sh
---> Running in d655726e38c6
+ git clone -b v1.6.0 --single-branch https://github.com/grpc/grpc /var/local/git/grpc
Cloning into '/var/local/git/grpc'...
Note: checking out 'b45b83ca2798126781fc878f459090ab881dcdf0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
+ cd grpc
./installgrpc.sh: line 3: cd: grpc: No such file or directory
+ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git
+ make
make: *** No targets specified and no makefile found. Stop.
+ make install
make: *** No rule to make target 'install'. Stop.
+ cd third_party/protobuf
./installgrpc.sh: line 8: cd: third_party/protobuf: No such file or directory
+ ./autogen.sh
./installgrpc.sh: line 9: ./autogen.sh: No such file or directory
+ ./configure
./installgrpc.sh: line 10: ./configure: No such file or directory
+ make
make: *** No targets specified and no makefile found. Stop.
+ make check
make: *** No rule to make target 'check'. Stop.
+ make install
make: *** No rule to make target 'install'. Stop.
+ protocVersion=3.0.0
+ wget https://github.com/google/protobuf/releases/download/v3.0.0/protoc-3.0.0-linux-x86_64.zip
--2017-09-14 21:26:50-- https://github.com/google/protobuf/releases/download/v3.0.0/protoc-3.0.0-linux-x86_64.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/23357588/c692d808-54ca-11e6-90f6-ef943b0908bf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170914%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170914T212650Z&X-Amz-Expires=300&X-Amz-Signature=5499332757eeda7d6ddfcd0f604610747214ac476f1c642529287423e25647d8&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dprotoc-3.0.0-linux-x86_64.zip&response-content-type=application%2Foctet-stream [following]
--2017-09-14 21:26:50-- https://github-production-release-asset-2e65be.s3.amazonaws.com/23357588/c692d808-54ca-11e6-90f6-ef943b0908bf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170914%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170914T212650Z&X-Amz-Expires=300&X-Amz-Signature=5499332757eeda7d6ddfcd0f604610747214ac476f1c642529287423e25647d8&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dprotoc-3.0.0-linux-x86_64.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.21.211
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.21.211|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1296281 (1.2M) [application/octet-stream]
Saving to: 'protoc-3.0.0-linux-x86_64.zip'
0K .......... .......... .......... .......... .......... 3% 179K 7s
50K .......... .......... .......... .......... .......... 7% 378K 5s
100K .......... .......... .......... .......... .......... 11% 342K 4s
150K .......... .......... .......... .......... .......... 15% 539K 3s
200K .......... .......... .......... .......... .......... 19% 1.24M 3s
250K .......... .......... .......... .......... .......... 23% 921K 2s
300K .......... .......... .......... .......... .......... 27% 545K 2s
350K .......... .......... .......... .......... .......... 31% 35.2M 2s
400K .......... .......... .......... .......... .......... 35% 548K 2s
450K .......... .......... .......... .......... .......... 39% 47.3M 1s
500K .......... .......... .......... .......... .......... 43% 1.26M 1s
550K .......... .......... .......... .......... .......... 47% 928K 1s
600K .......... .......... .......... .......... .......... 51% 58.3M 1s
650K .......... .......... .......... .......... .......... 55% 548K 1s
700K .......... .......... .......... .......... .......... 59% 26.6M 1s
750K .......... .......... .......... .......... .......... 63% 49.4M 1s
800K .......... .......... .......... .......... .......... 67% 554K 1s
850K .......... .......... .......... .......... .......... 71% 30.7M 0s
900K .......... .......... .......... .......... .......... 75% 45.5M 0s
950K .......... .......... .......... .......... .......... 78% 39.8M 0s
1000K .......... .......... .......... .......... .......... 82% 1.36M 0s
1050K .......... .......... .......... .......... .......... 86% 918K 0s
1100K .......... .......... .......... .......... .......... 90% 61.0M 0s
1150K .......... .......... .......... .......... .......... 94% 63.8M 0s
1200K .......... .......... .......... .......... .......... 98% 66.6M 0s
1250K .......... ..... 100% 445K=1.3s
2017-09-14 21:26:52 (945 KB/s) - 'protoc-3.0.0-linux-x86_64.zip' saved [1296281/1296281]
+ unzip protoc-3.0.0-linux-x86_64.zip -d protoc3
Archive: protoc-3.0.0-linux-x86_64.zip
creating: protoc3/include/
creating: protoc3/include/google/
creating: protoc3/include/google/protobuf/
inflating: protoc3/include/google/protobuf/struct.proto
inflating: protoc3/include/google/protobuf/type.proto
inflating: protoc3/include/google/protobuf/descriptor.proto
inflating: protoc3/include/google/protobuf/api.proto
inflating: protoc3/include/google/protobuf/empty.proto
creating: protoc3/include/google/protobuf/compiler/
inflating: protoc3/include/google/protobuf/compiler/plugin.proto
inflating: protoc3/include/google/protobuf/any.proto
inflating: protoc3/include/google/protobuf/field_mask.proto
inflating: protoc3/include/google/protobuf/wrappers.proto
inflating: protoc3/include/google/protobuf/timestamp.proto
inflating: protoc3/include/google/protobuf/duration.proto
inflating: protoc3/include/google/protobuf/source_context.proto
creating: protoc3/bin/
inflating: protoc3/bin/protoc
inflating: protoc3/readme.txt
+ mv protoc3/bin/protoc /usr/local/bin/
+ mv protoc3/include/google /usr/local/include/
---> c49eec5104ba
Removing intermediate container d655726e38c6
Step 15 : RUN cd /var/local/git/grpc/third_party/protobuf && make && make install && make clean
---> Running in a98214b21fee
make: *** No targets specified and no makefile found. Stop.
error: build error: The command '/bin/sh -c cd /var/local/git/grpc/third_party/protobuf && make && make install && make clean' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment