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

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

Replies are listed 'Best First'.
Re^4: PDL installation problem
by halligalli (Novice) on Jun 24, 2011 at 07:35 UTC
    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
        Now I think i destroyed something....I tried to install local:lib with that instruction: http://perl.jonallen.info/writing/articles/install-perl-modules-without-root after setting: echo 'eval $(perl -I$HOME/local-lib-1.008004/lib -Mlocal::lib)' >>~/.bashrc something is wrong. Each time if I open a new terminal i got this message inside the terminal (and also all colleagues who are working under that username)
        Can't locate local/lib.pm in @INC (@INC contains: /home/XXX compilation aborted
        how can i desinstall or cancel this local::lib stuff????