Math::GSL 0.10 released to CPAN

| | Comments (0) | TrackBacks (0)
Math::GSL has been kicking around on CPAN for a few days now, and seems to be doing well with the CPANtesters , except for multi-threaded Perls. This is a very important piece of information to learn, since I develop on FreeBSD 6.x and Ubuntu 8.x, which come with single-threaded Perls, and I had of course recompiled my own Perl from source, but single-threaded is again the default in Configure.

The Build fails like this:

gcc -I/usr/lib/perl/5.8/CORE -c -shared -Wall -fpic -Dbool=char -Wno-strict-aliasing -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -o
BLAS_wrap.o BLAS_wrap.c
In file included from /usr/lib/perl/5.8/CORE/op.h:
                from /usr/lib/perl/5.8/CORE/perl.h:2754,
                from BLAS_wrap.c:716:
/usr/lib/perl/5.8/CORE/reentr.h:612: error: field '_crypt_struct' has
incomplete type
In file included from /usr/lib/perl/5.8/CORE/perl.h:3950,
                from BLAS_wrap.c:716:
/usr/lib/perl/5.8/CORE/proto.h:297: error: expected declaration
specifiers or '...' before 'off64_t'
/usr/lib/perl/5.8/CORE/proto.h:299: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'Perl_do_sysseek'
/usr/lib/perl/5.8/CORE/proto.h:300: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'Perl_do_tell'
/usr/lib/perl/5.8/CORE/proto.h:2005: error:
expected '=', ',', ';', 'asm' or '__attribute__'
before 'Perl_PerlIO_tell'
/usr/lib/perl/5.8/CORE/proto.h:2006: error: expected declaration
specifiers or '...' before 'off64_t'
error building .o file from 'BLAS_wrap.c'
at /tmp/Math-GSL-0.08/_build/lib/ line 167.

Does anyone know of extra build flags which are necessary when building XS modules on multi-threaded Perls?

0 TrackBacks

Listed below are links to blogs that reference this entry: Math::GSL 0.10 released to CPAN.

TrackBack URL for this entry:

Leave a comment

About this Entry

This page contains a single entry by Jonathan Leto published on August 28, 2008 7:25 PM.

Math::GSL 0.08 released to CPAN was the previous entry in this blog.

Google Summer of Code 2008 Recap is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Screw you, spammers! Clicky Web Analytics