libexecdir defaulting to /lib
Posted: Wed Aug 12, 2015 10:39 am
I've installed nagios-4.0.8.tar.gz and nagios-plugins-2.1.1.tar.gz per the quickstart guide on openSUSE 13.2 (Harlequin) (x86_64).
Everything works fine except that when I run the plugin Makefile points libexecdir to /usr/local/nagios/lib at which point things like check_ping fail.
Makefile:
If I copy/symlink /usr/local/nagios/lib to /usr/local/nagios/libexec it works
If I force the issue with:
Everything works fine.
My knowledge of autoconf is limited but it looks like /lib in relation to libexecdir appears in config.status as:
Does anyone have any insight into whether this is supposed to happen on my platform or if I'm doing something incorrectly that requires this to be explicitly specified?
Thank you.
Update:
config.log shows:
| # If user did not specify libexecdir, set the correct target:
| # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.
|
| if test "$libexecdir" = '${exec_prefix}/libexec' ; then
| libexecdir='${exec_prefix}/lib'
| fi
Not sure if this is autogenerated or not but my question stands - is this desired behavior on my platform for some reason?
Everything works fine except that when I run
Code: Select all
./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagiosMakefile:
Code: Select all
libexecdir = ${exec_prefix}/libIf I force the issue with:
Code: Select all
./configure --prefix=/usr/local/nagios --libexecdir=/usr/local/nagios/libexec --with-nagios-user=nagios --with-nagios-group=nagiosMy knowledge of autoconf is limited but it looks like /lib in relation to libexecdir appears in config.status as:
Code: Select all
S["libexecdir"]="${exec_prefix}/lib"Thank you.
Update:
config.log shows:
| # If user did not specify libexecdir, set the correct target:
| # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.
|
| if test "$libexecdir" = '${exec_prefix}/libexec' ; then
| libexecdir='${exec_prefix}/lib'
| fi
Not sure if this is autogenerated or not but my question stands - is this desired behavior on my platform for some reason?