On Dec 30, 9:39 am, shlo...@iglu.org.il (Shlomi Fish) wrote: > On Wednesday 30 Dec 2009 08:12:24 Shankar wrote: > > > Hello, > > Hi Shankar. > > > (Firstly, Thanks to Matt Trout for pointing me to this forum. I re- > > post my question below). > > > I'm using perl on AIX, and my version is v5.8.2. > > 5.8.2 is incredibly old and broken. There are already perl-5.8.9 and > perl-5.10.1 . It's hard to know whether it will cause problems in your case. > > > (Also, I'm a regular user, with no write permissions to run "make > > install", so installing everything on my local home directory). > > You can still run "make install" with the appropriate PREFIX and/or DESTDIR > flags. Also see local-lib : > > http://search.cpan.org/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? > > You can use local-lib for 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. > > OK, just to make sure, what happens when you try to view these file using a > pager such as "less" or "more"? What does "umask" return?
more shows the contents on the screen. umask inside the directory "t" (where all the *.t files reside) returns 22. Thanks a lot for the replies. I'll check to see if I may update perl. If I'm unable, is it okay to do the following: 1. Run the first two steps of the installation process (perl Makefile.PL and make) for each module I manually uncompress the tarball and install. This populates the blib/lib directory for each module. 2. Simply manually put all the various contents of each of the above populated blib/lib directories (one for each module I install) into a common "lib" directory that I'll create on my home directory. 3. Give the above commnon "lib" directory higher precedence than the default perl paths. Will the above effectively accomplish what is needed to use these modules from my home directory? Thanks, Shankar > > Regards, > > Shlomi Fish > > > > > Example error is below. > > Am I doing something wrong? > > Can someone please help? > > Also, I should be able to use the modules locally from my home > > directory's subdirectories, even though Step 4 fails. Is that right? > > > Thanks a lot. > > > Thanks, S > > > ----------------------------------------------------------- > > E.g. , for "Encode-2.39": (I copy and paste from my xterm command line > > output) > > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_har > > ness(0, 'blib/lib', 'blib/arch')" t/*.t > > t/Aliases..................t/Aliases.t is not readable > > t/at-cn....................t/at-cn.t is not readable > > t/at-tw....................t/at-tw.t is not readable > > t/CJKT.....................t/CJKT.t is not readable > > t/enc_data.................t/enc_data.t is not readable > > t/enc_eucjp................t/enc_eucjp.t is not readable > > t/enc_module...............t/enc_module.t is not readable > > t/enc_utf8.................t/enc_utf8.t is not readable > > t/Encode...................t/Encode.t is not readable > > t/Encoder..................t/Encoder.t is not readable > > t/encoding.................t/encoding.t is not readable > > t/fallback.................t/fallback.t is not readable > > t/from_to..................t/from_to.t is not readable > > t/grow.....................t/grow.t is not readable > > t/gsm0338..................t/gsm0338.t is not readable > > t/guess....................t/guess.t is not readable > > t/jis7-fallback............t/jis7-fallback.t is not readable > > t/jperl....................t/jperl.t is not readable > > t/mime-header..............t/mime-header.t is not readable > > t/mime-name................t/mime-name.t is not readable > > t/mime_header_iso2022jp....t/mime_header_iso2022jp.t is not readable > > t/perlio...................t/perlio.t is not readable > > t/piconv...................t/piconv.t is not readable > > t/Unicode..................t/Unicode.t is not readable > > t/utf8strict...............t/utf8strict.t is not readable > > FAILED--25 test scripts could be run, alas--no output ever seen > > make: 1254-004 The error code from the last command is 2 > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > Freecell Solver -http://fc-solve.berlios.de/ > > Bzr is slower than Subversion in combination with Sourceforge. > ( By:http://dazjorz.com/) -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/