[Oisf-devel] can't find crate for `der_parser`

zhangqunshi zhangqs at act.buaa.edu.cn
Fri Mar 16 07:12:18 UTC 2018


Thanks Victor, and the real reason is I use the wrong git url = 
git://phalanx.openinfosecfoundation.org/oisf.git
I should use https://github.com/OISF/suricata, which the Cargo.toml is 
correct.



On 2018/3/16 15:08, Victor Julien wrote:
> On 16-03-18 07:44, zhangqunshi wrote:
>> Hi guys:
>>
>> I fixed the following error (network issue) and now I got the second error:
>>
>> ics at lsbjs17120001:~/gbb/oisf/rust$ cargo build
>>      Updating registry `git://mirrors.ustc.edu.cn/crates.io-index`
>>   Downloading crc v1.7.0 (registry
>> git://mirrors.ustc.edu.cn/crates.io-index)
>>     Compiling crc v1.7.0
>>     Compiling suricata v4.1.0-dev (file:///home/ics/gbb/oisf/rust)
>> error[E0463]: can't find crate for `der_parser`
>>    --> src/lib.rs:27:1
>>     |
>> 27 | extern crate der_parser;
>>     | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
>>
>> error: aborting due to previous error
>>
>> error: Could not compile `suricata`.
>>
>> To learn more, run the command again with --verbose.
>
> I've seen this before. I think going into the rust directory and doing a
> 'cargo update' fixed it.
>
> Cheers,
> Victor
>




More information about the Oisf-devel mailing list