Actions
Bug #3686
closedrust err on suricata 4.1.8 Windows compile
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:
Description
Getting errs compiling 4.1.8 on Win 2016/win 10 server/ (5.0.3 is ok)
Writing ./gen/c-headers/rust-smb-smb-gen.h Writing ./gen/c-headers/rust-tftp-log-gen.h Writing ./gen/c-headers/rust-tftp-tftp-gen.h \ CARGO_HOME="/home/Administrator/.cargo" \ CARGO_TARGET_DIR="/home/Administrator/suricata-4.1.8/rust/target" \ /mingw64/bin/cargo build --release \ --features "lua lua_int8 " Updating crates.io index Compiling libc v0.2.69 Compiling build_const v0.2.1 Compiling crc v1.7.0 Compiling memchr v1.0.2 Compiling nom v3.2.1 Compiling rusticata-macros v0.4.1 Compiling ntp-parser v0.2.1 Compiling der-parser v0.5.5 Compiling ipsec-parser v0.3.0 Compiling kerberos-parser v0.1.4 Compiling suricata v4.1.8 (C:\msys64\home\Administrator\suricata-4.1.8\rust) error: couldn't read C:/home/Administrator/suricata-4.1.8/rust/src/lib.rs: The system cannot find the path specified. (os error 3) error: aborting due to previous error error: could not compile `suricata`. To learn more, run the command again with --verbose. make[2]: *** [Makefile:538: all-local] Error 101 make[2]: Leaving directory '/home/Administrator/suricata-4.1.8/rust' make[1]: *** [Makefile:504: all-recursive] Error 1 make[1]: Leaving directory '/home/Administrator/suricata-4.1.8' make: *** [Makefile:430: all] Error 2
If i try to remove the existing cargo/rust set up from the tarball and force it to redo it , i still get an err.
Writing ./gen/c-headers/rust-ntp-ntp-gen.h Writing ./gen/c-headers/rust-smb-detect-gen.h Writing ./gen/c-headers/rust-smb-files-gen.h Writing ./gen/c-headers/rust-smb-log-gen.h Writing ./gen/c-headers/rust-smb-smb-gen.h Writing ./gen/c-headers/rust-tftp-log-gen.h Writing ./gen/c-headers/rust-tftp-tftp-gen.h \ CARGO_HOME="/home/Administrator/.cargo" \ CARGO_TARGET_DIR="/home/Administrator/suricata-4.1.8/rust/target" \ /mingw64/bin/cargo build --release \ --features "lua lua_int8 " error: failed to get `crc` as a dependency of package `suricata v4.1.8 (C:\msys64\home\Administrator\suricata-4.1.8\rust)` Caused by: failed to load source for dependency `crc` Caused by: Unable to update registry `https://github.com/rust-lang/crates.io-index` Caused by: failed to update replaced source registry `https://github.com/rust-lang/crates.io-index` Caused by: failed to read root of directory source: C:\home\Administrator\suricata-4.1.8\rust\vendor Caused by: The system cannot find the path specified. (os error 3) make[2]: *** [Makefile:538: all-local] Error 101 make[2]: Leaving directory '/home/Administrator/suricata-4.1.8/rust' make[1]: *** [Makefile:504: all-recursive] Error 1 make[1]: Leaving directory '/home/Administrator/suricata-4.1.8' make: *** [Makefile:430: all] Error 2
Any pointers if i have done something wrong ?
Actions