in reply to Failed test of Net::SNTP::Client module
G'day thanos1983,
"So first thing first. The module code if someone want to test it can be found here RFC: Net::SNTP::Client v1."
That link has two problems (which you should fix):
"I was following the instructions from How to make a CPAN Module Distribution ..."
[That's also an absolute link, so please fix it as well.]
"How to make a CPAN Module Distribution" is thirteen (13) years old: I'm not suggesting there's wrong information there, it's just old information. It shows three methods: h2xs, ExtUtils::ModuleMaker and Module::Starter: you haven't said which one you're using. Take a look at "perlnewmod: Perl modules: preparing a new module for distribution" — this forms part of the core Perl distribution and should be (more) current.
"I have post several questions over and over ..."
In one of these (Undefined subroutine &main [SOLVED]), you said you had installed Module::Starter and thought it was causing the errors (described in that thread) but, as it turned out, it had nothing to do with those errors. I recommend you go back to using Module::Starter: it does a lot of the work for you including, via your chosen plugin, creating a distribution bundle suitable for uploading to CPAN.
I've been using Damian Conway's Module::Starter::PBP plugin for about eight years. I've used it successfully in large commercial contracts and for smaller, personal (hobby) projects. While I'm happy to recommend it, I certainly don't insist you use it: there's other Module::Starter Plugins which you may find preferable.
"I am trying to install the module manually ..."
I think you're completely jumping the gun doing this. At its most basic, my typical workflow is:
perl Makefile.PL make make test
Add/Change/Delete module/test code.
make realclean
Go to 1.
That cycle will repeat many, many times before I get to 'make dist' or 'make install'.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Failed test of Net::SNTP::Client module
by thanos1983 (Parson) on Jul 06, 2015 at 23:19 UTC |