[outreachy] Permission Error while setting up Suricata

Shivani Bhardwaj sbhardwaj at openinfosecfoundation.org
Mon Mar 11 17:15:49 UTC 2019


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.

> Regards
> Vrinda Narayan
> _______________________________________________
> Outreachy mailing list
> Outreachy at lists.openinfosecfoundation.org
> https://lists.openinfosecfoundation.org/listinfo/outreachy



-- 
Shivani


More information about the Outreachy mailing list