Skip Menu |

This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id: 12324
Status: new
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: merijnb [...] iloquent.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.010603
Fixed in: (no value)



Subject: Build problem on Solaris: small sparc detection related issue in Math::PariBuild
When building Math::Pari I found it build just fine on Linux, but on Solaris the assembler bombed out on the sparcv7 assembler it was fed. I've taken a look at the logic that decides what sparc is being used and there seems to be a small issue with the code on line 726 of Math::PariBuild, which I think should read: } elsif ($type =~ /^sun4[ce]/) { because for me $type is 'sun4u' and the line above evaluates to true with the original ? behind the character class. With the line changed as above the configure, build and test steps works fine, choosing sparcv9 for the assembly code. Just wanted to let you know in case somebody else has the same issue.
[guest - Mon Apr 18 11:21:14 2005]: Awesome find! I was totally stuck on that as error. I made the change that you suggested and now I am moving forward again. Thanks for posting this! Show quoted text
> When building Math::Pari I found it build just fine on Linux, but on > Solaris the assembler bombed out on the sparcv7 assembler it was fed. > I've taken a look at the logic that decides what sparc is being used > and there seems to be a small issue with the code on line 726 of > Math::PariBuild, which I think should read: > > } elsif ($type =~ /^sun4[ce]/) { > > because for me $type is 'sun4u' and the line above evaluates to true > with the original ? behind the character class. > > With the line changed as above the configure, build and test steps
works Show quoted text
> fine, choosing sparcv9 for the assembly code. Just wanted to let you
know Show quoted text
> in case somebody else has the same issue.