Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Error building on mac #4

Closed
reem opened this issue Dec 20, 2014 · 1 comment
Closed

Error building on mac #4

reem opened this issue Dec 20, 2014 · 1 comment

Comments

@reem
Copy link

reem commented Dec 20, 2014

output from cargo build --verbose

   Compiling gcc v0.1.2
     Running `rustc /Users/reem/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.2/src/lib.rs --crate-name gcc --crate-type lib -g -C metadata=165e603132fd5f7c -C extra-filename=-165e603132fd5f7c --out-dir /Users/reem/code/rust/cargo-watch/target/deps --dep-info /Users/reem/code/rust/cargo-watch/target/.fingerprint/gcc-165e603132fd5f7c/dep-lib-gcc -L /Users/reem/code/rust/cargo-watch/target/deps -L /Users/reem/code/rust/cargo-watch/target/deps -Awarnings`
   Compiling time v0.1.3
     Running `rustc build.rs --crate-name build-script-build --crate-type bin -C prefer-dynamic -g --out-dir /Users/reem/code/rust/cargo-watch/target/build/time-ebf8a3b3c11a2cc2 --dep-info /Users/reem/code/rust/cargo-watch/target/.fingerprint/time-ebf8a3b3c11a2cc2/dep-bin-build-script-build -L /Users/reem/code/rust/cargo-watch/target/deps -L /Users/reem/code/rust/cargo-watch/target/deps --extern gcc=/Users/reem/code/rust/cargo-watch/target/deps/libgcc-165e603132fd5f7c.rlib -Awarnings`
     Running `/Users/reem/code/rust/cargo-watch/target/build/time-ebf8a3b3c11a2cc2/build-script-build`
     Running `rustc /Users/reem/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.3/src/lib.rs --crate-name time --crate-type lib -g -C metadata=ebf8a3b3c11a2cc2 -C extra-filename=-ebf8a3b3c11a2cc2 --out-dir /Users/reem/code/rust/cargo-watch/target/deps --dep-info /Users/reem/code/rust/cargo-watch/target/.fingerprint/time-ebf8a3b3c11a2cc2/dep-lib-time -L /Users/reem/code/rust/cargo-watch/target/deps -L /Users/reem/code/rust/cargo-watch/target/deps -Awarnings -L /Users/reem/code/rust/cargo-watch/target/build/time-ebf8a3b3c11a2cc2/out -l time_helpers:static`
   Compiling notify v1.0.1 (/~https://github.com/passcod/rsnotify.git#f14e83f3)
     Running `rustc /Users/reem/.cargo/git/checkouts/rsnotify-1f201f3fca9ce0e6/master/src/lib.rs --crate-name notify --crate-type lib -g -C metadata=2554c189493a63c9 -C extra-filename=-2554c189493a63c9 --out-dir /Users/reem/code/rust/cargo-watch/target/deps --dep-info /Users/reem/code/rust/cargo-watch/target/.fingerprint/notify-2554c189493a63c9/dep-lib-notify -L /Users/reem/code/rust/cargo-watch/target/deps -L /Users/reem/code/rust/cargo-watch/target/deps --extern time=/Users/reem/code/rust/cargo-watch/target/deps/libtime-ebf8a3b3c11a2cc2.rlib -Awarnings -L /Users/reem/code/rust/cargo-watch/target/build/time-ebf8a3b3c11a2cc2/out`
/Users/reem/.cargo/git/checkouts/rsnotify-1f201f3fca9ce0e6/master/src/lib.rs:6:9: 6:16 error: unresolved import `self::inotify::INotifyWatcher`. Maybe a missing `extern crate inotify`?
/Users/reem/.cargo/git/checkouts/rsnotify-1f201f3fca9ce0e6/master/src/lib.rs:6 pub use self::inotify::INotifyWatcher;
                                                                                       ^~~~~~~
error: aborting due to previous error
Could not compile `notify`.

Caused by:
  Process didn't exit successfully: `rustc /Users/reem/.cargo/git/checkouts/rsnotify-1f201f3fca9ce0e6/master/src/lib.rs --crate-name notify --crate-type lib -g -C metadata=2554c189493a63c9 -C extra-filename=-2554c189493a63c9 --out-dir /Users/reem/code/rust/cargo-watch/target/deps --dep-info /Users/reem/code/rust/cargo-watch/target/.fingerprint/notify-2554c189493a63c9/dep-lib-notify -L /Users/reem/code/rust/cargo-watch/target/deps -L /Users/reem/code/rust/cargo-watch/target/deps --extern time=/Users/reem/code/rust/cargo-watch/target/deps/libtime-ebf8a3b3c11a2cc2.rlib -Awarnings -L /Users/reem/code/rust/cargo-watch/target/build/time-ebf8a3b3c11a2cc2/out` (status=101)

rustc --version=verbose output

rustc 0.13.0-nightly (99d6956c3 2014-12-18 20:32:07 +0000)
binary: rustc
commit-hash: 99d6956c3bdb290b9fd539c5dc15a2b502da5e7a
commit-date: 2014-12-18 20:32:07 +0000
host: x86_64-apple-darwin
release: 0.13.0-nightly
@passcod
Copy link
Member

passcod commented Dec 20, 2014

My bad. That should be fixed now, cargo update and try again :)

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

No branches or pull requests

2 participants