You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tools/build_perl_modules script is not obeying the settings given to configure at the start of the build, specifically the '--with-perl=/usr/local/bin/perl' value. When the wrong perl is used to compile the modules, you get strange errors:
Making all in perlmods
gmake[2]: Entering directory `/var/tmp/nagios-plugins-2.0.3/perlmods'
../tools/build_perl_modules -d /nagios/perl -em .
Checking if Module::Build is available yet...
... no!
******************** Test-Simple-0.98.tar.gz
Checking if Module::Build is available yet...
... no!
******************** Perl-OSType-1.003.tar.gz
Working in: /var/tmp/nagios-plugins-2.0.3/perlmods/Perl-OSType-1.003
Using Makefile.PL
ExtUtils::MakeMaker version 6.3 required--this is only version 6.17 at Makefile.PL line 7.
BEGIN failed--compilation aborted at Makefile.PL line 7.
make: Fatal error: No arguments to build
Current working directory /var/tmp/nagios-plugins-2.0.3/perlmods/Perl-OSType-1.003
Can't run make. Please
rm -rf /var/tmp/nagios-plugins-2.0.3/perlmods/Perl-OSType-1.003
to remake from this point) at ../tools/build_perl_modules line 235.
gmake[2]: *** [all-local] Error 1
gmake[2]: Leaving directory `/var/tmp/nagios-plugins-2.0.3/perlmods'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/nagios-plugins-2.0.3'
gmake: *** [all] Error 2
A work-around I used is to manually change the perl used before configure is run.
A problem that snowballs is tools/build_perl_modules hardcodes the perl used.
The tools/build_perl_modules script is not obeying the settings given to configure at the start of the build, specifically the '--with-perl=/usr/local/bin/perl' value. When the wrong perl is used to compile the modules, you get strange errors:
A work-around I used is to manually change the perl used before configure is run.
The text was updated successfully, but these errors were encountered: