LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with make install (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-make-install-667705/)

prakash.akumalla 09-05-2008 01:48 AM

problem with make install
 
Hai,
I just extracted nagios and executed the commands below

1. ./configure
2.make all
3.make install

when i give the first two commands, it worked but when i gave the third command then the following output came

cd ./base && make install
make[1]: Entering directory `/data01/sources/nagios-2.11/base'
make install-basic
make[2]: Entering directory `/data01/sources/nagios-2.11/base'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /data01/monitoring/nagios/bin
/usr/bin/install: invalid user `nagios'
make[2]: *** [install-basic] Error 1
make[2]: Leaving directory `/data01/sources/nagios-2.11/base'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/data01/sources/nagios-2.11/base'
make: *** [install] Error 2


What may be the error. I thing that make install command is not working as the rpm for it is not installed.

How to overcome this problem?

Please suggest any solution to overcome this problem.

Thanks,
Prakash.

w3bd3vil 09-05-2008 01:55 AM

try adding a user nagios with group nagios.
and then do the make install.

prakash.akumalla 09-05-2008 02:05 AM

Hi,
Thanks for your suggestion. It worked.
Prakash.


All times are GMT -5. The time now is 11:22 PM.