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

Victor Julien lists at inliniac.net
Fri Mar 16 07:13:40 UTC 2018


On 16-03-18 08:12, zhangqunshi wrote:
> 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.

Hmm, I don't understand this. Both git repo's should be in sync.

Do you see a difference?

Thanks!
Victor

> 
> 
> 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
>>
> 


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list