Wiggins d'Anconia wrote:
Kevin Viel wrote:

I am attempting to install modules on a Solaris v10 computer for which I do not have root privileges. I see in MyConfig.pm that the build directory is local:

'build_dir' => q[/home/kviel/.cpan/build]

Where does it install the (built) module?

Thank you,

Kevin



The build_dir doesn't mean a lot in this case, assuming you are asking what I think you are asking. Instead you want to specify an install location in the makepl_arg and or mbuildpl_arg settings. For instance,

makepl_arg = LIB=~/local/lib PREFIX=~/local/lib
mbuildpl_arg = --install_base /home/user/local/lib

Check perldoc CPAN for information about 'o conf'. HTH,

http://danconia.org

Thanks Wiggins.

I attempted to use o conf <scalar option> <value>, but did not seem to have success. In particular, I was unsure of how to use:

o conf <list option> [unshift|push|splice] <list>

It seems I'd need to use this since I had LIB and PREFIX. Could someone provide an example?

So, I used o conf init and I have the following in my MyConfig.pm:

  'make_arg' => q[LIB=~/local/lib PREFIX=~/local/lib],
  'make_install_arg' => q[--install_base /home/kviel/local/lib],
  'makepl_arg' => q[LIB=~/local/lib PREFIX=~/local/lib],


but still obtain an apparent failure:

Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
base/message.t                     95    2   2.11%  86 89
html/form-param.t       2   512    24   48 200.00%  1-24
html/form.t             2   512   122  244 200.00%  1-122
local/autoload-get.t                1    1 100.00%  1
local/autoload.t                    1    1 100.00%  1
local/get.t             2   512     2    4 200.00%  1-2
local/http-get.t                   20    6  30.00%  1-2 5-7 20
local/http.t                       18    6  33.33%  1-2 5-7 18
robot/ua-get.t                      8    2  25.00%  3 5
robot/ua.t                          7    2  28.57%  3 5
Failed 10/30 test scripts, 66.67% okay. 168/799 subtests failed, 78.97% okay.
make: *** [test] Error 29
  /usr/local/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



I used:

cpan> install LWP::Simple

Thanks for any help or advice.

Kevin

--
Kevin Viel
Department of Genetics                       [EMAIL PROTECTED]
Southwest Foundation for Biomedical Research phone:  (210)258-9884
P.O. Box 760549                              fax:    (210)258-9444
San Antonio, TX 78245-0549

Kevin Viel
PhD Candidate
Department of Epidemiology
Rollins School of Public Health
Emory University
Atlanta, GA 30322

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to