Topics

missing protoc-gen-c

Zhang, Jiafu
 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

Nabarro, Tom
 

This is a development tool so maybe it’s not pulled in by the default build.

 

I installed as follows:

 

git clone https://github.com/protobuf-c/protobuf-c

cd protobuf-c/

./autogen.sh

./configure --prefix=/home/tanabarr/protobuf/install PKG_CONFIG_PATH=/home/tanabarr/protobuf/install/lib/pkgconfig

make && make install

 

it is not a plug-in that ships with the stock protobuf compiler package (which ships instead with C++ plugin).

 

See the <daos>/src/proto/Makefile for some details and this will point you to the following doc if compiler is missing.

 

https://github.com/daos-stack/daos/blob/master/doc/development.md#protobuf-compiler

 

Regards,

Tom Nabarro – DCG/ESAD

M: +44 (0)7786 260986

Skype: tom.nabarro

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Zhang, Jiafu
Sent: Thursday, May 7, 2020 11:54 AM
To: daos@daos.groups.io
Subject: [daos] missing protoc-gen-c

 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Nabarro, Tom
 

So apologies but that link is dead, anyone know where the contents got moved to? I can’t find any references to relevant content in the docs.

 

The protobuf-c package is installed during build (I’m using master) and gets pulled in from <daos>/utils/sl/components/__init__.py but we don’t build the protoc* binaries/full compiler to avoid overhead for something that is only required very occasionally for developer purposes (we supply the –disable-protoc configure option in the build).

 

For the moment you will need to build the compiler and plug-in yourself but we plan on providing a build flag for developers that’s need it.

 

Tom

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 2:12 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This is a development tool so maybe it’s not pulled in by the default build.

 

I installed as follows:

 

git clone https://github.com/protobuf-c/protobuf-c

cd protobuf-c/

./autogen.sh

./configure --prefix=/home/tanabarr/protobuf/install PKG_CONFIG_PATH=/home/tanabarr/protobuf/install/lib/pkgconfig

make && make install

 

it is not a plug-in that ships with the stock protobuf compiler package (which ships instead with C++ plugin).

 

See the <daos>/src/proto/Makefile for some details and this will point you to the following doc if compiler is missing.

 

https://github.com/daos-stack/daos/blob/master/doc/development.md#protobuf-compiler

 

Regards,

Tom Nabarro – DCG/ESAD

M: +44 (0)7786 260986

Skype: tom.nabarro

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Zhang, Jiafu
Sent: Thursday, May 7, 2020 11:54 AM
To: daos@daos.groups.io
Subject: [daos] missing protoc-gen-c

 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Colin Ngam
 

This one?

doc/dev/development.md

 

From: <daos@daos.groups.io> on behalf of "Nabarro, Tom" <tom.nabarro@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Thursday, May 7, 2020 at 10:18 AM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] missing protoc-gen-c

 

So apologies but that link is dead, anyone know where the contents got moved to? I can’t find any references to relevant content in the docs.

 

The protobuf-c package is installed during build (I’m using master) and gets pulled in from <daos>/utils/sl/components/__init__.py but we don’t build the protoc* binaries/full compiler to avoid overhead for something that is only required very occasionally for developer purposes (we supply the –disable-protoc configure option in the build).

 

For the moment you will need to build the compiler and plug-in yourself but we plan on providing a build flag for developers that’s need it.

 

Tom

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 2:12 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This is a development tool so maybe it’s not pulled in by the default build.

 

I installed as follows:

 

git clone https://github.com/protobuf-c/protobuf-c

cd protobuf-c/

./autogen.sh

./configure --prefix=/home/tanabarr/protobuf/install PKG_CONFIG_PATH=/home/tanabarr/protobuf/install/lib/pkgconfig

make && make install

 

it is not a plug-in that ships with the stock protobuf compiler package (which ships instead with C++ plugin).

 

See the <daos>/src/proto/Makefile for some details and this will point you to the following doc if compiler is missing.

 

https://github.com/daos-stack/daos/blob/master/doc/development.md#protobuf-compiler

 

Regards,

Tom Nabarro – DCG/ESAD

M: +44 (0)7786 260986

Skype: tom.nabarro

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Zhang, Jiafu
Sent: Thursday, May 7, 2020 11:54 AM
To: daos@daos.groups.io
Subject: [daos] missing protoc-gen-c

 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Nabarro, Tom
 

That’s the one . thanks

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Colin Ngam
Sent: Thursday, May 7, 2020 4:27 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This one?

doc/dev/development.md

 

From: <daos@daos.groups.io> on behalf of "Nabarro, Tom" <tom.nabarro@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Thursday, May 7, 2020 at 10:18 AM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] missing protoc-gen-c

 

So apologies but that link is dead, anyone know where the contents got moved to? I can’t find any references to relevant content in the docs.

 

The protobuf-c package is installed during build (I’m using master) and gets pulled in from <daos>/utils/sl/components/__init__.py but we don’t build the protoc* binaries/full compiler to avoid overhead for something that is only required very occasionally for developer purposes (we supply the –disable-protoc configure option in the build).

 

For the moment you will need to build the compiler and plug-in yourself but we plan on providing a build flag for developers that’s need it.

 

Tom

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 2:12 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This is a development tool so maybe it’s not pulled in by the default build.

 

I installed as follows:

 

git clone https://github.com/protobuf-c/protobuf-c

cd protobuf-c/

./autogen.sh

./configure --prefix=/home/tanabarr/protobuf/install PKG_CONFIG_PATH=/home/tanabarr/protobuf/install/lib/pkgconfig

make && make install

 

it is not a plug-in that ships with the stock protobuf compiler package (which ships instead with C++ plugin).

 

See the <daos>/src/proto/Makefile for some details and this will point you to the following doc if compiler is missing.

 

https://github.com/daos-stack/daos/blob/master/doc/development.md#protobuf-compiler

 

Regards,

Tom Nabarro – DCG/ESAD

M: +44 (0)7786 260986

Skype: tom.nabarro

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Zhang, Jiafu
Sent: Thursday, May 7, 2020 11:54 AM
To: daos@daos.groups.io
Subject: [daos] missing protoc-gen-c

 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Nabarro, Tom
 

Broken links fixed on master https://github.com/daos-stack/daos/pull/2654

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 4:31 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

That’s the one . thanks

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Colin Ngam
Sent: Thursday, May 7, 2020 4:27 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This one?

doc/dev/development.md

 

From: <daos@daos.groups.io> on behalf of "Nabarro, Tom" <tom.nabarro@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Thursday, May 7, 2020 at 10:18 AM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] missing protoc-gen-c

 

So apologies but that link is dead, anyone know where the contents got moved to? I can’t find any references to relevant content in the docs.

 

The protobuf-c package is installed during build (I’m using master) and gets pulled in from <daos>/utils/sl/components/__init__.py but we don’t build the protoc* binaries/full compiler to avoid overhead for something that is only required very occasionally for developer purposes (we supply the –disable-protoc configure option in the build).

 

For the moment you will need to build the compiler and plug-in yourself but we plan on providing a build flag for developers that’s need it.

 

Tom

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 2:12 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This is a development tool so maybe it’s not pulled in by the default build.

 

I installed as follows:

 

git clone https://github.com/protobuf-c/protobuf-c

cd protobuf-c/

./autogen.sh

./configure --prefix=/home/tanabarr/protobuf/install PKG_CONFIG_PATH=/home/tanabarr/protobuf/install/lib/pkgconfig

make && make install

 

it is not a plug-in that ships with the stock protobuf compiler package (which ships instead with C++ plugin).

 

See the <daos>/src/proto/Makefile for some details and this will point you to the following doc if compiler is missing.

 

https://github.com/daos-stack/daos/blob/master/doc/development.md#protobuf-compiler

 

Regards,

Tom Nabarro – DCG/ESAD

M: +44 (0)7786 260986

Skype: tom.nabarro

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Zhang, Jiafu
Sent: Thursday, May 7, 2020 11:54 AM
To: daos@daos.groups.io
Subject: [daos] missing protoc-gen-c

 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Zhang, Jiafu
 

Thanks you, Nabarro.

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 11:31 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

That’s the one . thanks

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Colin Ngam
Sent: Thursday, May 7, 2020 4:27 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This one?

doc/dev/development.md

 

From: <daos@daos.groups.io> on behalf of "Nabarro, Tom" <tom.nabarro@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Thursday, May 7, 2020 at 10:18 AM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] missing protoc-gen-c

 

So apologies but that link is dead, anyone know where the contents got moved to? I can’t find any references to relevant content in the docs.

 

The protobuf-c package is installed during build (I’m using master) and gets pulled in from <daos>/utils/sl/components/__init__.py but we don’t build the protoc* binaries/full compiler to avoid overhead for something that is only required very occasionally for developer purposes (we supply the –disable-protoc configure option in the build).

 

For the moment you will need to build the compiler and plug-in yourself but we plan on providing a build flag for developers that’s need it.

 

Tom

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Nabarro, Tom
Sent: Thursday, May 7, 2020 2:12 PM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

This is a development tool so maybe it’s not pulled in by the default build.

 

I installed as follows:

 

git clone https://github.com/protobuf-c/protobuf-c

cd protobuf-c/

./autogen.sh

./configure --prefix=/home/tanabarr/protobuf/install PKG_CONFIG_PATH=/home/tanabarr/protobuf/install/lib/pkgconfig

make && make install

 

it is not a plug-in that ships with the stock protobuf compiler package (which ships instead with C++ plugin).

 

See the <daos>/src/proto/Makefile for some details and this will point you to the following doc if compiler is missing.

 

https://github.com/daos-stack/daos/blob/master/doc/development.md#protobuf-compiler

 

Regards,

Tom Nabarro – DCG/ESAD

M: +44 (0)7786 260986

Skype: tom.nabarro

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of Zhang, Jiafu
Sent: Thursday, May 7, 2020 11:54 AM
To: daos@daos.groups.io
Subject: [daos] missing protoc-gen-c

 

Hi Guys,

 

In https://github.com/daos-stack/daos/tree/master/src/proto/README.md, it uses “protoc -I mgmt --c_out=../mgmt mgmt/srv.proto --plugin=/opt/potobuf/install/bin/protoc-gen-c” to generate C code. In recent DAOS, I cannot find “protoc-gen-c”.

 

Do you know why?

 

Thanks.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

timehuang88@...
 

Hi Zhang, Jiafu
May 7   
could I have your wechat account, so that we can discuss on DAOS conveniently.

Zhang, Jiafu
 

Hi,

 

Just sent my webchat account to your email.

 

Thanks.

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of timehuang88@...
Sent: Wednesday, June 3, 2020 9:33 AM
To: daos@daos.groups.io
Subject: Re: [daos] missing protoc-gen-c

 

Hi Zhang, Jiafu

May 7   

could I have your wechat account, so that we can discuss on DAOS conveniently.