Why does Module::Build try to rebuild every time (or most of the time I'm not sure).
See example:
perl -e "use Module::Build"
(no errors)
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n IO::Socket::IP
...snip...
--> Working on IO::Socket::IP
Fetching https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-0.39.tar.gz ... OK
==> Found dependencies: Module::Build
--> Working on Module::Build
Fetching https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4224.tar.gz ... OK
==> Found dependencies: Module::Build
Configuring Module-Build-0.4224 ... OK
...snip...
Failed to upconvert metadata to 1.1. Errors:
Missing mandatory field, 'version' (version) [Validation: 1.0]
at - line 32.
So even though Module::Build was installed it will always try to install again. I have noticed this behaviour for many packages. Why is this so? can it be prevented with some switch ?
I'm trying to install Mojolicious on OpenWRT and the native Module::Build intsalls fine but if I try to install via CPAN I get the error above. I want the Arduino YŚN community to have an alternative to Node.JS and Python !! Please help !
TIA
Alex