On Dec 30, 2009, at 7:12, Shankar wrote: > Hello, > > I'm using perl on AIX, and my version is v5.8.2.
I know it is no help to say you should upgrade your perl or your OS, but sometimes that makes a huge difference in your day to day perl programming. :) > (Also, I'm a regular user, with no write permissions to run "make > install", so installing everything on my local home directory). There is a perl module that helps with that, called local::lib. It allows you to install things in a directory that you have read/write access to. It is very useful and I can recommend it. http://cpan.uwinnipeg.ca/dist/local-lib > My primary interest is in module Mail::Box. I downloaded this, and > realized that I needed to install several pre-requisites. > Subsequently, I tried installing pre-requisites such as, > TimeDate-1.20, Encode-2.39, and so on. > For each of these, as per instructions, I tried the following steps in > sequence: > > 1. perl Makefile.PL > 2. make > 3. make test > 4. make install (This fails, I think, because I don't have any root or > super user permissions to make a site-wide install. Is that correct? This would be my guess as well, though I can't be certain. You may want to use the cpan perl tool to do your installing of modules, it does this Make incantation for you and you can add parameters like sudo so you can install stuff system wide if you need that. > > Steps 1 and 2 succeeded. > Step 3 in each of the modules that I attempted to install on my home > directory, gives an error that seems to say none of the *.t files are > readable. Where is the the testing directory? I mean where is it physically located on your file system? When I download Time::Date 1.20 and cd into the dir, make test runs fine. The test files, i.e. everything under t/ is owned by me, so I cannot reproduce your error. > Example error is below. > Am I doing something wrong? I don't think so. > Can someone please help? Can you post more information? > Also, I should be able to use the modules locally from my home > directory's subdirectories, even though Step 4 fails. Is that right? If the tests don't pass, you may not be able to access the code in the modules without explicitly defining the path to the code. So it will be a little tricky. Jeremiah -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/