----- Original Message ----- 
From: "Gabor Szabo" <[email protected]>
To: <[email protected]>

> Oh, and I'd really would like to have all the OpenGL support too so if 
> someone
> could tell me how can I add that.

Before installing PDL, 'cpan -i OpenGL'.
If that works you should be right.

> Anyway in the meantime I installed:
>
> sudo aptitude install libextutils-f77-perl
> sudo aptitude install gfortran

Good move :-)

> here is the full output after those installations:

[extensive snipping ensues]


> writing dummy Makefile
> Cannot find GD library, .
> Please add the correct library path to Makefile.PL or install GD
> .Cannot find GD header file, .
> Please add the correct library path to Makefile.PL or install GD.
>
> Skipping build of PDL::IO::GD.

This means that PDL::IO::GD was not built. The fact that gd_oo_tests.t was 
run indicates that there's a PDL build lying around (in @INC) that *does* 
have PDL::IO::GD.

Simplest soultion is to remove/rename site/lib/PDL.pm and the site/lib/PDL 
directory before building 2.4.5.

If you want to build PDL::IO::GD with PDL-2.4.5, make sure that the gd 
library is installed, and that @lib_locations and @inc_locations in the 
IO/GD/Makefile.PL contain the appropriate paths.


> no GSL version info found (gsl-config not installed?)
>
>
>   Not building GSL modules: GSL version UNKNOWN VERSION found, need
> at least 1.3

Either GSL is not installed, or the version of GSL that was found is not 
sufficiently recent, or the gsl-config file was not found.

Again, the fact that the GSL tests were run indicates that there's a version 
of PDL lying around (in @INC) that contains the GSL stuff (probably built 
against a pre-1.3 version of GSL).

Again, the best way to avoid this kind of problem is to delete (or hide) the 
pre-existing PDL build.

To get the GSL stuff included in your build of 2.4.5 probably entails 
building a post-1.3 version of GSL and/or making sure that gsl-config is in 
your path. It's hard to tell for sure from here :-)

Btw, I think it's a bug in PDL (or at least undesirable) that the GSL/GD 
tests still get run even if the GSL/GD stuff was not compiled as part of the 
build procedure. This will hopefully get fixed in a future release of PDL.

Cheers,
Rob 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to