-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install errors with readline library #9
Comments
I get the same thing and more with yosemite... |
ah yes, someone mentioned on irc that the readline library doesn't work on OSX. @cnf said https://github.com/gobs/readline should be a drop in replacement, i.e. you should be able to just change the import without touching the other code, lemme know if that works |
And there we go; simple swap and pull request attached. |
so it works fine? i'll try it out on linux later |
Works perfectly; and yes we should test the different platforms you are trying to target here to just make sure they still work. |
actually gobs/readline/ is a fork of /sbinet/go-readline and has the last commit in aug 2010, whereas the sbinet version has a commit in nov 2013, so maybe we should use the sbinet version? |
Huh? https://github.com/gobs/readline last commit is August 23rd. Just for a whirl I did try sbinet and it failed. lethe :: Dieterbe/influx-cli » go build .
# github.com/sbinet/go-readline/pkg/readline
37: error: use of undeclared identifier 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'? Which is actually handled in gobs/readline@2a2f8e3 P.S. I'm using XCode 6.1 on Yosemite if that helps at all. Yes gobs/readline really worked. |
|
The gobs/readline failed for me:
I'm on OSX 10.10.1 Yosemite and XCode 6.1.1 Here is my go env:
|
it seems to want go 1.3.3 instead of your go 1.3.1? EDIT: you seem to have 1.3.3 :P so maybe it is the other way around, the library hasn't been updated for 1.3.3 yet? |
just for the record gobs/readline also worked for me with OSX 10.10.1 Yosemite go env |
Yes I concur, go1.4 darwin/amd64 does install without any issues on OSX 10.10.1 with XCode 6.1.1. There is one thing users should do if they are upgrading from 1.3 and that is resetting builds for the $GOPATH pkg directory. The following should do the trick:
The new 1.4 compatible builds will compile when you go install a Go package:
|
wow I filed #10 back in october :( |
whoops, sorry, this slipped my mind. pr #10 works for me so i merged it, hopefully this will fix install issues for macOS users. |
@Dieterbe works for me on 10.10 now. Thanks! |
Hello! I am new to golang so it's entirely possible this is my fault, but I cannot seem to install influxdb-cli using
go get
.Any ideas?
The text was updated successfully, but these errors were encountered: