Subject: | Build Fails through CPAN shell |
When installing this module via the CPAN shell (perl -MCPAN -e shell) the install fails with "Too early to specify a build action 'Build'. Do 'Build Build' instead." I've put the full CPAN session below.
Versions:
perl, v5.8.4
CPAN module (v1.7601)
Test::Unix::Group also fails with the same problem.
----------------
Fetching with Net::FTP:
ftp://cpan.etla.org/pub/CPAN/authors/id/N/NI/NIKC/Test-Unix-User-0.01.tar.gz
Checksum for /root/.cpan/sources/authors/id/N/NI/NIKC/Test-Unix-User-0.01.tar.gz ok
Test-Unix-User-0.01
Test-Unix-User-0.01/META.yml
Test-Unix-User-0.01/t
Test-Unix-User-0.01/t/02-homedir_ok.t
Test-Unix-User-0.01/t/pod-coverage.t
Test-Unix-User-0.01/t/00-load.t
Test-Unix-User-0.01/t/pod.t
Test-Unix-User-0.01/t/01-user_ok.t
Test-Unix-User-0.01/Changes
Test-Unix-User-0.01/MANIFEST
Test-Unix-User-0.01/lib
Test-Unix-User-0.01/lib/Test
Test-Unix-User-0.01/lib/Test/Unix
Test-Unix-User-0.01/lib/Test/Unix/User.pm
/bin/tar: Read 8704 bytes from -
Test-Unix-User-0.01/Build.PL
Test-Unix-User-0.01/README
Package seems to come without Makefile.PL.
(The test -f "/root/.cpan/build/Test-Unix-User-0.01/Makefile.PL" returned false.)
Writing one on our own (setting NAME to TestUnixUser)
CPAN.pm: Going to build N/NI/NIKC/Test-Unix-User-0.01.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for TestUnixUser
cp lib/Test/Unix/User.pm blib/lib/Test/Unix/User.pm
Manifying blib/man3/Test::Unix::User.3pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build
Too early to specify a build action 'Build'. Do 'Build Build' instead.
make: *** [Build] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible