Re: installing xerces when I don't have root
[email protected] (Jason E. Stewart)
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
"Karen E. Medina" <[email protected]> writes: > Perhaps I am a bit too tired to see the obvious, but I am trying to > install xerces on a linux server. I successfully installed > xerces-c-src_2_3_0 (setting the XERCESROOT to > /home/<myarea>/bin/XML-XERCES-2.3.0-2/ ) and everything is looking in the > right place... Right - unless you want to, you can just leave xerces-c in it's build location - you don't have to install it at all. Just make sure that XERCESCROOT is set correctly when building XML-Xerces. > I just don't see how to make it not want to write to the perl5 > files. This is a general Perl question. Perl tries to help you out, and makes build and installing modules with the default parameters very simple. Changing the default parameters, is not always so obvious. In this case the ExtUtils::MakeMaker man page is your friend: $ perldoc ExtUtils::MakeMaker An excerpt: PREFIX and LIB attribute PREFIX and LIB can be used to set several INSTALL* attributes in one go. The quickest way to install a module in a non-standard place might be perl Makefile.PL PREFIX=~ This will install all files in the module under your home directory, with man pages and libraries going into an appropriate place (usually ~/man and ~/lib). Another way to specify many INSTALL directories with a single parameter is LIB. perl Makefile.PL LIB=~/lib This will install the module's architecture-independent files into ~/lib, the architecture-dependent files into ~/lib/$archname. Let us know how XML-Xerces works for you! HTH, jas.