ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
RE: Math-Currency install...where is it?
by Jan Dubois other posts by this author
Jun 11 2009 2:51PM messages near this date
view in the new Beta List Site
Math-Currency install...where is it? | Registering message DLL for Win32::EventLog
On Thu, 11 Jun 2009, Phillip Richcreek wrote:
>  
>  I installed a package called Math-Currency under 5.8 some time ago.
>  More recently I installed perl 5.10 and now am unable to find a
>  repository where Math-Currency resides. The ppmprofile entry from 5.8
>  looks like this:
>  
>  <SOFTPKG NAME="Math-Currency" VERSION="0,44,0,0">
>    <TITLE>Math-Currency</TITLE>
>    <ABSTRACT>Exact Currency Math with Formatting and Rounding</ABSTRACT>
>    <AUTHOR>John Peacock &lt;jpeacock@cpan.org&gt;</AUTHOR>
>    <IMPLEMENTATION>
>      <OS NAME="MSWin32" />
>      <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
>      <CODEBASE HREF="MSWin32-x86-multi-thread-5.8/Math-Currency-0.44.zip" />
>      <PROVIDE NAME="Math::Currency" VERSION="0.44" />
>      <PROVIDE NAME="Math::Currency::GBP" VERSION="0.41" />
>      <PROVIDE NAME="Math::Currency::JPY" VERSION="0.41" />
>    </IMPLEMENTATION>
>  </SOFTPKG>
>  
>  Is CODEREF supposed to identify the repository the package was
>  installed from? And shouldn't it include a root directory?

This shows that you installed Math::Currency from a local ZIP file and not
from a repo, e.g. something like this:

    ppm install Math-Currency-0.44.pdd

Math::Currency is not available from the PPM repositories because it doesn't
pass its own test suite on Windows (and OS X).  You can always build and
install it yourself using the CPAN shell and ignore the test failures.  Use
`ppm install MinGW` to install the gcc compiler and dmake utility to get a
complete build environment (warning, expands to 80MB or so).
 
>  I still have the 5.8 Math-Currency directory in the 5.8 site/lib.Is
>  there some way to access it from there?

This doesn't work when a module contains XS code, but Math::Currency is plain
Perl code, so you could just copy the *.pm files over to the corresponding
place in your 5.10 tree.

Cheers,
-Jan

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Phillip Richcreek
Jan Dubois

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved