Compile Error (sed) - nagios-plugins-1.4.3 on redhat 7.3

Hello,

Has anyone encountered a problem like this? When running configure for nagios-plugins-1.4.3 on Redhat 7.3, I get the errors below and all my Makefiles come out 0 length…

Thank you.



checking for socklen_t… yes
configure: creating ./config.status
config.status: creating Makefile
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating lib/Makefile sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating m4/Makefile
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating plugins/Makefile sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating plugins/tests/Makefile
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating plugins-root/Makefile sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating plugins-scripts/Makefile
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating plugins-scripts/subst sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating plugins-scripts/utils.pm
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating plugins-scripts/utils.sh sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating command.cfg
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating test.pl sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating pkg/solaris/pkginfo
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated s' command config.status: creating intl/Makefile sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminateds’ command
config.status: creating po/Makefile.in
sed: file ./confstatnRUEzp/subs-3.sed line 35: unterminated `s’ command
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
–with-ping6-command:
–with-ping-command: /bin/ping -n -U -w %d -c %d %s
–with-lwres: no
–with-ipv6: yes
–with-mysql: /usr/bin/mysql_config
–with-openssl: yes
–with-gnutls: no
–enable-emulate-getaddrinfo: no
–with-perl: /usr/local/bin/perl
–with-cgiurl: /nagios/cgi-bin
–with-nagios-user: nagios
–with-nagios-group: nagios
–with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
bash-2.05a$ make
make: *** No targets. Stop.
bash-2.05a$ ls -al Makefile
-rw-r–r-- 1 nagios nagios 0 Sep 12 17:16 Makefile
bash-2.05a$

it looks like you are not compiling as user root.
nagios.sourceforge.net/docs/2_0/installing.html
Become Root is the first line in the docs.