karthikeyan.balasubramanian wrote:
Kartikeyen B --Hi,My hosting provider is not installing this particular module. But i do have shell access. Can i install this module in my document root. If Yes how do i do this. Please help me out in this. Have a great day. Karthikeyan B
When you perl makefile.pl, there's an option to make in the local folder. To illustrate, here are some notes from an install on a solaris box, in the local 'document' folder...
-- this is the command I put in a in a begin block -- "if env os... blah". For different servers I specify where I put 'lib' and 'site_perl' folders in 'my' area, when I don't have total control:
BEGIN {unshift(@INC,'/export/home/mh296/lib/5.6.0','/export/home/mh296/lib/site_perl/5.6.0');}
/usr/ccs/bin/make #location of make -- you'll need to find yours
Once you have the module you need: (SOAP-lite[version].tar.gz or the like..) and, assuming it needs no compiling (if it does, what you can do may be more limited? I don't mess with c compilers.):
gunzip -d File[*]
tar xvf File[*]
perl Makefile.PL PREFIX=~ #makes in my home directory, prefix '~'
/usr/ccs/bin/make test TEST_VERBOSE=1 #much will fail
/usr/ccs/bin/make install #installs in home directory
rm -Rf ./* #run after mod install from dir to recurse and remove all
pod2html INFILE.pm>INFILE.html
-- this is what happens when you have conflicts with dependencies:
Writing /export/home/mh296/lib/site_perl/5.6.0/sun4-solaris/auto/DBI/Shell/.packlist
## Differing version of DBI/Format.pm found. You might like to
rm /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/DBI/Format.pm
## Differing version of DBI/Shell.pm found. You might like to
rm /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/DBI/Shell.pm
## Running 'make install UNINST=1' will unlink all those files for you.
Appending installation info to /export/home/mh296/lib/5.6.0/sun4-solaris/perllocal.pod
>
Obviously, I wasn't able to delete the server's install files, hence the 'unshift' @INC -- finding my modules first... (I think...). Never had a problem, though.
HTH
-- Mike higgins
^ ^
<-|->
(.)__ the world is a big box of paints.
__ __ and others, the canvas we're dealt.
| | - XTC
_/ \_
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs