Closed akiross closed 7 years ago
textflag.h is part of the Go runtime[1] and should be present in your distro's package. Check the rpm and of its not there, complain.
Thanks. Yes, I noticed that golang-src
was installed and textflag.h
is available on my system in /usr/lib/golang/src/runtime/textflag.h
but apparently it can't be found when compiling.
I don't use a package manager to install Go, so I'm afraid I can't help with this. I'd suggest asking on golang-nuts.
I've just noticed that you are using gcc-go. Have you tried with gc (the standard compiler suite)?
Yes, that solves it. I didn't know that Fedora automatically switched to gcc-go as default go compiler if it's installed in the system. Thanks!
I tried to get gonum/floats but a certain header is missing:
I am on Fedora 25, installed go using the distro package manager and then set my GOPATH according to the Developer's guide, but maybe I am missing something.
EDIT: Maybe this is of interest