Skip Menu |

This queue is for tickets about the jmx4perl CPAN distribution.

Report information
The Basics
Id: 50680
Status: resolved
Priority: 0/
Queue: jmx4perl

People
Owner: roland [...] cpan.org
Requestors: Daniel.Schwager [...] dtnet.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: jmx4perl - installing scripts via "Build install" does not work
Date: Tue, 20 Oct 2009 16:58:40 +0200
To: <bug-jmx4perl [...] rt.cpan.org>
From: "Daniel Schwager" <Daniel.Schwager [...] dtnet.de>
Hi Roland, I think there's a small bug inside v0.35 while installing the scripts: root@admin:~/jmx4perl/jmx4perl-0.35# ./Build install .. Installing /usr/local/bin/scripts root@admin:~/jmx4perl/jmx4perl-0.35# ls -la /usr/local/bin/scripts -r--r--r-- 1 root staff 0 2009-10-20 16:39 /usr/local/bin/scripts oot@admin:~/jmx4perl/jmx4perl-0.35# find / | grep check_jmx4 /root/jmx4perl/jmx4perl-0.35/t/40_check_jmx4perl.t /root/jmx4perl/jmx4perl-0.35/it/t/50_check_jmx4perl.t /root/jmx4perl/jmx4perl-0.35/scripts/check_jmx4perl So, I have to install check_jmx4perl manually.. regards Danny
Subject: installation via tgz, man pages are missing
Date: Tue, 20 Oct 2009 17:32:48 +0200
To: <bug-jmx4perl [...] rt.cpan.org>
From: "Daniel Schwager" <Daniel.Schwager [...] dtnet.de>
Hi Roland, after installing jmx4perl based on the tgz-file (instead of the cpan-installation), I will not find the man-pages using "man jmx4perl". No file /usr/local/share/man/man1/jmx4perl.1 Using the cpan-installation, the manual's are on the right place. regards Danny
I tried to verify the described behaviour on a freshly installed Ubuntu 9.04 32 Bit Server distribution, but unfortunately I can't reproduce the behaviour your described. This is what I did: $ tar zxvf jmx4perl-0.35.tar.gz ... $ cd jmx4perl-0.35 $ perl Build.PL Creating custom builder _build/lib/Module/Build/Custom.pm in _build/lib/Module/Build Checking whether your kit is complete... Looks good Checking prerequisites... - ERROR: Test::Deep is not installed - ERROR: Module::Find is not installed - ERROR: JSON is not installed * Optional prerequisite Nagios::Plugin is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Creating new 'Build' script for 'jmx4perl' version '0.35' $ apt-get install make $ cpan Test::Deep $ cpan Module::Find $ cpan JSON $ cpan Nagios::Plugin $ perl Build.PL $ ./Build ... $ ./Build install Installing /usr/local/man/man1/check_jmx4perl.1p Installing /usr/local/man/man1/jmx4perl.1p Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Response.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Manual.pod Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Agent.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Alias.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Request.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Nagios/CheckJmx4Perl.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Websphere.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Unknown.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Jetty.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Weblogic.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/BaseHandler.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Geronimo.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Tomcat.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Glassfish.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/Jonas.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Product/JBoss.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Agent/UserAgent.pm Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Agent/Protocol.pod Installing /usr/local/share/perl/5.10.0/JMX/Jmx4Perl/Alias/Object.pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Tomcat.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Agent::UserAgent.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::BaseHandler.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Weblogic.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Websphere.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Manual.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Agent.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::JBoss.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Agent::Protocol.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Alias.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Response.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Glassfish.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Geronimo.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Unknown.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Request.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Jonas.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Alias::Object.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Nagios::CheckJmx4Perl.3pm Installing /usr/local/man/man3/JMX::Jmx4Perl::Product::Jetty.3pm Installing /usr/local/bin/jmx4perl Installing /usr/local/bin/check_jmx4perl As you can see, all gets installed in the right place. What is really interesting is you output, that the scripts get installed in "/usr/local/bin/scripts" which is really not the proper spot. Could you please send me the whole output of './Build install' ? Also, could you post the output of perl -MModule::Build -e 'print $Module::Build::VERSION,"\n"' This should yield 0.35, otherwise please upgrade via 'cpan Module::Build' Thanks!
I close this ticket, since it more or less the same as #50680. Hopefully we will fix those together.
Duplicate of #50680
Subject: RE: [rt.cpan.org #50680] jmx4perl - installing scripts via "Build install" does not work
Date: Thu, 22 Oct 2009 12:02:36 +0200
To: <bug-jmx4perl [...] rt.cpan.org>
From: "Daniel Schwager" <Daniel.Schwager [...] dtnet.de>
Show quoted text
> Also, could you post the output of > > perl -MModule::Build -e 'print $Module::Build::VERSION,"\n"' > > This should yield 0.35, otherwise please upgrade via 'cpan Module::Build'
perl -MModule::Build -e 'print $Module::Build::VERSION,"\n"' 0.26 Yes - this would be the problem. Featurerequest: May you have to check the module version-dependencies inside your build process ? We using a normal debian Etch system ... regards Danny
Show quoted text
> perl -MModule::Build -e 'print $Module::Build::VERSION,"\n"' > 0.26 > > Yes - this would be the problem. > > Featurerequest: May you have to check the module version-dependencies > inside your build process ? We using a normal debian Etch system ...
I will change to use Module::Build 0.35 in Build.PL. However, I'm afraid that Module::Build won't be able to bootstrap itself when a lower version is detected. At least you will know when it won't work.
0.40 (and 0.36) should work now with Build.PL since I require version 0.35 for proper working. I set this ticket to resolved now, please open a new one in case of trouble. thanks ... ...roland