<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks a lot <span class="moz-smiley-s1"><span>:-)</span></span><br>
</p>
<br>
<div class="moz-cite-prefix">On 2018/4/19 12:20, Jason Ish wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAB05gKZgoKhRhmzPoxsvETN33VQ=j=bTxQj+bBDHZnmfX5tmDw@mail.gmail.com"><br>
<div class="gmail_quote">
<div dir="auto">On Wed, Apr 18, 2018 at 11:22 zhangqunshi <<a
href="mailto:zhangqs@act.buaa.edu.cn" moz-do-not-send="true">zhangqs@act.buaa.edu.cn</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Thanks Victor, but i got the following error when
compile:</p>
<p>make[2]: Leaving directory '/home/kris/suricata/rust'<br>
Making all in src<br>
make[2]: Entering directory '/home/kris/suricata/src'<br>
CC alert-debuglog.o<br>
CC alert-fastlog.o<br>
CC alert-prelude.o<br>
CC alert-syslog.o<br>
CC alert-unified2-alert.o<br>
CC app-layer.o<br>
CC app-layer-dcerpc.o<br>
CC app-layer-dcerpc-udp.o<br>
CC app-layer-detect-proto.o<br>
CC app-layer-dnp3.o<br>
CC app-layer-dnp3-objects.o<br>
CC app-layer-dns-common.o<br>
CC app-layer-dns-tcp.o<br>
CC app-layer-dns-tcp-rust.o<br>
<font color="#cc0000">app-layer-dns-tcp-rust.c:31:30:
fatal error: rust-dns-dns-gen.h: No such file or
directory</font><br>
compilation terminated.<br>
Makefile:1726: recipe for target
'app-layer-dns-tcp-rust.o' failed<br>
make[2]: *** [app-layer-dns-tcp-rust.o] Error 1<br>
make[2]: Leaving directory '/home/kris/suricata/src'<br>
Makefile:493: recipe for target 'all-recursive' failed<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory '/home/kris/suricata'<br>
Makefile:419: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
</p>
<p>Do you know the reason?</p>
</div>
</blockquote>
<div dir="auto"><br>
</div>
<div dir="auto">If building from git you also need Python
installed as it’s a Python script that generates those header
files from the rust source. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Jason</div>
</div>
</blockquote>
<br>
</body>
</html>