Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Beatnik (493)

  (email not shown publicly)

A 29 year old belgian who likes Mountain Dew, Girl Scout Cookies, Tim Hortons French Vanilla Flavoured Cappucinno, Belgian beer, Belgian chocolate, Belgian women, Magners Cider, chocolate chipped cookies and Perl. Likes snowboarding, snorkling, sailing and silence. Bach can really cheer him up! He still misses his dog.

Project Daddy of Spine [], a mod_perl based CMS.

In his superhero time (8.30 AM to 5.30 PM), he works on world peace.

Journal of Beatnik (493)

Friday July 14, 2006
06:19 AM

Compilation Notes #134242: Compiling Math::Pari on Cygwin

[ #30280 ]
In the tradition of posting about compilation problems, here's another one: Compiling Math::Pari 2001004 on Cygwin. This failed for me miserably. It complained about quite a few things and bOrked out with the error message #error "LONG_SHORTER_THAN_IV not implemented". I found a fix on CPAN RT: Line 667 of Pari.xs should be

GEN b = my_ulongtoi((ulong)(uv & ((((UV)1)<<(8*sizeof(ulong))) - 1)));

instead of

GEN b = my_ulongtoi((ulong)(uv & ((((UV)1)<<(8*sizeof(ulong))) - 1));

Notice the last closing parenthesis. Also remove the line 661 (# error "LONG_SHORTER_THAN_IV not implemented"). The warnings should still be there but the error is gone! Whiii!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.