Re: ActivePerl 5.10.0 Build 1003 released
- Original Message - From: Jan Dubois [EMAIL PROTECTED] To: [EMAIL PROTECTED]; perl-win32-users@listserv.ActiveState.com; [EMAIL PROTECTED] Sent: Saturday, May 17, 2008 8:59 AM Subject: ActivePerl 5.10.0 Build 1003 released ActiveState is pleased to announce ActivePerl 5.10.0 Build 1003 There's a minor nit with building modules on this build of perl. If Math::BigInt::GMP is not installed, you'll get the following message every time you run nmake/dmake: Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at C:/ap1003/lib/Win32API/File.pm line 20 Everything still works ok - it's just a little mystifying when you first see it, that's all. It's all because of this code in Win32API/File.pm (version 0.1001 only, afaict): # Math::BigInt optimizations courtesy of Tels BEGIN { require Math::BigInt; if (defined($Math::BigInt::VERSION) $Math::BigInt::VERSION = 1.60) { Math::BigInt-import(lib = 'GMP'); } } My other builds of perl 5.10.0 (and a recent 5.11.0 snapshot) have version 0.1001_01 which doesn't try to load Math::BigInt::GMP and therefore doesn't throw up that message. I guess the simple solution is for ActiveState to avoid version 0.1001 in future releases. I see the problem has already been reported at http://rt.cpan.org/Public/Dist/Display.html?Name=Win32API-File (6 months ago) and that future releases of Win32API-File will address this issue. I'm not sure where version 0.1001_01 comes from, but I guess it is one such future release. I don't recall seeing the message with build 1002, so I'm guessing it used version 0.1001_01 and that somehow version 0.1001 has found its way into build 1003. Cheers, Rob ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Trouble installing Perl Module in cygwin
It doesn't like having the .cpan directory to have directory path with spaces. Notice how it is looking for /cygdrive/c/Documents, which is your path truncated at the first space, but not finding it. Perhaps the gurus here have a better solution, but what I would do is have your udk home directory (which contains .cpan) be somewhere else. For example on my system my cygwin home directory is: /cygwin/home/putch HTH Udaya K (udk) wrote: Hi, Can anyone please help in working out the following error. I am trying to install Perl Modules in Cygwin. Same error when I try to insall IO::Tty and Expect Thanks Udaya [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] /cygdrive/c $ perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.7602) ReadLine support enabled cpan install Bundle::CPAN CPAN: Storable loaded ok Going to read /cygdrive/c/Documents and Settings/udk/.cpan/Metadata Database was generated on Sat, 17 May 2008 03:29:47 GMT CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /cygdrive/c/Documents and Settings/udk/.cpan/sources/authors/id/A/A N/ANDK/Bundle-CPAN-1.857.tar.gz ok Scanning cache /cygdrive/c/Documents and Settings/udk/.cpan/build for sizes sh: /cygdrive/c/Documents: No such file or directory /usr/bin/tar: This does not look like a tar archive /usr/bin/tar: Error exit delayed from previous errors Uncompressed /cygdrive/c/Documents and Settings/udk/.cpan/sources/authors/id/A/A N/ANDK/Bundle-CPAN-1.857.tar.gz successfully Using Tar:/usr/bin/tar xvf /cygdrive/c/Documents and Settings/udk/.cpan/sources/ authors/id/A/AN/ANDK/Bundle-CPAN-1.857.tar: /usr/bin/tar: /cygdrive/c/Documents: Cannot open: No such file or directory /usr/bin/tar: Error is not recoverable: exiting now Couldn't untar /cygdrive/c/Documents and Settings/udk/.cpan/sources/authors/id/A /AN/ANDK/Bundle-CPAN-1.857.tar cpan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Trouble installing Perl Module in cygwin
Hi Michael, Thank you for your help and suggestions. I fixed them by enclosing the file parameter within ' in CPAN.pm That solved my problem. Regards Udaya -Original Message- From: Michael Putch [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 2:31 AM To: Udaya K (udk) Cc: perl-win32-users@listserv.ActiveState.com; [EMAIL PROTECTED] Subject: Re: Trouble installing Perl Module in cygwin Michael Putch wrote: . For example on my system my cygwin home directory is: /cygwin/home/putch Of course that is C:/cygwin/home/putch (since / within Cygwin itself refers to the Cygwin root. My apologies for any confusion. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs