Closed
Description
Trying to compile basic-http-server on a Digital Ocean Droplet, FreeBSD 10.2.
Compiling libc v0.2.4
...
Compiling libc v0.1.12
...
Compiling nix v0.4.2
/home/freebsd/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46:20: 46:28 error: unresolved import `libc::PATH_MAX`. There is no `PATH_MAX` in `libc` [E0432]
/home/freebsd/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46 use libc::{c_char, PATH_MAX};
^~~~~~~~
/home/freebsd/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46:20: 46:28 help: run `rustc --explain E0432` to see a detailed explanation
error: aborting due to previous error
Could not compile `nix`.
cargo 0.7.0 (built 2016-02-11)
rustc 1.5.0