Ilya Zakharevich on Fri, 4 Oct 2002 21:09:57 -0700

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

Re: Problem with Perl Math::Pari on TRU64

On Sat, Oct 05, 2002 at 01:16:52AM +0200, Karim BELABAS wrote:
> On 2 Oct 2002, Frédéric Oger wrote:
> > I'm trying to install Math::Pari-2.010305, pari-2.1.4 with perl version
> > 5.8 on Compaq Tru64 Unix v4.0d in order to install  Net-SSH module.  I
> > am running into some problems with thousands "Unaligned access" errors
> > when I run 'make test'.
> [...]
> > ...Processor of family `alpha' detected
> > ...I will use assembler build of type 'alpha'.
> The unaligned accesses are probably due to non relocatable assembler code
> (producing a broken shared library). Try to build pari using the portable
> kernel.
> I'm not sure how to do this from within Math::Pari setup. The following
> should work:
>    perl Makefile.PL machine=none

Somehow my answer to frederic did not get it to the list.  The actual
problem is that Math::Pari thinks that non-alphas are 32-bit.  Newer
Perls provide sizeof(long) through, so this should have been
fixed long time ago...  Mea culpa.

So I think

   perl Makefile.PL configure

would be a more appropriate fix (run GP/PARI's configure, and collect
the results).