Subject: | Build faild in Solaris do to unknown character in Makefile.PL |
Hi Luis,
As you can see on cpantesters
(http://www.cpantesters.org/cpan/report/ea629042-2d49-11e0-8521-41cb4e7aadc9),
Crypt::PasswdMD5 does not build on Solaris 10 and fails with the
following error:
make: Fatal error in reader: Makefile, line 484: Invalid byte sequence
This bug is only present when using the default utf8 encoding for the
shell. When failing back to the ascii encoding (export LANG=C), the
error disappears.
The fix is straightforward and is only related to "ñ" in your name in
the Makefile.PL file:
This is what you see in vi:
AUTHOR => 'Luis E. Mu\361oz <luismunoz@cpan.org>') : ()),
I send you a patch created with:
diff -u Makefile.PL_new Makefile.PL > Makefile.PL.patch
+++ Makefile.PL di feb 17 12:20:45 2004
@@ -22,6 +22,6 @@
'INC' => '',
($] >= 5.005 ?
(ABSTRACT_FROM => 'PasswdMD5.pm',
- AUTHOR => 'Luis E. Mu\361oz
<luismunoz@cpan.org>') : ()),
+ AUTHOR => 'Luis E. Muñoz <luismunoz@cpan.org>')
: ()),
An other, more portable option is to replace the "ñ" but an an in the
Makefile.PL
Subject: | Makefile.PL.patch |
--- Makefile.PL_new do mei 26 10:44:48 2011
+++ Makefile.PL di feb 17 12:20:45 2004
@@ -22,6 +22,6 @@
'INC' => '',
($] >= 5.005 ?
(ABSTRACT_FROM => 'PasswdMD5.pm',
- AUTHOR => 'Luis E. Muñoz <luismunoz@cpan.org>') : ()),
+ AUTHOR => 'Luis E. Muñoz <luismunoz@cpan.org>') : ()),