Subject: | perl Makefile.PL fails |
$ perl Makefile.PL
String found where operator expected at Makefile.PL line 89, near "name
'Image-Info'"
(Do you need to predeclare name?)
String found where operator expected at Makefile.PL line 94, near
"requires 'IO::String'"
(Do you need to predeclare requires?)
String found where operator expected at Makefile.PL line 96, near
"recommends 'Image::Xpm'"
(Do you need to predeclare recommends?)
String found where operator expected at Makefile.PL line 100, near
"build_requires 'Test::More'"
(Do you need to predeclare build_requires?)
String found where operator expected at Makefile.PL line 102, near
"license 'perl'"
(Do you need to predeclare license?)
String found where operator expected at Makefile.PL line 104, near
"author 'Tels <nospam-abuse@bloodgate.com>'"
(Do you need to predeclare author?)
syntax error at Makefile.PL line 89, near "name 'Image-Info'"
syntax error at Makefile.PL line 94, near "requires 'IO::String'"
Bareword "auto_install" not allowed while "strict subs" in use at
Makefile.PL line 110.
Bareword "WriteAll" not allowed while "strict subs" in use at
Makefile.PL line 113.
Execution of Makefile.PL aborted due to compilation errors.
Also, I don't see why you've changed the build system from
Extutils::MakeMaker to Module::Install, and then proceeded to make the
builds of the perl module different depending on what operating system
the perl module is on. [It would be better to just document the
difference, and have the perl module figure this out on its own so code
can be moved seamlessly between operating systems.]