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
Change header name in netcdf-sys #3
Conversation
(build.rs / gcc)
(which leads to a HUGE if/else if :/)
Hello, thanks for the pull request! I bet your suspicion about netcdf versioning issues is correct; I really only ever tested this on one netcdf version. I'd like to look into these issues myself and also investigate why the CI builds are failing after d841167 before accepting your pull request though.. I'll try to check it out this weekend! |
Hello again, After removing the "nc_write" flag in the "nc_create" call, ( src/file.rs ) every test succeed :) (commit [https://github.com//pull/3/commits/aa7f785e9e7d9ea02e30e1232f36db60f2a9192a] ). |
Right, I believe that the unit tests succeed for you, but something in commit d841167 caused the Travis Continous Integration builds to start failing. (That's the little red X's next to the commit hashes in the pull request). See for example: https://travis-ci.org/mhiley/rust-netcdf/builds/162049536 The log message from CI builds aren't very helpful, unfortunately. I'll try to dig in more this weekend. |
Oh and by the way, what Rust and Cargo versions are you running? |
I didn't knew about Travis (I'm quite new to github) :/, i will look into it. |
Hello, After 7 month, I've decided to give it another try :) |
Hello again, |
This is great, sorry I missed your comment a few weeks ago and thanks for getting digging into it and getting the Travis build working again! |
Hello,
I wasn't able to build netcdf-sys without renaming "netcdf_v4.3.3.1.h" to "netcdf.h", and without changing the gcc call in "netcdf-sys/build.rs" (to include "netcdf.h").
I've made a fork that I could compile, it does work but some units tests fail.
I assume it's caused by my version of libnetcdf-dev. (1:4.1.3-7ubuntu2 amd64).
I'm both new to rust and to the netcdf file format :S, I really hope I'm not wasting your time.
Best regards,
evomassiny