in reply to Re^9: PDL installation
in thread PDL installation

I followed what you said and manually installed the prerequisites. Astro and inline were installed, however OpenGL did not work. Then I tried to install PDL, it took a while and finished with this statement:

found 611 functions saving... couldn't open /usr/lib/perl5/site_perl/5.10/i686-cygwin/PDL/Index.pod +at Doc/sca ntree.pl line 46. make: *** [doc_site_install] Error 13

Is there a way to ckeck if PDL was installed successfully?

Thanks,

Replies are listed 'Best First'.
Re^11: PDL installation
by syphilis (Archbishop) on Feb 04, 2010 at 06:29 UTC
    Looking at http://osdir.com/ml/lang.perl.quality-assurance/2008-11/msg00035.html, it seems you might have come up against a permissions issue. I don't know how that has impacted upon your PDL installation, nor do I know what to do about it. It's likely that you have a functional PDL, though there could be something missing. Start with perl -MPDL -le 'print $PDL::VERSION'
    If that prints out 2.4.6, things are looking promising. Then check to see that entering perldl puts you into the perldl shell (ie gives you a perldl> prompt). Others would be better able to advise on how to do more extensive testing. (I guess you could run the test scripts and check that they perform correctly.)

    If you want to do any graphics stuff with PDL, OpenGL seems to be the best way to go. You should seek help with that on the PDL mailing list as the main OpenGL developer is subscribed there. He's also one of the most active PDL developers ... and he uses Cygwin extensively as well !

    Cheers,
    Rob
      I got 2.4.6 for PDL version and I was able to use perldl shell. Thanks a lot for your help.

      Do you have any suggestion on how I can fix my CPAN, so that if I want to install other modules in future I can use the autoinstall and I don't have to do it manually?

      You have been very helpful. Thank you.
        I got 2.4.6 for PDL version and I was able to use perldl shell

        It would still be a good idea to check on the implications of that final error you got (on the PDL maiking list) .... unless someone here provides advice about that.

        Do you have any suggestion on how I can fix my CPAN

        I haven't been able to get my head around what's going on there, and I don't know much about the CPAN shell anyway.
        As an alternative to actually entering into the CPAN shell, you could just run cpan -i module but I expect that will give you the same results. See if you can work out which perl your cpan shell is attached to - if your version of CPAN allows it, do a force install of Astro::FITS::Header (cpan -fi Astro::FITS::Header) and take note of the paths into which it installs.
        Remove ActivePerl from the system path, then open a fresh Cygwin bash shell and see if that makes any difference.

        Then, if you still have issues with the CPAN shell, I'd start a fresh thread here about that. (But the more information you can provide about precisely what's going wrong, the better our chances of solving it.)

        Cheers,
        Rob