On Tue, Sep 29, 2009 at 2:11 PM, Antonio Hales <[email protected]> wrote:
> 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.

I forgot to add a 'make install' when you're in the OpenGL-0.58-005
directory. I'm updating the instructions now:

http://mmtao.org/~mattk/nelse/2009/09/28/compile_perl_from_scratch/

The end of the page is abrupt, as I haven't got GLX to work with PDL,
but I'll update it as Chris' tests progress. To be honest, I was happy
to get OpenGL and the rotating teapots.

When I first use CPAN to install modules in my local Perl, there's an
option to make sure that PREFIX=~/myperl is added to the end of all
perl Makefile.pl commands - but I'm not sure how to check that for my
installation, so I've been playing it safe and sticking it on the end
anyway.

With the perldl developer's blessings, I'll add this to the wiki when
I can get it all running smoothly and expand the instructions. I'll
also add info on getting PGPLOT compiled in as well, I use that all
the time....

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

Reply via email to