--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAEOYnAS1YddnWT5X%3DVgUWNrzYkvW92ZZmE4oDvYfxt17YeKu%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/8b37cbe1-ff91-409e-8ea3-bba28467dd3a%40googlegroups.com.
In the mean time... how can I manually build it? I found that the setup.py is no longer where it was on previous releases
Is this issue resolved ? I am seeing this issue.
I am seeing this issue.
I am running one script for building grpcio. This script is working fine with older version of grpc. With latest version of grpc it is giving error.Here is the script.
<<
grpc_source_path=<path1>/grpc
grpc_install_path=<path1>/build/
venv_path=build/python2.7
virtualenv --python=python2.7 $venv_path
. $venv_path/bin/activate
CFLAGS="-I$grpc_install_path/include -std=c89 -Werror" LDFLAGS=-L$grpc_install_path/lib pip install grpcio==0.11.0b0
I am using ubuntu 14.04. grpc 1.0 ,protobuf 3.0 and pip 1.5.4.
Let me know if you need some more info.
As you mentioned i am using grpcio 1.0.0. and using following command.
CFLAGS="-I$grpc_install_path/include -std=c89 -Werror" LDFLAGS=-L$grpc_install_path/lib pip install grpcio
Facing Following issue.
<<
build//include/grpc/impl/codegen/alloc.h:68:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
GPRAPI gpr_allocation_functions gpr_get_allocation_functions();
^
src/python/grpcio/grpc/_cython/cygrpc.c:2076:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
static PyObject *__pyx_pf_4grpc_7_cython_6cygrpc_8Timespec_4infinite_future(); /* proto */
>>On Tue, Aug 30, 2016 at 10:24 PM, Nathaniel Manista <nath...@google.com> wrote:On Tue, Aug 30, 2016 at 9:46 AM, vikash kumar <kumarvik...@gmail.com> wrote:I am running one script for building grpcio. This script is working fine with older version of grpc. With latest version of grpc it is giving error.Here is the script.
<<
grpc_source_path=<path1>/grpc
grpc_install_path=<path1>/build/
venv_path=build/python2.7
virtualenv --python=python2.7 $venv_path
. $venv_path/bin/activate
CFLAGS="-I$grpc_install_path/include -std=c89 -Werror" LDFLAGS=-L$grpc_install_path/lib pip install grpcio==0.11.0b0grpcio 0.11.0b0??? Released nearly one year ago? Please upgrade to grpcio 1.0.0.In the last year we've made grpcio entirely self-contained, so you shouldn't have to have the gRPC Core installed on your system or built locally or anything like that. You should just be able to "pip install grpcio" and move forward.I am using ubuntu 14.04. grpc 1.0 ,protobuf 3.0 and pip 1.5.4.Please upgrade pip to at least 8.0 - there shouldn't be any issue with that since you're working with a virtual environment, right?Let me know if you need some more info.After using grpcio 1.0.0 and pip 8.0-or-later, what's the next obstacle you encounter?
Here is one query. When i install " grpcio 0.11.0b0" then after completion of installation i got the following pkgs on grpc directory.Command used : in virtual Environment. < pip install grpcio==0.11.0b0>>ubuntu@dexter:~<path1>/build/python2.7/lib/python2.7/site-packages/grpc$ cdBut when i install "grpcio 1.0.0" some of the pkgs are not building. And i am not seeing any error msg as well.
_adapter/ beta/ early_adopter/ framework/ _links/
ubuntu@dexter:~<path1>/build/python2.7/lib/python2.7/site-packages/grpc$ cd framework/
alpha/ base/ common/ core/ crust/ face/ foundation/ interfaces/
Command used : in virtual environment. < pip install grpcio==0.11.0b0>>
ubuntu@dexter:~<path1>/build/python2.7/lib/python2.7/site-packages/grpc$ cd
beta/ _cython/ framework/
ubuntu@dexter:~<path1>/build/python2.7/lib/python2.7/site-packages/grpc$ cd framework/
common/ foundation/ interfaces/Is it correct or something i am missing here ?
But now we are changing toDon't be skeptical. i have used this command. "pip install grpcio==1.0.0"The reason i asked this because with the older version of grpcio. We have used follwing import command.
from grpc.framework.alpha.exceptions import *
from grpc.framework.interfaces.face.face import *
But both have different type of error.