-
Notifications
You must be signed in to change notification settings - Fork 53
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
Installation failure on macOS #11
Comments
Hi @limoli! Could you clarify what hardware and OS you use to download and compile package? Just it seems you have CLANG compiler installed only, but I test it with GCC compiler on Linux OS. Additional assumption you need to install ld tool (GNU linker from "binutils" installation distributive). I will try to test compiling without GCC in virtual environment a little later. Sorry for late response. |
same issue on mac os mojave
|
Could you clarify, why you are trying to compile this library directly on MacOS? |
Using go cross compilation for arm-6, linux. Idea was to deploy already executable item to raspberry pi. |
Hi @darkowl91! Could you try again to get latest d2r2/go-dht and cross compile it? Just recently I have added a fix for macOS. |
@d2r2 THe latest fix for macOS is not working . Just informing. As i am also gettgint he same error as @darkowl91 |
Hi @pradyuz3rocool! Could you attach here compilation output with error from macOS? |
|
@pradyuz3rocool, thank you for reporting that issue still present! Main problem is that unfortunately I have no macOS system in my hands. I do all my development on Arch Linux system either directly on Raspberry PI linux. So, in both cases everything works great, but I have no chance to build DHT library on macOS. I will try to get in my hands macOS, but I don’t promise to do it quickly :( Until this problem is fixed, my advice is to compile directly on Raspberry PI device, or any corresponding clones. |
Thanks @d2r2 I myself work on Arch, but i was trying the same implementation on macOS, i was facing this issue. But Would love to make it generic. I will also look into the fix in the mean while. |
@pradyuz3rocool, I thought we have two concerns about macOS:
But as I see, I forget to do this with bunch of
to make it working on both systems. Try and give me reply how it's going. |
Sure 👍 |
@pradyuz3rocool any luck with this ? |
Was able to build on mac with the following settings
|
@darkowl91, in this case compile line for mac OS will looks like:
Is it correct? |
yes |
As documentation, I executed:
go get -u github.com/d2r2/go-dht
The text was updated successfully, but these errors were encountered: