Open ujjvlh opened 3 years ago
(Maybe related to #15 and #20)
Edit: Also see the issue caused in actix. And I have gcc installed, CC flag set. Even alias cc=gcc has been used, all in vain.
alias cc=gcc
I get the following error while building brotli-sys on Guix Linux -
error: failed to run custom build command for `brotli-sys v0.3.2` Caused by: process didn't exit successfully: `/home/***/testbrotli/target/debug/build/brotli-sys-13544f7e74542b0e/build-script-build` (exit code: 1) --- stdout cargo:include=/home/***/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-sys-0.3.2/brotli/include TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("0") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("true") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "brotli/include" "-o" "/home/a/testbrotli/target/debug/build/brotli-sys-67074073afb218df/out/brotli/common/dictionary.o" "-c" "brotli/common/dictionary.c" --- stderr fatal: not a git repository (or any of the parent directories): .git error occurred: Failed to find tool. Is `cc` installed?
cargo new testbrotli
cargo build
Guix System
(Maybe related to #15 and #20)
Edit: Also see the issue caused in actix. And I have gcc installed, CC flag set. Even
alias cc=gcc
has been used, all in vain.I get the following error while building brotli-sys on Guix Linux -
Current Behavior
Steps to Reproduce
cargo new testbrotli
cargo build
My Environment
Guix System