Hi Matt, I gave your fresh install a try; the old approach using the Macbook's perl was full of errors.
Now I made it to the point of compiling and testing OpenGL. It worked fine, but: [antonio-haless-macbook:~/myperl/PDL] ahales% ../bin/perl Makefile.PL PREFIX=~/myperl DEPENDENCY ERROR: USE_POGL requires at least OpenGL-0.58_004! at Makefile.PL line 398. What is pointing wrong here ? Cheers, Antonio Matthew Kenworthy wrote: > Hi Chris, > > I thought I'd give the developer's version of PDL and TriD a go on a MacBook. > > I've hit a bug in compiling PDL with OpenGL and TriD - since I messed > up my mac perl installation somehow (my @INC contains references to > perl 5.8.6 ad 5.8.8...) I decided to compile a local copy of perl from > scratch and also pull down the latest PDL and POGL. I've documented > the whole thing at: > > http://mmtao.as.arizona.edu/~mattk/nelse/2009/09/28/compile_perl_from_scratch/ > > Essentially OpenGL compiles, and tests fine with the rotating teapots, > but trying: > > ../bin/perl -Mblib 3dtest.pl > > gives: > > $im3 has dims of 3 640 480 > get_current_window - creating window... > PDL::Graphics::TriD::Window - calling SUPER::new... > PDL::Graphics::TriD::Window - got back > PDL::Graphics::TriD::Window=ARRAY(0xc9a5e0) > PDL::Graphics::TriD::Window: calling gdriver.... > GL gdriver... > Your vendor has not defined OpenGL macro GLX_DOUBLEBUFFER, used at > /Users/mattk/myperl/PDL/blib/lib/PDL//Graphics//TriD//GL.pm line 601. > AUTOLOAD: DESTROY at > /Users/mattk/myperl/PDL/blib/lib/PDL/Graphics/TriD/Window.pm line 224. > Window AUTOLOADing 'DESTROY': > self=PDL::Graphics::TriD::Window=ARRAY(0xc9a5e0), args='' > > ...so I'm not sure what to look for next. > > Cheers, > > Matt > > -- > Matthew Kenworthy / Assistant Astronomer / Steward Observatory > 933 N. Cherry Ave. / Tucson AZ 85721 / vox 520 626 6720 > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > -- ----------------------------- Dr. Antonio Hales ALMA Commissioning Scientist Joint ALMA Office Av Apoquindo 3846 Piso 19 Santiago - Chile ----------------------------- (+56) 2 467 6236 (+56) 9 6 2062609 ----------------------------- _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
