-
Notifications
You must be signed in to change notification settings - Fork 79
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
hts-sys fails to compile on OSX #202
Comments
Would you mind trying with this PR/branch?: #193 You'll have to use Rustembedded In a nutshell, you'd just have to run:
It works for me for GNU and MUSL toolchains :) |
@brainstorm Well that doesn't explain why glibc fails. |
@luyoutao You reckon there's some missing dependency/crate/flag somewhere? I'm all ears! :-S |
@brainstorm |
@foehnair Could you please try again cloning from |
@brainstorm I tried the github version but still failed:
Here is my clang version
Any thoughts? Thanks. |
Which commands did you use to compile it? |
I used |
Ok, you should use the ones shown in the README instead. |
I thought this was for GNU toolchain but I don't have GNU GCC. |
Good point, fixed on b9ed3ad |
Nice. Here are results from
|
Can you |
Sure, trying. Do you mean |
Yes, that should work. That docker container can be run on OSX/Windows/Linux, it does not "target" any particular OS. |
Sorry, I mean which OS the resultant binary targets? |
Aha sorry, now I get what what you mean. Indeed you should use the "OSX" section as detailed in the README with the Filosotile musl compiler, which I haven't thoroughly tested myself since I'm using a MacBook Air as a "client" which takes way too long to compile for me. Perhaps you might be interested in testing/coordinating with PR #187, since it's adding support for sans-docker compilation and local install, AFAICT? |
Good point, will try. |
@brainstorm rust-htslib |
Hi developers, I'm building an blank program (unmodified hello world main.rs) in order to see how the dependencies are being installed. Here is what I added to Cargo.toml:
Here is my build result, including an error spit from the C compiler:
Does anybody know how to sort it out? Thanks.
Update:
rustc 1.43.1 (8d69840ab 2020-05-04)
macOS 10.15.4
The text was updated successfully, but these errors were encountered: