Comments (5)
Thank you for the bug report. We need your help to reproduce the problem (and then fix it!)
What exactly do you mean by "latest grpc"?
Did you compile and install the master branch? Or v1.6.x? Or v1.4.x?
Can you include the command you used to download grpc?
If you used git
to clone the grpc repository, can you include the output from git status
and/or git rev-parse HEAD
?
from cpp-samples.
Sorry for my incomplete report.
The output of git status
is:
On branch v1.4.x
Your branch is up-to-date with 'origin/v1.4.x'.
nothing to commit, working directory clean
from cpp-samples.
I have tested the build on Ubuntu 14.04 against the v1.4.x version of grpc, it works without problem. You can find the shell script and Dockerfile I used here:
https://github.com/coryan/cpp-docs-samples/tree/fix-issue-24/speech/api/ci
I think the main difference is that we normally compile grpc against the c-ares submodule. That is, grpc is not compiled against libc-ares-dev
, it is compiled against the submodule in third_party/cares
. The commands to compile and install grpc
are:
git clone https://github.com/grpc/grpc.git
cd grpc
git checkout v1.4.x
git submodule update --init
make -j 2
make install
cd third_party/protobuf
make install
Please feel free to reopen this bug if that does not help you.
from cpp-samples.
I suppose ur point is to install the protobuf
from the grpc/third_party/protobuf/
instead of https://github.com/google/protobuf/blob/3.1.x/src/README.md
So, I've tried the method which is similar to
WORKDIR /var/tmp/build-grpc
RUN (git clone https://github.com/grpc/grpc.git &&
cd grpc && git checkout v1.4.x && git submodule update --init &&
make -j 2 && make install &&
cd third_party/protobuf && make install)
But there is error when
cd third_party/protobuf
make install
which gives me:
/grpc/third_party/protobuf$ -> make install
make: *** No rule to make target `install'. Stop.
I've checkout the v1.4.x grpc already, did I missed something?Thanks
from cpp-samples.
I suppose ur point is to install the protobuf from the grpc/third_party/protobuf/ instead of
https://github.com/google/protobuf/blob/3.1.x/src/README.md
I did not make that point explicitly, but yes, you want to install the dependencies from grpc/third_party
instead of trying to find matching versions from somewhere else.
So, I've tried the method which is similar to
You say "similar", do you mean to say you used exactly those commands, or something else? If something else, would you mind showing the exact commands that you used?
from cpp-samples.
Related Issues (20)
- Dockerfile for Cloud Run hello world is out of date
- [Policy Bot] found one or more issues with this repository. HOT 1
- Ignore - Old Dependency Dashboard
- Ignore - Old Dependency Dashboard HOT 1
- [Policy Bot] found one or more issues with this repository.
- Dependency Dashboard
- Dependency Dashboard
- Running the examples - grpc error HOT 5
- Jwt.h on example HOT 2
- Trouble creating a Google Cloud Speech to Text Client using HOT 2
- run streaming_transcribe Error in windows HOT 8
- How to set speech language in streaming_transcribe HOT 5
- Google cloud speech library is static library HOT 1
- "Segmentation fault" error while running "streaming_transcribe_singlethread" on Linux Mint x64. HOT 5
- New HOT 1
- Action Required: Fix Renovate Configuration
- fix(pubsub_opentelemetry): segfault on publisher HOT 4
- [pubsub-otel] Add trace screenshots for zipkins
- [pubsub-otel] Add screenshots of the unary pull telemetery data HOT 1
- [pubsub-otel] Does not build at head HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp-samples.