rss-forwarder icon indicating copy to clipboard operation
rss-forwarder copied to clipboard

Cannot install via Cargo

Open BigIsBig453 opened this issue 3 years ago • 0 comments

I installed JQ and Rustinit, following all the defaults. Then, in an elevated PowerSgell window, I typed in "cargo install rss-forwarder" as mentioned on the main page. It downloads all the packages without issue. However, when it starts compiling, it runs into an issue. After compiling a few dozen things, it issues one error and then stops completely. For some reason, trying to run with RUST_BACKTRACE=1 does not work. I am new to this, so I am simply going to post the entire error log. I'm sorry it is a lot of text, but Powershell simply gave me a lot. I have tried restarting my computer, to no avail.

The following warnings were emitted during compilation:

warning: "jemalloc support for x86_64-pc-windows-msvc is untested"

error: failed to run custom build command for jemalloc-sys v0.3.2

Caused by: process didn't exit successfully: C:\Users\monst\AppData\Local\Temp\cargo-installTidQGO\release\build\jemalloc-sys-49e3d58dfd9e62e8\build-script-build (exit code: 101) --- stdout TARGET=x86_64-pc-windows-msvc HOST=x86_64-pc-windows-msvc NUM_JOBS=20 OUT_DIR="C:\Users\monst\AppData\Local\Temp\cargo-installTidQGO\release\build\jemalloc-sys-bbffb68d22dbd6fc\out" BUILD_DIR="C:\Users\monst\AppData\Local\Temp\cargo-installTidQGO\release\build\jemalloc-sys-bbffb68d22dbd6fc\out\build" SRC_DIR="C:\Users\monst\.cargo\registry\src\github.com-1ecc6299db9ec823\jemalloc-sys-0.3.2" cargo:warning="jemalloc support for x86_64-pc-windows-msvc is untested" OPT_LEVEL = Some("3") TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc CC_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc CC_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc CFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc CFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") DEBUG = Some("false") CC="C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\cl.exe" CFLAGS="-nologo -MD -O2 -Brepro -W4" JEMALLOC_REPO_DIR="jemalloc" JEMALLOC_SRC_DIR="C:\Users\monst\AppData\Local\Temp\cargo-installTidQGO\release\build\jemalloc-sys-bbffb68d22dbd6fc\out\jemalloc" cargo:rustc-cfg=prefixed --with-jemalloc-prefix=rjem running: "sh" "/c/Users/monst/AppData/Local/Temp/cargo-installTidQGO/release/build/jemalloc-sys-bbffb68d22dbd6fc/out/jemalloc/configure" "--disable-cxx" "--with-jemalloc-prefix=rjem" "--with-private-namespace=rjem" "--host=x86_64-pc-win32" "--build=x86_64-pc-win32" "--prefix=C:\Users\monst\AppData\Local\Temp\cargo-installTidQGO\release\build\jemalloc-sys-bbffb68d22dbd6fc\out"

--- stderr thread 'main' panicked at 'failed to execute command: program not found', C:\Users\monst.cargo\registry\src\github.com-1ecc6299db9ec823\jemalloc-sys-0.3.2\build.rs:389:19 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile rss-forwarder v0.5.1, intermediate artifacts can be found at `C:\Users\monst\AppData\Local\Temp\cargo-installTidQGO

BigIsBig453 avatar Nov 24 '22 03:11 BigIsBig453