Jonathan Leto: June 2008 Archives

Gitweb is active

| | Comments (0) | TrackBacks (0)
I finally got around to setting up gitweb for Math-GSL, it was simply a matter of reading the source of gitweb.cgi to understand what it was doing and figuring out that "git" was not in the $PATH of my webserver.

Make sure to check out the "bleed" branch for the latest development. I am gearing up to put our first release on CPAN to see how the CPANTesters put it through the gauntlet. It will be interesting to see how many of them meet the build requirements of SWIG+GSL.

Perl 5.8.8 compile issues with SWIG

| | Comments (0) | TrackBacks (0)

I just installed a fresh Ubuntu 8.04 system, which comes with Perl 5.8.8 by default. Using gcc 4.2.3/swig 1.3.33 I get the following build failure:


gcc -I/usr/lib/perl/5.8/CORE -c -shared -Wall -fpic -Dbool=char -I/usr/local/include/ -Wno-strict-aliasing -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -o BLAS_wrap.so BLAS_wrap.c
In file included from /usr/lib/perl/5.8/CORE/op.h:497,
                 from /usr/lib/perl/5.8/CORE/perl.h:2754,
                 from BLAS_wrap.c:709:
/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:709:
/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:2004: error: expected '=', ',', ';', 'asm' or 'attribute' before 'Perl_PerlIO_tell'
/usr/lib/perl/5.8/CORE/proto.h:2005: error: expected declaration specifiers or '...' before 'off64_t'
Use of uninitialized value in concatenation (.) or string at /home/leto/git/Math-GSL/_build/lib/MyModuleBuilder.pm line 173.
error building  file from 'BLAS_wrap.c' at /home/leto/git/Math-GSL/_build/lib/MyModuleBuilder.pm line 173.


But with Perl 5.10.0 it builds fine, any ideas?

About this Archive

This page is a archive of recent entries written by Jonathan Leto in June 2008.

Jonathan Leto: May 2008 is the previous archive.

Jonathan Leto: August 2008 is the next archive.

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

Screw you, spammers! Clicky Web Analytics