[ 
https://issues.apache.org/jira/browse/THRIFT-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215917#comment-17215917
 ] 

Erik commented on THRIFT-5291:
------------------------------

perhaps bug isn't the right word but it's unclear in the documentation of the 
golang implementation how to get started.

 

I have automake but will try again with the steps provided. I am on a mac so 
will try to cross reference the apt packages for mac equivalents.

 

Regarding the compiling thrift, I have thrift already via binary.. is what 
you're saying is that I should refer to those instructions for building the 
golang implementation too?

 

thank you Zezeng!

> golang tutorial seems broken
> ----------------------------
>
>                 Key: THRIFT-5291
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5291
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.13.0
>         Environment: Mac OS, Ubuntu 20.04
>            Reporter: Erik
>            Priority: Minor
>         Attachments: image-2020-10-07-23-13-17-967.png
>
>
> I admit, I am a bit new to golang... but not new to thrift.  I am using 
> thrift Servers written in C#, Python, Java... but I would LOVE to look into 
> golang.
> I first started with my own teams .thrift file... but soon realized that I 
> didn't understand golang enough to create the Handler... got lots of errors.
> Plan B - well just spin up the tutorial, right?  Not quite.  I see in the 
> golang tutorial a Makefile.am ... I have tried `autoreconf` `cmake` `make -f` 
> .. none of these worked and there is no getting started read me or hint as to 
> what tool makes this tutorial come together... which would help me then 
> understand what I need to do to finish my own teams .thrift server.
>  
> {code}
> cmake .
>  CMake Error: The source directory "~/go" does not appear to contain 
> CMakeLists.txt.
>  Specify --help for usage, or press the help button on the CMake GUI.
> autoreconf 
>  autoreconf: 'configure.ac' or 'configure.in' is required
> make -f Makefile.am
>  make: *** No rule to make target `/tutorial/tutorial.thrift', needed by 
> `gen-go/tutorial/calculator.go'. Stop.
> {code}
> folder structure is as follows
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to