in reply to Re: PDL installation problem
in thread PDL installation problem

Hi, thanks for the message. I tried it but without success. I set the PERL5LIB variable, downloaded the PDL modul but I dont find the MAKEFILE.pl. There are some subfolders (Basic,Demos etc containig the MAKEFILE.pl ) but if I run it there its the same problem..."Unable to find PDL's configuration info " cant locate config.pm..... Any idea where I made the mistake?

Replies are listed 'Best First'.
Re^3: PDL installation problem
by syphilis (Archbishop) on Jun 23, 2011 at 23:05 UTC
    downloaded the PDL modul but I dont find the MAKEFILE.pl.

    It's in the top level folder - ie in the same directory that contains the Basic and Demos folders (amongst other stuff).
    You need to cd to that "top level folder" and run
    perl Makefile.PL INSTALL_BASE=/home/me/my_modules
    (replacing "/home/me/my_modules" with whatever location you've selected.)

    It's the same procedure for other modules - cd to the top level folder. Maybe you should try the pre-requisite modules first .... they're much smaller and simpler, and will give you the idea of what's supposed to happen. (Also, they're supposed to be installed *before* building PDL.)

    Cheers,
    Rob
      thanks rob, tried it again and PDL needs Astro::FITS::Header started with Astro::FITS::Header
      export PERL5LIB=/home/my_fodler/lib 1.: perl Build.PL INSTALL_BASE=/home/my_folder/lib 2.: ./Build -> OK ./Build test -> OK ./Build install -> Warning: You do not have permissions to install + into /usr/local/lib/perl5/site_perl/5.8.8 at /usr/local/lib/perl5/5. +8.8/ExtUtils/Install.pm line 114. mkdir /usr/local/lib/perl5/site_perl/5.8.8/Astro: Permission denied at + /usr/local/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
      I set the path but he wants to install again on usr/.... ??????
        In addition to Anonymous Monk's reply, I notice there's also a typo in what you've tried. In the PERL5LIB setting you specified "fodler" instead of "folder".
        Also, if you run
        perl Makefile.PL INSTALL_BASE=/home/my_folder/lib
        I think you'll find that PERL5LIB would need to be set to
        /home/my_folder/lib/lib/perl5
        and it's probably the same with Build.PL and --install_base.
        Anyway, see how you go - you can always amend your PERL5LIB setting as necessary.

        Cheers,
        Rob