Hi everyone.
This is Agha Saad. I am an Outreachy applicant. I am interested in Project " Convert protocol from C to Rust ". For that I started installing the Suricata in my local machine. I am following this link.
Commands I have used:
./autogen.sh
./configure
./make
I face errors when I try to run the make command. I have attached files that have logs of configure and make commands
Hi Agha!
I found that your configure log has ./configure: line 28809: Volume/Outreachy-20-Dec/suricata/suricata/rust: No such file or directory
Wondering if you could recheck the paths?
Rust is enabled in the newer Suricata versions by default so ./configure should work. You already have those things set up. You can check them in the end of the output of configure.
Edit: Just to make it less confusing, maybe you could rename your outer dir to oisf? So that the path to suricata becomes <prefix>/oisf/suricata instead of <prefix>/suricata/suricata.
lib.rs file does exist in rust/src/lib.rs but the error is, it is searching for the lib.rs file in suricata/src/lib.rs instead of suricata/rust/src/lib.rs
Just noticed /usr/bin/cargo build --release, --release is only set for the releases. Just to be sure, are you compiling the latest master from git? https://github.com/oisf/suricata
I suspect the space in the directory name New Volume might cause issues. Can you try building in a location that doesn’t have a space anywhere in its path?