Hi,

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$
cd_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/*
*But when i install *
*"grpcio 1.0.0"  some of the pkgs are not building. And i am not seeing any
error msg as well.**Command used : in virtual environment. < pip install
grpcio==**0.11.0b0>>*








*ubuntu@dexter:~<path1>/build/python2.7/lib/python2.7/site-packages/grpc$
cdbeta/      _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 ?


On Tue, Aug 30, 2016 at 11:22 PM, Nathaniel Manista <[email protected]>
wrote:

> On Tue, Aug 30, 2016 at 10:46 AM, vikash kumar <[email protected]
> > wrote:
>
>> 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*
>>
>
> I think the way forward is even simpler than that. I don't think you need
> a command line nearly that long.
>
> *Facing Following issue.*
>>
>> <<
>> build//include/grpc/impl/codegen/alloc.h:68:1: error: function
>> declaration isn’t a prototype [-Werror=strict-prototypes]
>>
>
> I don't think you need a "build" directory.
>
>  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]
>>
>
> I don't think you need a "src" directory.
>
>  static PyObject *__pyx_pf_4grpc_7_cython_6cygr
>> pc_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?
>>>
>>
> Unless you're wanting to try out changes of your own made to gRPC, you
> shouldn't need the git repository locally available or built or anything
> like that. What issues are you having with
>
> $ virtualenv venv
> $ ./venv/bin/pip install --upgrade pip
> <confirm that pip 8.1.2 or later is installed>
> $ ./venv/bin/pip install grpcio
>
> ?
> -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/CAAZA209ddtEM2ihMDRXBs3_5mOVHhvHA%3DTyT_ogFwm4o9-4MDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to