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 <[email protected]>
wrote:

> On Tue, Aug 30, 2016 at 9:46 AM, vikash kumar <[email protected]>
> 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.0b0
>>
>
> grpcio *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?
> -Nathaniel
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAAZA20_o7B%3DdwdJSA-dqRRM%2Bbt2GTsvHao-9DUnCuSY_%2BUorVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to