Bug #3235
closedMakefile:936: recipe for target 'install-rules' failed
Description
Upon sudo make install-full I encounter the following make errors:
make install-conf make[1]: Entering directory '/home/supaplex/Projects/suricata-master/oisf' install -d "/usr/local/etc/suricata/" install -d "/usr/local/var/log/suricata/files" install -d "/usr/local/var/log/suricata/certs" install -d "/usr/local/var/run/" install -m 770 -d "/usr/local/var/run/suricata" make[1]: Leaving directory '/home/supaplex/Projects/suricata-master/oisf' make install-rules make[1]: Entering directory '/home/supaplex/Projects/suricata-master/oisf' error: rules not installed as suricata-update not available Makefile:936: recipe for target 'install-rules' failed make[1]: *** [install-rules] Error 1 make[1]: Leaving directory '/home/supaplex/Projects/suricata-master/oisf' Makefile:916: recipe for target 'install-full' failed make: *** [install-full] Error 2
Ubuntu 18.04.3 LTS, https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Ubuntu_Installation_from_GIT
VJ Updated by Victor Julien about 7 years ago
- Assignee set to Jason Ish
JI Updated by Jason Ish about 7 years ago
This is what will happen when you build from Git without bundling Suricata-Update, and I now see that its not very user friendly at all. A better message, without the exit 0 would probably be better, and less alarming.
As this is the very last step of the install, you can be assured that Suricata was installed, just not the rules. But we'll make this cleaner for those building from git.
AH Updated by Andreas Herz about 7 years ago
- Target version set to 70
VJ Updated by Victor Julien over 6 years ago
- Target version changed from 70 to TBD
SP Updated by stephane potier almost 6 years ago
fails since suricata-update folder already exists in suricata folder.
As reported by Scott :
fails with this error 2 if we install suricata-update in another folder
JF Updated by Juliana Fajardini Reichow almost 6 years ago
A workaround for that error is to manually bundle suricata-update, after cloning suricata from github and before running ./configure.
In order to do so, from inside suricata directory, perform the following:
$ cd suricata-update $ curl -L https://github.com/OISF/suricata-update/archive/master.tar.gz | tar zxvf - --strip-components=1
After this, one should be able to run ./configure, make make install without that error.
JI Updated by Jason Ish over 3 years ago
- Status changed from New to Closed
- Target version changed from TBD to 7.0.0-beta1
This was fixed earlier on in the 7.0 development cycle with commit abb3cc85d5e54fbc14e4c2783ddbc619b1e29443.
As it mostly affects builders from git, I will not back port this to 6.0.x.