You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Erik (Jira)" <ji...@apache.org> on 2022/07/10 16:29:00 UTC
[jira] [Closed] (THRIFT-5291) golang tutorial seems broken
[ https://issues.apache.org/jira/browse/THRIFT-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik closed THRIFT-5291.
------------------------
Resolution: Won't Fix
> 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.20.10#820010)