bitemyapp / brotli2-rs

Brotli encoders/decoers for Rust
Apache License 2.0
28 stars 13 forks source link

Can not build for i686-pc-windows-gnu target #15

Closed fafhrd91 closed 7 years ago

fafhrd91 commented 7 years ago

here is error:

error: failed to run custom build command for `brotli-sys v0.3.2`
process didn't exit successfully: `C:\projects\actix-web-hdy9d\target\debug\build\brotli-sys-f7537be4fadddc05\build-script-build` (exit code: 101)
--- stdout
cargo:include=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\brotli-sys-0.3.2\brotli/include
TARGET = Some("i686-pc-windows-gnu")
OPT_LEVEL = Some("0")
TARGET = Some("i686-pc-windows-gnu")
HOST = Some("i686-pc-windows-gnu")
TARGET = Some("i686-pc-windows-gnu")
TARGET = Some("i686-pc-windows-gnu")
HOST = Some("i686-pc-windows-gnu")
CC_i686-pc-windows-gnu = None
CC_i686_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("i686-pc-windows-gnu")
HOST = Some("i686-pc-windows-gnu")
CFLAGS_i686-pc-windows-gnu = None
CFLAGS_i686_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m32" "-I" "brotli/include" "-o" "C:\\projects\\actix-web-hdy9d\\target\\debug\\build\\brotli-sys-de7399f3274706fb\\out\\brotli/common\\dictionary.o" "-c" "brotli/common/dictionary.c"
--- stderr
fatal: Not a git repository (or any of the parent directories): .git
thread 'main' panicked at '
Internal error occurred: Failed to find tool. Is `gcc.exe` installed? (see https://github.com/alexcrichton/cc-rs#compile-time-requirements for help)
', C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\cc-1.0.3\src\lib.rs:1874:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
alexcrichton commented 7 years ago
Internal error occurred: Failed to find tool. Is `gcc.exe` installed? (see https://github.com/alexcrichton/cc-rs#compile-time-requirements for help)

Mind investigating that locally?

fafhrd91 commented 7 years ago

sorry, my mistake. it was configuration problem.

ma-1ming commented 4 years ago

sorry, my mistake. it was configuration problem.

Can you elaborate on that?

ma-1ming commented 4 years ago

sorry, my mistake. it was configuration problem.

oh! gcc environment variable?