Thanks Jeremiah. The /t folder is physically at the same level as where the tar ball was uncompressed. i.e. for example, in say, Encode-2.39. (see the last but one line of the output below. The folder t is present).
$ ls -al total 364 drwxr-s--x 16 shankar shankar 2048 2009-12-29 12:49 . drwxr-s--x 20 shankar shankar 2048 2009-12-29 23:42 .. -rw-r----- 1 shankar shankar 2583 2009-11-16 12:03 AUTHORS drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:41 Byte drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:42 CN -rw-r----- 1 shankar shankar 79905 2009-11-26 04:24 Changes drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:42 EBCDIC drwxr-s--x 2 shankar shankar 2048 2009-11-26 04:25 Encode -rw-r--r-- 1 shankar shankar 0 2009-12-29 12:41 Encode.bs -rw-r----- 1 shankar shankar 34287 2009-12-29 12:41 Encode.c -rw-r----- 1 shankar shankar 13 2009-12-29 12:41 Encode.exp -rw-r----- 1 shankar shankar 57333 2009-12-29 12:41 Encode.o -rw-r----- 1 shankar shankar 29731 2009-11-26 04:24 Encode.pm -rw-r----- 1 shankar shankar 22816 2009-11-26 04:24 Encode.xs drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:43 JP drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:44 KR -rw-r----- 1 shankar shankar 7253 2009-07-08 08:05 MANIFEST -rw-r----- 1 shankar shankar 467 2009-11-26 04:25 META.yml -rw-r--r-- 1 shankar shankar 37327 2009-12-29 12:41 Makefile -rw-r----- 1 shankar shankar 3407 2009-11-26 04:24 Makefile.PL -rw-r----- 1 shankar shankar 1084 2006-05-03 13:30 README drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:44 Symbol drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:45 TW drwxr-s--x 2 shankar shankar 2048 2009-12-29 12:45 Unicode drwxr-s--x 2 shankar shankar 2048 2009-11-26 04:25 bin drwxr-s--x 7 shankar shankar 2048 2009-12-29 12:45 blib -rw-r----- 1 shankar shankar 4579 2009-12-29 12:41 def_t.c -rw-r----- 1 shankar shankar 340 2009-12-29 12:41 def_t.exh -rw-r----- 1 shankar shankar 55 2009-12-29 12:41 def_t.fnm -rw-r----- 1 shankar shankar 296 2009-12-29 12:41 def_t.h -rw-r----- 1 shankar shankar 2558 2009-12-29 12:41 def_t.o -rw-r----- 1 shankar shankar 4392 2006-05-03 13:30 encengine.c -rw-r----- 1 shankar shankar 1995 2009-12-29 12:41 encengine.o -rw-r----- 1 shankar shankar 19892 2009-11-26 04:24 encoding.pm drwxr-s--x 3 shankar shankar 2048 2009-11-26 04:25 lib -rw-r----- 1 shankar shankar 788 2009-12-29 12:49 maketestout.txt -rw-r----- 1 shankar shankar 0 2009-12-29 12:41 pm_to_blib drwxr-s--x 2 shankar shankar 2048 2009-11-26 04:25 t drwxr-s--x 2 shankar shankar 4096 2009-11-26 04:25 ucm On Wed, Dec 30, 2009 at 10:25 AM, Jeremiah Foster < jerem...@jeremiahfoster.com> wrote: > > 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