-----Original Message-----
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 10:11 AM
To: [EMAIL PROTECTED]
Subject: Re: installing perl module without root permission


Please bottom post, and please read the previous threads.  Your
information is correct, but has already been provided. I didn't see much
in that document that hasn't already been covered.  Does anyone have
anything else pertinent (aka hasn't already been mentioned) to add?

http://danconia.org

> take a look at http://www.rcbowen.com/imho/perl/modules.html. Specifically
> he/she writes:
> 
> If you do not have root permissions on the machine where you want to
> install the module, such as if you wish to install a module in your home
> directory, just change one of those commands. Instead of 
> 
> 
>         perl Makefile.PL
> 
> type 
> 
> 
>         perl Makefile.PL PREFIX=/path/to/where/you/want/it
> 
> That will put all the files in that directory. In order to use modules
> that are stored in that location, you will need to add the following like
> to your Perl programs: 
> 
> 
>         use lib /path/to/where/you/want/it
> 
> ___
> 
> if those lines dont answer the question check the rest of that document,
> it is very good at explaining it.
> 
> 
> Jayakumar Rajagopal wrote:
> 
> > Hi friends,
> >       I am in this condition :
> >               (1) I have to install XML::Simple or XML::Twig or such XML
> module.
> >               (2) Here Sys. administrator, does not install/ or
allow me to
> install (1). When I try to use within my user, it says 'no permission' for
> wrting.
> >               (3) my Unix System does not have internet connectivity, so
> cannot use the module directly from net.
> 
> >       Is there anyway installing/using these XML modules without su
> permission?
> 
###############################

Wiggins/Gohaku/Randal/Jason/All,

        Thank you all for helps with great spirits. I tried hacking in Makefile etc, 
resetting different paths. They did not work too. But setting both PREFIX and LIB 
variables did the trick. It is working fine now.

        Gohaku : how you knew I did not have perldoc in my machine? :) 

Below some bug reporting message given 'make install' (see last line) anyway :
regards,
Jay

t/test_attregexp_cond.ok
t/test_cdata........ok
t/test_class_methods.ok
t/test_comment_handler.ok
t/test_drop_comments.ok
t/test_entities.....ok
t/test_erase........ok
t/test_errors.......ok
t/test_expand_external_entities.ok
t/test_ignore_elts..ok
t/test_nav..........ok
t/test_need_io_scalar.skipping, need IO::Scalar
ok
t/test_need_use_bytes.skipping, need to be able to use bytes
ok
t/test_pi_handler...ok
t/test_pos..........ok
t/test_simplify.....Name "XML::Simple::PREFERRED_PARSER" used only once: possible typo 
at t/test_simplify.t line 22.
Name "XML::Simple::VERSION" used only once: possible typo at t/test_simplify.t line 16.
skipping: XML::Simple is not installed
ok
t/test_spaces.......ok
t/test_twig_roots...ok
t/test_unique_xpath.ok
t/test_variables....ok
t/test_with_lwp.....skipping, LWP not available
ok
t/test_xpath_cond...ok
t/xmlxpath_01basic..skipping: XML::XPath not available
ok
t/xmlxpath_02descendant.skipping: XML::XPath not available
ok
t/xmlxpath_03star...skipping: XML::XPath not available
ok
t/xmlxpath_04pos....skipping: XML::XPath not available
ok
t/xmlxpath_05attrib.skipping: XML::XPath not available
ok
t/xmlxpath_06attrib_val.skipping: XML::XPath not available
ok
t/xmlxpath_07count..skipping: XML::XPath not available
ok
t/xmlxpath_08name...skipping: XML::XPath not available
ok
t/xmlxpath_09a_string_length.skipping: XML::XPath not available
ok
t/xmlxpath_09string_length.skipping: XML::XPath not available
ok
t/xmlxpath_10pipe...skipping: XML::XPath not available
ok
t/xmlxpath_12axisdescendant.skipping: XML::XPath not available
ok
t/xmlxpath_13axisparent.skipping: XML::XPath not available
ok
t/xmlxpath_14axisancestor.skipping: XML::XPath not available
ok
t/xmlxpath_15axisfol_sib.skipping: XML::XPath not available
ok
t/xmlxpath_16axisprec_sib.skipping: XML::XPath not available
ok
t/xmlxpath_17axisfollowing.skipping: XML::XPath not available
ok
t/xmlxpath_18axispreceding.skipping: XML::XPath not available
ok
t/xmlxpath_19axisd_or_s.skipping: XML::XPath not available
ok
t/xmlxpath_20axisa_or_s.skipping: XML::XPath not available
ok
t/xmlxpath_21allnodes.skipping: XML::XPath not available
ok
t/xmlxpath_22name_select.skipping: XML::XPath not available
ok
t/xmlxpath_23func...skipping: XML::XPath not available
ok
t/xmlxpath_24namespaces.skipping: XML::XPath not available
ok
t/xmlxpath_25scope..skipping: XML::XPath not available
ok
t/xmlxpath_26predicate.skipping: XML::XPath not available
ok
t/xmlxpath_28ancestor2.skipping: XML::XPath not available
ok
t/xmlxpath_29desc_with_predicate.skipping: XML::XPath not available
ok
t/xmlxpath_30lang...skipping: XML::XPath not available
ok
t/xmlxpath_additional.skipping: XML::XPath not available
ok
t/xmlxpath_nav......skipping: XML::XPath not available
ok
t/xmlxpath_test1....skipping: XML::XPath not available
ok
t/xmlxpath_test_twig_roots.skipping: XML::XPath not available
ok
t/xmlxpath_test_with_handlers.skipping: XML::XPath not available
ok
t/xmlxpath_xpath_cond.skipping: XML::XPath not available
ok
t/zz_dump_config....

Configuration:

perl: 5.00503
OS: solaris - sun4-solaris
XML::Parser              : 2.31
expat                    : 1.95.5
Scalar::Util             : <not available>
WeakRef                  : <not available>
Encode                   : <not available>
Text::Iconv              : <not available>
Unicode::Map8            : <not available>
LWP                      : <not available>
HTML::Entities           : <not available>
Tie::IxHash              : <not available>
XML::XPath               : <not available>
Test                     : 1.122
Test::Pod                : <not available>
XML::Simple              : <not available>
XML::Handler::YAWriter   : <not available>
XML::SAX::Writer         : <not available>
IO::Scalar               : <not available>


Please add this information to bug reports (you can run t/zz_dump_config.t to get it)

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


Reply via email to