[ic] installation of CPAN modules without root access.

mike karthauser interchange-users@icdevgroup.org
Wed Oct 16 08:50:00 2002


I am on my second server install of IC 4.8.6 in the last week as am now
testing IC on my Apache Virtual Server space. I will be porting the nearly
complete catalogue from my freebsd local server onto the RH linux 7.2 box i
have VS space on.

I have installed the ic4.8.6 software within interch/ user and have had a
failure on makecat.

Catalog name? foundation
makecat -- Interchange catalog installation program.

*** We will be making a catalog named 'foundation'. ***

Can't use an undefined value as an ARRAY reference at
/usr/local/home/interch/ic48x/lib/IniConf.pm line 438.

I have also installed from CPAN
#perl -MCPAN -e install Bundle::Interchange

this almost fully installs but leaves me with this:

Failed 1/23 test scripts, 95.65% okay. 58/1500 subtests failed, 96.13% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

I dont have root access but have a su called admin which is as higher level
as i can get. This user allows full control over the VS environment.

My ISP suggests
..
You don't need root to install this software (software that really needs
root isn't compatible with your server).

Just install it into the prefix /usr/local rather than /usr; you might not
be able to use the CPAN shell to do this, though.
..

I have looked at: 

Installing Perl Modules without Root Access
http://www.icdevgroup.org/cgi-bin/ic/docfly.html?mv_arg=icadvanced11%2e00

which sort of helps but I was wondering how to install the modules from CPAN
without running the CPAN shell. Will my installops file need to use all of
the below?

<file installops.txt>
PREFIX=~/usr/local \
INSTALLPRIVLIB=~/usr/local/lib/perl5 \
INSTALLSCRIPT=~/usr/local/bin \
INSTALLSITELIB=~/usr/local/lib/perl5/site_perl \
INSTALLBIN=~/usr/local/bin \
INSTALLMAN1DIR=~/usr/local/lib/perl5/man \
INSTALLMAN3DIR=~/usr/local/lib/perl5/man/man3
<EOF>

I ideally would have liked to spend more time in development but due to
client pressure I have turned my test configuration sessions into live
testing...
-- 
Mike Karthauser 
Managing Director - Brightstorm Ltd

Email       >> mikek@brightstorm.co.uk
Web         >> http://www.brightstorm.co.uk
Tel         >> 0117 9426653 (office)
               07939 252144 (mobile)

Snailmail   >> Unit 8, 14 King Square,
               Bristol BS2 8JJ