config.status: error: cannot find input file: `Makefile.in '

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

Re: config.status: error: cannot find input file: `Makefile.

Post by Eudes87 »

scottwilkerson wrote:What was the output when you ran

Code: Select all

make check_nrpe
because it doesn't look like that happened
I repeated the process as indicated and it worked, I believe I failed one of the steps.

Before I had repeated this same process as manual, but I believe I did not have the prerequisites, so I could not pass "MAKE"

Now "ckeck_nrpe" is already in the libexec folder.
I appreciate your commitment to solving my problem.
Thanks

Returns:
# make check_nrpe
cd ./src/; make
make[1]: Entering directory '/tmp/nrpe-nrpe-3.2.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto -lnsl
./nrpe.c: In function ‘read_config_dir’:
./nrpe.c:1064:54: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=]
snprintf(config_file, sizeof(config_file) - 1, "%s/%s", dirname, dirfile->d_name);
^~
In file included from /usr/include/stdio.h:862:0,
from ../include/config.h:31,
from ./nrpe.c:37:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 255
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -lssl -lcrypto -lnsl
make[1]: Leaving directory '/tmp/nrpe-nrpe-3.2.1/src'
root@sexxxxxx2:/tmp/nrpe-nrpe-3.2.1# make install-plugin
cd ./src/; make install-plugin
make[1]: Entering directory '/tmp/nrpe-nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory '/tmp/nrpe-nrpe-3.2.1/src'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: config.status: error: cannot find input file: `Makefile.

Post by scottwilkerson »

Eudes87 wrote:Now "ckeck_nrpe" is already in the libexec folder.
I appreciate your commitment to solving my problem.
Thanks
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked