Hi,
I tried to install PDL 2.4.5 on Ubuntu 9.04
$ cpan PDL gave me this error
Makefile.PL: DEPENDENCY ERROR: USE_POGL requires at least OpenGL version 0.6!
No 'Makefile' created CHM/PDL-2.4.5.tar.gz
=============================
so I tired
$ cpan
cpan> look PDL
edited the perldl.conf file and set
USE_POGL => 0,
then:
ga...@notebook:~/.cpan/build/PDL-2.4.5-KaIc_X$ perl Makefile.PL
Makefile.PL: Have $PDL::Config{USE_POGL} => 0 so skipping TriD build with POGL
Makefile.PL: Legacy TriD build still possible if WITH_3D is set or available...
Extracting Types.pm
making PDL_B...
making PDL_S...
making PDL_US...
making PDL_L...
making PDL_LL...
making PDL_F...
making PDL_D...
Checking if your kit is complete...
Looks good
Warning: prerequisite OpenGL 0.6 not found. We have 0.56.
Writing Makefile for PDL::pod
Writing Makefile for Inline
Writing Makefile for PDL::PP
Writing Makefile for PDL::NiceSlice
Trying to figure out POSIX threads support ...
Saw pthread.h. Fine.
Fine, your perl was linked against pthread library.
==> Will build PDL with POSIX thread support. Gifts to TJL :-)
Trying to figure out endian-ness of machine... It is little endian
Writing Makefile for PDL::Core
Congratulations - building PDL with bad value support (WITH_BADVAL=1)
+ using -FLT_MAX/-DBL_MAX for floating-point bad values
Writing Makefile for PDL::Bad
Writing Makefile for PDL::Ops
Writing Makefile for PDL::Ufunc
Writing Makefile for PDL::Primitive
Writing Makefile for PDL::Slices
Writing Makefile for PDL::Tests
Source of functions
System: acosh asinh atanh erf erfc j0 j1 jn rint y1
Distribution: erfi fixy0 fixyn infinity nan ndtri polyroots
Writing Makefile for PDL::Math
Writing Makefile for PDL::MatrixOps
Writing Makefile for PDL::Complex
Writing Makefile for PDL
Writing Makefile for PDL::Demos
Writing Makefile for PDL::Pod::Parser
Writing Makefile for PDL::Doc
WITH_3D: Looking for xdpyinfo to check GLX .
WITH_3D: Found xdpyinfo, now checking for GLX extension
WITH_3D: Found GLX (1 match)
WITH_3D: Trying OpenGL initial OPENGL_LIB configuration -><-
Trying libGL...
YES
WITH_3D: Success using -lGLU -lGL -lXext -lX11 -lm
WITH_3D: Set WITH_3D => 1 and build OpenGL and TriD
Writing Makefile for PDL::Graphics::TriD::Rout
Writing Makefile for PDL::Graphics::VRML
Writing Makefile for PDL::Graphics::OpenGL
ERROR from evaluation of
/home/gabor/.cpan/build/PDL-2.4.5-KaIc_X/Graphics/Makefile.PL: ERROR
from evaluation of
/home/gabor/.cpan/build/PDL-2.4.5-KaIc_X/Graphics/TriD/Makefile.PL:
ERROR from evaluation of
/home/gabor/.cpan/build/PDL-2.4.5-KaIc_X/Graphics/TriD/OpenGLQ/Makefile.PL:
Can't locate OpenGL/Config.pm in @INC (@INC contains:
/home/gabor/perl5lib/lib/perl5/site_perl/5.10.0/i486-linux-gnu-thread-multi
/home/gabor/perl5lib/lib/perl5/site_perl/5.10.0
/home/gabor/perl5lib/lib/perl5/site_perl
/home/gabor/perl5lib/lib/perl5/site_perl/5.10.0/i486-linux-gnu-thread-multi
/home/gabor/perl5lib/lib/perl5/site_perl/5.10.0
/home/gabor/perl5lib/lib/i486-linux-gnu-thread-multi
/home/gabor/perl5lib/lib
/home/gabor/perl5lib/lib/perl5/5.10.0/i486-linux-gnu-thread-multi
/home/gabor/perl5lib/lib/perl5/5.10.0
/home/gabor/perl5lib/lib/perl5/i486-linux-gnu-thread-multi
/home/gabor/perl5lib/lib/perl5 /home/gabor/perl5lib/lib/perl/5.10.0
/etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10.0
/usr/share/perl/5.10.0 /usr/local/lib/site_perl
/home/gabor/.cpan/build/PDL-2.4.5-KaIc_X
/home/gabor/.cpan/build/PDL-2.4.5-KaIc_X/Graphics
/home/gabor/.cpan/build/PDL-2.4.5-KaIc_X/Graphics/TriD .) at
./Makefile.PL line 7.
BEGIN failed--compilation aborted at ./Makefile.PL line 7.
ga...@notebook:~/.cpan/build/PDL-2.4.5-KaIc_X$
=============================
then edited perldl.conf again and set
WITH_3D => 0
running perl Makefile.PL again complained about
Can't locate ExtUtils/F77.pm in @INC
but otherwise it was successful.
make was successful but make test failed with the following:
Test Summary Report
-------------------
t/gd_oo_tests (Wstat: 512 Tests: 18 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 27 tests but ran 18.
t/gsl_interp (Wstat: 65280 Tests: 10 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 11 tests but ran 10.
Files=109, Tests=1069, 50 wallclock secs ( 0.62 usr 0.11 sys + 42.45
cusr 3.00 csys = 46.18 CPU)
Result: FAIL
Failed 2/109 test programs. 0/1069 subtests failed.
make: *** [test_dynamic] Error 255
Gabor
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl