Skip to content

Instantly share code, notes, and snippets.

@bhickey
Created August 26, 2016 21:21
Show Gist options
  • Select an option

  • Save bhickey/068f7ee537981946cf168c54eb9a9575 to your computer and use it in GitHub Desktop.

Select an option

Save bhickey/068f7ee537981946cf168c54eb9a9575 to your computer and use it in GitHub Desktop.
➜ cargo git:(master) ✗ cargo build
Updating git repository `https://github.com/alexcrichton/libz-sys`
Compiling winapi v0.2.8
Compiling ws2_32-sys v0.2.1
Compiling libz-sys v1.0.5 (https://github.com/alexcrichton/libz-sys#043a4cd1)
Compiling toml v0.2.0
Compiling bitflags v0.7.0
Compiling openssl-sys v0.7.14
Compiling openssl-sys-extras v0.7.14
Compiling openssl v0.7.14
Compiling libssh2-sys v0.1.38
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for `libssh2-sys v0.1.38`
process didn't exit successfully: `/Users/brendan/dev/cargo/target/debug/build/libssh2-sys-a1010066147c936a/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/Users/brendan/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.38/libssh2" "-DCRYPTO_BACKEND=OpenSSL" "-DBUILD_SHARED_LIBS=OFF" "-DENABLE_ZLIB_COMPRESSION=ON" "-DCMAKE_INSTALL_LIBDIR=lib" "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTING=OFF" "-DCMAKE_INSTALL_PREFIX=/Users/brendan/dev/cargo/target/debug/build/libssh2-sys-a1010066147c936a/out" "-DCMAKE_C_FLAGS= -O0 -ffunction-sections -fdata-sections -m64 -fPIC" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -O0 -ffunction-sections -fdata-sections -m64 -fPIC" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
--- stderr
fatal: Not a git repository (or any of the parent directories): .git
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?
build script failed, must exit now', /Users/brendan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.17/src/lib.rs:463
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment