thanks. That is related but local::lib suppose to create a perl5 dir in
$HOME so perl modules can be installed & run as normal user as per
http://search.cpan.org/dist/local-lib/lib/local/lib.pm

perhaps i missed a step or two?

2010/9/10 Harisfazillah Jamel <[email protected]>

> We dont have permission to create any directory using non-root other
> than /tmp and our own home ....
>
> On Fri, Sep 10, 2010 at 8:47 PM, Umarzuki Mochlis <[email protected]>
> wrote:
> > i'm trying local::lib so i can install libwww::mechanize as non-root
> (just
> > for the heck of it) on my Ubuntu 8.04
> > what i had done so far:
> > umarz...@milo:~/Downloads/local-lib-1.006007$ perl Makefile.PL
> --bootstrap
> > [snipped]
> > *** Module::AutoInstall configuration finished.
> > Checking if your kit is complete...
> > Looks good
> > umarz...@milo:~/Downloads/local-lib-1.006007$ make
> > [snipped]
> > All tests successful.
> > umarz...@milo:~/Downloads/local-lib-1.006007$ make install
> > Installing /home/umarzuki/perl5/lib/perl5/local/lib.pm
> > Installing /home/umarzuki/perl5/lib/perl5/lib/core/only.pm
> > Installing /home/umarzuki/perl5/lib/perl5/POD2/PT_BR/local/lib.pod
> > Installing /home/umarzuki/perl5/lib/perl5/POD2/DE/local/lib.pod
> > Installing /home/umarzuki/perl5/man/man3/lib::core::only.3pm
> > Installing /home/umarzuki/perl5/man/man3/local::lib.3pm
> > Installing /home/umarzuki/perl5/man/man3/POD2::DE::local::lib.3pm
> > Installing /home/umarzuki/perl5/man/man3/POD2::PT_BR::local::lib.3pm
> > Appending installation info to
> > /home/umarzuki/perl5/lib/perl5/i486-linux-gnu-thread-multi/perllocal.pod
> > $ echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc
> > $ perl -MCPAN -eshell
> > cpan> install Acme::Time::Baby
> > CPAN: Storable loaded ok
> > Going to read /home/umarzuki/.cpan/Metadata
> >   Database was generated on Thu, 09 Sep 2010 21:31:47 GMT
> > [snipped]
> > WARNING: LICENSE is not a known parameter.
> > Checking if your kit is complete...
> > Looks good
> > [snipped]
> > All tests successful.
> > Files=18, Tests=21620,  4 wallclock secs ( 1.24 cusr +  0.14 csys =  1.38
> > CPU)
> >   /usr/bin/make test -- OK
> > Running make install
> > Manifying blib/man3/Acme::Time::Baby.3pm
> > Warning: You do not have permissions to install into
> > /usr/local/lib/perl/5.8.8 at /usr/share/perl/5.8/ExtUtils/Install.pm line
> > 114.
> > mkdir /usr/local/share/perl/5.8.8/Acme: Permission denied at
> > /usr/share/perl/5.8/ExtUtils/Install.pm line 176
> > make: *** [pure_site_install] Error 13
> >   /usr/bin/make install  -- NOT OK
> >     You may have to su to root to install the package
> >
> > hope someone can shed some light on this. Thanks.
> > --
> > Regards,
> >
> > Umarzuki Mochlis
> > http://debmal.my
> >
>
> --
> Join Open Source Developers Club Malaysia http://www.osdc.my/
>
> Facebook Fan page
>
> http://www.facebook.com/group.php?gid=98685301577
>
> http://www.facebook.com/OSDC.my
>
> You received this message because you are subscribed to the Google
>
> Groups "OSDC.my Mailing List" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<osdcmy-list%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/osdcmy-list?hl=en




-- 
Regards,

Umarzuki Mochlis
http://debmal.my

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en

Kirim email ke