Click here to get back home

Installing modules locally as a non root

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Installing modules locally as a non root sravi 05-23-2005
Get Chitika Premium
Posted by Mark Clements on May 23, 2005, 1:27 pm
Please log in for more thread options


sravi wrote:

>
> Mark Clements wrote:
> > sravi wrote:
> >
> > > Here is the output of "find /home/sravi/perl -print"
> > You need to give some context to your posts. Please read the posting
> > guidelines.
> >
> > <snip>
> >
> > > /home/sravi/perl/lib/site_perl/Digest/Nilsimsa.pm
> >
> > try setting

<snip>
> > use lib qw(/home/sravi/perl/lib/site_perl);
> >
>
> This gave the following error,
>
> Can't load
> '/home/sravi/perl/lib/site_perl/sun4-solaris/auto/Digest/Nilsimsa/Nils
> imsa.so' for module Digest::Nilsimsa: ld.so.1:
> /usr/local/bin/perl5.8.3: fatal: relocation error: file
> /home/sravi/perl/lib/site_perl/sun4-solaris/auto/Digest/Nilsimsa/Nilsi
> msa.so: symbol Perl_markstack_ptr: referenced symbol not found at
> /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/DynaLoader.pm line 229.
> at /home/sravi/tmp.pl line 9
> Compilation failed in require at /home/sravi/tmp.pl line 9.
> BEGIN failed--compilation aborted at /home/sravi/tmp.pl line 9.
>
>
> Should I move some files to other directory to work?

I've googled the error for you (you could have done this yourself) and
I'd guess that you are mixing and matching perl versions. The previous
one mentioned by you was very old, but the error above indicates 5.8.3.
You have probably run CPAN using the ancient version, and now you are
trying to run it using the newer version. I suggest you ask your
sysadmin for help.

Mark


Posted by Gunnar Hjalmarsson on May 23, 2005, 2:39 pm
Please log in for more thread options


sravi wrote:
>
> perl Makefile.PL PREFIX=/home/sravi/perl

<snip>

> use lib "/home/sravi/perl";
> use Digest::Nilsimsa;

Check in which directory the "Digest" directory is located, and adapt
the "use lib" statement accordingly.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


Similar ThreadsPosted
write permissions installing XML-SAX-Expat-0.38 locally June 9, 2007, 10:44 am
Installing Net::SMTP as non-root March 19, 2007, 4:03 pm
compiling/add modules when no root access March 22, 2006, 4:21 pm
Local install of modules - no root; no telnet November 9, 2004, 12:54 am
[RFC] What's a good CPAN root name for mobile and wireless modules? January 2, 2005, 4:49 pm
installing modules? September 29, 2005, 1:52 pm
Installing modules August 5, 2005, 8:32 pm
Problem with installing modules November 24, 2006, 6:15 pm
Newbie: Installing Modules February 22, 2007, 5:42 am
Errors when Installing Modules June 23, 2008, 6:09 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap