[Oisf-devel] error: no matching package named `crc` found (required by `suricata`)

zhangqunshi zhangqs at act.buaa.edu.cn
Fri Mar 16 05:53:22 UTC 2018


Hi guys,

When I make the latest surciata from source code, i got the following 
errros:


make  all-recursive
make[1]: Entering directory '/home/ics/gbb/oisf'
Making all in libhtp
make[2]: Entering directory '/home/ics/gbb/oisf/libhtp'
make  all-recursive
make[3]: Entering directory '/home/ics/gbb/oisf/libhtp'
Making all in htp
make[4]: Entering directory '/home/ics/gbb/oisf/libhtp/htp'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ics/gbb/oisf/libhtp/htp'
Making all in test
make[4]: Entering directory '/home/ics/gbb/oisf/libhtp/test'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ics/gbb/oisf/libhtp/test'
Making all in docs
make[4]: Entering directory '/home/ics/gbb/oisf/libhtp/docs'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ics/gbb/oisf/libhtp/docs'
make[4]: Entering directory '/home/ics/gbb/oisf/libhtp'
make[4]: Leaving directory '/home/ics/gbb/oisf/libhtp'
make[3]: Leaving directory '/home/ics/gbb/oisf/libhtp'
make[2]: Leaving directory '/home/ics/gbb/oisf/libhtp'
Making all in rust
make[2]: Entering directory '/home/ics/gbb/oisf/rust'
cd ../rust && \
         /usr/bin/python ./gen-c-headers.py && \
         CARGO_TARGET_DIR=/home/ics/gbb/oisf/rust/target \
         CARGO_HOME=/home/ics/.cargo /usr/bin/cargo build --release 
--frozen \
                 --features "  "
error: no matching package named `crc` found (required by `suricata`)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: ~1.7.0
Makefile:531: recipe for target 'all-local' failed
make[2]: *** [all-local] Error 101
make[2]: Leaving directory '/home/ics/gbb/oisf/rust'
Makefile:487: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ics/gbb/oisf'
Makefile:415: recipe for target 'all' failed
make: *** [all] Error 2

=================

cargo --version
cargo 0.23.0

rustc --version
rustc 1.22.1

suricata is clone https://github.com/OISF/suricata.git


Any advice is welcome,

Thanks,

Kris






More information about the Oisf-devel mailing list