-
Notifications
You must be signed in to change notification settings - Fork 26
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
When trying to install on Mac : interpreter.go: bad #cgo option: darwin tcl85 CFLAGS #6
Comments
What version of the go compiler are you using? (run: |
Okay with help from @dominikh on irc, I've found the source of that error, it comes from an old Go version:
Try updating Go toolchain to a more recent version. P.S. Thanks again, @dominikh |
Thank you ! Serge. On Thu, Sep 4, 2014 at 10:15 AM, nsf [email protected] wrote:
|
---------- Forwarded message ---------- Hi, I have been using nsf "gothic" (tcl/tk go binding) libary under Linux for However I experienced a few problems installing it under Mac. In an attempt to solve that problem, I made the following modifications to
Now at least I can install "gothic" under Mac and it compiles without I had to make the following changes to the "interpreter.go" file, so that 5 #cgo !tcl85 LDFLAGS: -L/opt/local/lib instead of the original: #cgo !tcl85 LDFLAGS: -ltcl8.6 -ltk8.6 #cgo !tcl85 CFLAGS: The current situation is that the examples do compile, without any warnings The problem is that the resulting executables run correctly only once, Has anybody had more success in using "gothic" on a mac ? I yes, would be very grateful for some help on how to proceed. Thanks, Serge. You received this message because you are subscribed to a topic in the |
Hi,
I have now been able to use your "gothic" library successfully under Linux, however when attempting to install it on a Mac, I got the error message:
"interpreter.go: bad #cgo option: darwin tcl85 CFLAGS"
Although the version of tcl / tk is indeed the 8.5 one (I checked).
Is there a way around this ?
Thanks,
Serge.
The text was updated successfully, but these errors were encountered: