In cygwin I see cygwin\lib\perl5\5.8\cygwin\Encode.pm
I see no such file in my msys system.
I would like to use msys for a project that uses a perl script that
calls Encode.pm.
The perl versions are different 5.6.1 on msys and I have 5.8 on
cygwin.
What would someone who knows both perl and msys do?
Also poseted on the sourceforge msys forum
I do not know anything about msys (or cygwin for that matter), but I do
know some Perl. If msys gives you terminal access, you can almost
certainly install Encode (a perl module) via CPAN:
cpan install Encode
It should set everything up properly for you.
- --
Conrad Shultz
con...@catalyzethis.com
"There is nothing more powerful than an idea whose time has come."
- -Victor Hugo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHErfjcrIBez8+iX0RAsCQAJ0dQiiEMvqcctKRWH+v2wr8nQezlgCfWfAA
JBNF0UJvOewMgHNYARcdQrc=
=3exa
-----END PGP SIGNATURE-----
The perl script I want to use is
# convmv 1.10 - converts filenames from one encoding to another
# Copyright © 2003-2006 Bjoern JACKE <bjo...@j3e.de>
in it is a line
require 5.008;
Is there a way to update perl
MSYS is shipping with a version older than 5.8? I would be very
surprised... Does it really complain about that line?
P.
After this perl -MCPAN -e shell
and letting it autoconfigure
I tried
cpan> install Encode
Here is an sample of the messages I got
gzip: /c/CPAN/sources/authors/01mailrc.txt: invalid compressed data--
format violated
Going to read /c/CPAN/sources/authors/01mailrc.txt.gz
Trying with "/c/mozilla-build/wget/wget -O -" to get
http://cpan.mirror.facebook.com/modules/02packages.details.txt.gz
--19:09:00-- http://cpan.mirror.facebook.com/modules/02packages.details.txt.gz
=> `-'
Resolving cpan.mirror.facebook.com... 69.63.177.230
Connecting to cpan.mirror.facebook.com|69.63.177.230|:80... connected.
19:09:04 (158.63 KB/s) - `-' saved [583327/583327]
0 [main] gzip 3656 open_stackdumpfile: Dumping stack trace to
gzip.exe.stackdump
Going to read /c/CPAN/sources/modules/02packages.details.txt.gz
Warning: Your /c/CPAN/sources/modules/02packages.details.txt.gz does
not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /c/CPAN/sources/modules/02packages.details.txt.gz does
not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Use of uninitialized value in string ne at /usr/lib/perl5/5.6.1/
CPAN.pm line 3202, <GEN5> line 2398.
Use of uninitialized value in pattern match (m//) at /usr/lib/
perl5/5.6.1/CPAN.pm line 3068, <GEN5> line 2398.
Use of uninitialized value in string ne at /usr/lib/perl5/5.6.1/
CPAN.pm line 3202, <GEN5> line 2398.
.....
gzip: /c/CPAN/sources/modules/03modlist.data: invalid compressed data--
format violated
Going to read /c/CPAN/sources/modules/03modlist.data.gz
Unrecognized character \xCC at (eval 14) line 1.
CPAN::Index::rd_modlist('CPAN::Index', '/c/CPAN/sources/
modules/03modlist.data.gz') called at /usr/lib/perl5/5.6.1/CPAN.pm
line 3002
CPAN::Index::reload('CPAN::Index') called at /usr/lib/
perl5/5.6.1/CPAN.pm line 620
CPAN::exists('CPAN=HASH(0xa35e25c)', 'CPAN::Module', 'Encode')
called at /usr/lib/perl5/5.6.1/CPAN.pm line 1735
CPAN::Shell::expandany('CPAN::Shell', 'Encode') called at /usr/
lib/perl5/5.6.1/CPAN.pm line 1969
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Encode')
called at /usr/lib/perl5/5.6.1/CPAN.pm line 2056
CPAN::Shell::install('CPAN::Shell', 'Encode') called at /usr/
lib/perl5/5.6.1/CPAN.pm line 183
eval {...} called at /usr/lib/perl5/5.6.1/CPAN.pm line 183
CPAN::shell() called at -e line 1
19:08:59 (143.64 KB/s) - `-' saved [136109/136109]