[outreachy] Permission Error while setting up Suricata

Branden Bonaby brandonbonaby94 at gmail.com
Mon Mar 11 17:28:13 UTC 2019


On Mon, Mar 11, 2019 at 10:45:49PM +0530, Shivani Bhardwaj via Outreachy wrote:
> Hi, Vrinda!
> 
> On Mon, Mar 11, 2019 at 9:57 PM Vrinda Narayan via Outreachy
> <outreachy at lists.openinfosecfoundation.org> wrote:
> >
> > Hey,
> > My name is Vrinda Narayan and I am an outreachy applicant. I tried following the guidelines to installing Suricata however while running the command
> > ./configure && make && make install-full
> > I am getting an error as follows :
> > libtool: install: /usr/bin/install -c .libs/libhtp.so.2.0.0 /usr/local/lib/libhtp.so.2.0.0
> > /usr/bin/install: cannot remove '/usr/local/lib/libhtp.so.2.0.0': Permission denied
> > Makefile:419: recipe for target 'install-libLTLIBRARIES' failed
> > make[4]: *** [install-libLTLIBRARIES] Error 1
> > make[4]: Leaving directory '/home/vrinda/suricata/oisf/libhtp/htp'
> > Makefile:648: recipe for target 'install-am' failed
> > make[3]: *** [install-am] Error 2
> > make[3]: Leaving directory '/home/vrinda/suricata/oisf/libhtp/htp'
> > Makefile:470: recipe for target 'install-recursive' failed
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory '/home/vrinda/suricata/oisf/libhtp'
> > Makefile:499: recipe for target 'install-recursive' failed
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory '/home/vrinda/suricata/oisf'
> > Makefile:916: recipe for target 'install-full' failed
> > make: *** [install-full] Error 2
> > I have tried changing the file permissions and using sudo. However I am not able to debug this. Any help would be greatly appreciated.
> You should not change file permissions for crucial directories on your
> system. sudo should work out ideally.
> 
> Please do a "make clean", you might have to use sudo here if you've
> used it previously to compile. Then,
> ./configure
> make -j4
> sudo make install
> 
> from the root directory of the project.
> 
> Let us know if you still face any issues.
> 
> Shivani

Hi all,

My name is Branden Bonaby, I am also a Outreachy applicant. Vrinda, I
was also having the same issue as you earlier but what I did was I ran
the commands as root. Sudo didnt seem to work for me but after switching
over to root it worked. I'm also using Ubuntu 18.04.2 LTS. Hope that Helps!

Branden Bonaby


More information about the Outreachy mailing list