Unmaintained! And also apparently this is against their TOS so DON'T USE THIS -- Weechat plugin for Discord support - https://weechat.org/ https://discordapp.com/
MIT License
51
stars
24
forks
source link
Cargo build fails on custom build command for `openssl-sys-extras v0.7.14` #22
My build failed. I was trying to install this on the WSL in windows 10.
The following package was automatically installed and is no longer required:
snap-confine
Compiling mime v0.2.6
Compiling openssl-sys v0.7.17
Compiling unicode-bidi v0.3.3
Compiling libc v0.2.23
Compiling num-traits v0.1.37
Compiling hpack v0.2.0
Compiling rand v0.3.15
Compiling time v0.1.37
Compiling num-integer v0.1.34
Compiling num_cpus v1.5.1
Compiling miniz-sys v0.1.9
Compiling openssl-sys-extras v0.7.14
Compiling solicit v0.4.4
Compiling openssl v0.7.14
Compiling weecord v0.1.0 (file:///mnt/c/Users/Woeste/Desktop/weechat-discord)
Compiling net2 v0.2.29
Compiling num-iter v0.1.33
Compiling unicode-xid v0.0.4
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for openssl-sys-extras v0.7.14
process didn't exit successfully: /mnt/c/Users/<username>/Desktop/weechat-discord/target/release/build/openssl-sys-extras-37ea1ce39db5c0de/build-script-build (exit code: 101)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
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
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
PROFILE = Some("release")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-o" "/mnt/c/Users//Desktop/weechat-discord/target/release/build/openssl-sys-extras-45159e42f4e1f90d/out/src/openssl_shim.o" "-c" "src/openssl_shim.c"
cargo:warning=src/openssl_shim.c:1:26: fatal error: openssl/hmac.h: No such file or directory
cargo:warning=compilation terminated.
exit code: 1
command did not execute successfully, got: exit code: 1
--- stderr
thread 'main' panicked at 'explicit panic', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.50/src/lib.rs:1210
note: Run with RUST_BACKTRACE=1 for a backtrace.
My build failed. I was trying to install this on the WSL in windows 10.
The following package was automatically installed and is no longer required: snap-confine Compiling mime v0.2.6 Compiling openssl-sys v0.7.17 Compiling unicode-bidi v0.3.3 Compiling libc v0.2.23 Compiling num-traits v0.1.37 Compiling hpack v0.2.0 Compiling rand v0.3.15 Compiling time v0.1.37 Compiling num-integer v0.1.34 Compiling num_cpus v1.5.1 Compiling miniz-sys v0.1.9 Compiling openssl-sys-extras v0.7.14 Compiling solicit v0.4.4 Compiling openssl v0.7.14 Compiling weecord v0.1.0 (file:///mnt/c/Users/Woeste/Desktop/weechat-discord) Compiling net2 v0.2.29 Compiling num-iter v0.1.33 Compiling unicode-xid v0.0.4 Build failed, waiting for other jobs to finish... error: failed to run custom build command for/Desktop/weechat-discord/target/release/build/openssl-sys-extras-45159e42f4e1f90d/out/src/openssl_shim.o" "-c" "src/openssl_shim.c"
cargo:warning=src/openssl_shim.c:1:26: fatal error: openssl/hmac.h: No such file or directory
cargo:warning=compilation terminated.
exit code: 1
openssl-sys-extras v0.7.14
process didn't exit successfully:/mnt/c/Users/<username>/Desktop/weechat-discord/target/release/build/openssl-sys-extras-37ea1ce39db5c0de/build-script-build
(exit code: 101) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") 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 HOST = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None PROFILE = Some("release") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-o" "/mnt/c/Users/command did not execute successfully, got: exit code: 1
--- stderr thread 'main' panicked at 'explicit panic', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.50/src/lib.rs:1210 note: Run with
RUST_BACKTRACE=1
for a backtrace.