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 <jpeacock@cpan.org></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
|