You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/04/25 14:33:10 UTC

[GitHub] [pulsar-client-go] JoseFMP opened a new issue #234: Cannot build the project

JoseFMP opened a new issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234


   #### Expected behavior
   
   The client in this repository should build.
   #### Actual behavior
   
   An error appears when trying to build the client:
   ```
   ./c_go_pulsar.h:22:10: fatal error: pulsar/c/client.h: No such file or directory
   ```
   
   #### Steps to reproduce
   
   How can we reproduce the issue
   
   #### System configuration
   **Pulsar version**:  v0.1.0 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy closed issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy closed issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] JoseFMP commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
JoseFMP commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619483349


   Thank you, I am going to look at it and see if I can build and that was the issue.
   Do you know other dependencies that I need to have before I can use the package?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620087896


   > @wolfstudy I installed the libraries. Seems correct but now I get another build error. I updated the bug description.
   
   They are just some warning logs, in fact, they will not affect the correctness of use, right?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619390908


   > #### Actual behavior
   > An error appears when trying to build the client:
   > 
   > ```
   > ./c_go_pulsar.h:22:10: fatal error: pulsar/c/client.h: No such file or directory
   > ```
   
   The problem seems to be that you did not successfully build the cpp client locally because the cgo client needs to depend on the cpp client lib. More info reference to [How to build cpp client](https://pulsar.apache.org/docs/en/client-libraries-cpp/)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy edited a comment on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620083839


   > Another thing I am thinking, wouldn't it be better to offer the Go client with those binaries already built?
   
   Yes, for different versions, we have provided the corresponding `libpulsar.so` file, you can find them in https://pulsar.apache.org/docs/en/client-libraries-cgo/#requirements


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620085461


   > Thank you, I am going to look at it and see if I can build and that was the issue.
   
   If possible, you can use the native go client to instead cgo client. As docs said: ` the CGo client will be deprecated`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy edited a comment on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620083839


   > Another thing I am thinking, wouldn't it be better to offer the Go client with those binaries already built?
   
   Yes, for different versions, we have provided the corresponding `libpulsar.so` file, you can find them in https://pulsar.apache.org/docs/en/client-libraries-cgo/#requirements and https://dist.apache.org/repos/dist/dev/pulsar/pulsar-2.5.0-candidate-1/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620083839


   > Another thing I am thinking, wouldn't it be better to offer the Go client with those binaries already built?
   
   Yes, for different versions, we have provided the corresponding lib.so file, you can find them in https://pulsar.apache.org/docs/en/client-libraries-cgo/#requirements


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy edited a comment on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620085461


   > Thank you, I am going to look at it and see if I can build and that was the issue.
   
   If possible, you can use the native go client to instead cgo client. As docs said: ` the CGo client will be deprecated`
   
   In this way, you don't need to care about the problem of cpp build failure


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619390621


   Thanks @JoseFMP feedback. Currently, you are building a cgo version of pulsar-client-go, this repo is a native go client. And the repo [Goal](Currently, you are building a cgo version of pulsar-client-go, this repo is a native go client).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy edited a comment on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619390621


   Thanks @JoseFMP feedback. Currently, you are building a [cgo version of pulsar-client-go](https://github.com/apache/pulsar/tree/master/pulsar-client-go), this repo is a native go client. And the repo [Goal](https://github.com/apache/pulsar-client-go#goal).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-624408452


   > @wolfstudy Could we fix this? This is misleading.
   
   This is a problem with the cgo client. Do we need to continue maintenance?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-629018141


   @JoseFMP The issue belongs to the cgo client, it belongs to the warning log and will not affect normal use. I will close this issue, if there is any problem, please ping me or reopen it, thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] jiazhai commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-621570463


   @wolfstudy Could we fix this? This is misleading.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] JoseFMP commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
JoseFMP commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619483566


   Another thing I am thinking, wouldn't it be better to offer the Go client with those binaries already built?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy edited a comment on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619390621


   Thanks @JoseFMP feedback. Currently, you are building a cgo version of pulsar-client-go, this repo is a native go client. And the repo [Goal](https://github.com/apache/pulsar-client-go#goal).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] JoseFMP commented on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
JoseFMP commented on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-619487431


   @wolfstudy I installed the libraries. Seems correct but now I get another build error. I updated the bug description.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] wolfstudy edited a comment on issue #234: Cannot build the project

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #234:
URL: https://github.com/apache/pulsar-client-go/issues/234#issuecomment-620085461


   > Thank you, I am going to look at it and see if I can build and that was the issue.
   
   If possible, you can use the native go client to instead cgo client. As docs said: ` the CGo client will be deprecated`
   
   In this way, you don't need to care about the problem of cpp build failure. This is also the [Goal](https://github.com/apache/pulsar-client-go#goal) of developing this repo.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org