Skip to content
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

FreeBSD compile #51

Open
tatarenko opened this issue Jan 26, 2019 · 2 comments
Open

FreeBSD compile #51

tatarenko opened this issue Jan 26, 2019 · 2 comments

Comments

@tatarenko
Copy link

tatarenko commented Jan 26, 2019

engraver does not compile
cargo run returns:

error: failed to run custom build command for `sys-info v0.5.6`
process didn't exit successfully: `/usr/home/admin/engraver/target/debug/build/sys-info-f8ac6bb10e9bb895/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'unsupported system: freebsd', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sys-info-0.5.6/build.rs:17:14
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
@JohnnyFFM
Copy link
Contributor

Hi,

Engraver is currently using sys-info crate. Looks like the crate is not supporting FreeBSD.
A solution to this could be to use replacement crates supporting FreeBSD, like systemstat for mem usage and num_cpus for processor information. Since I don't run FreeBSD / have no experience with it, I call for help on this.

Best,
Johnny

@tatarenko
Copy link
Author

Don't have programming skills but could help building/testing on FreeBSD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants