[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Math::Random for Mac?



On Mon, 1 Feb 1999, Paul J. Schinder wrote:

> On Mon, Feb 01, 1999 at 02:02:06PM -0500, kevin livingstone wrote:
[ SNIP ]
> } however). The syntax check spits out: # Can't find loadable object for
> } module Math::Random. I could move over to Unix, but I'd like to stay on my
> } Mac if possible. Has anyone got this module to work on a Mac or can you
> } offer suggestions to get it working on the Mac?
> 
> Sounds like it's an .xs...  Yep, sure enough:
> 
> So if you really need this, it's time to buy a MacOS compiler if you
> don't already have one and pay attention to the "how to build an XS"
> thread.  Or maybe, if you're lucky, Chris or Arved or someone else
> who can build XS will take pity.
> 
Took a look at it this AM. I've got a working shared library for PPC, but
there's a linker glitch re the Math library for CFM68K that I won't have
the time to track down until after work today.

Unless Chris ran it and the default library set for CFM built OK, I can
check the sucker in, and have it releasable within a few days. For what
it's worth, the compilation is absolutely clean for both, and the linking
for PPC is completely straightforward.

And to answer Chris' earlier comment "why not use rand()?", well, I hadn't
looked at Math::Random before, but it looks like it does a _bit_ more than
rand()... :-)

Arved



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch