Re: query regarding perl module installation in local directory



On Jul 28, 10:08 pm, contactvi...@xxxxxxxxx wrote:
I am a beginner in perl. I have been trying to install perl modules
XML::RegExp in my local directory. I followed a lot of literature on
the web. I used the sequence given by all of them: 1. Download and
untar and unzip the module 2. cd to the directory /home/daitav/xml/
temp/XML-RegExp-0.03 3. perl Makefile.PL PREFIX=/home/daitav/xml/temp
With this I tried LIB=/home/daitav/xml/temp once and INSTALLDIRS=/temp
options at different time. 4. make 5. make test 6. make install. When
I executed the last command I am always getting an error that I am
unable to write to the the place where actual perl libraries are
sitting and this does not point to my local directory(I donot recall
the path but these were what I found to be present in the @INC
variable). I tried finding out installation directory after using
PREFIX=/home/daitav/xml/temp. I got an 'undefined' for the
installuserbindirs. If I use the INSTALLDIR cmd line option then I get
make error that pure_temp_install rule was not found by pure_install
which is called in Makemaker.pm. I am unable to figure out where I am
going wrong or what I doing incorrect? Could you please let me know
what is the mistake I have committed? I am in an urgent need to use
this. Looking forward to your early responses, Thanks, Viswa.

#!/usrbin/perl
use lib '/path/to/user/modules';
use XML::RegExp;

.



Relevant Pages

  • Re: FC3 2.6.10 Install Without Floppy or NIC
    ... If I disable ACPI, my NIC stops functioning; ... > If I install FC3, I will have to disable ACPI to get it to complete the ... If you mount the CD and change to the directory with the kernel ... you could add a local directory to the ...
    (Fedora)
  • Re: PERL5LIB variable does not work as expected
    ... installed in a local directory, i.e. not the same directory as the rest ... get Perl to search on the correct path, ... PERL5LIB in your environment rather than the lib pragma in your script ... I did install GMP, ...
    (comp.lang.perl.misc)
  • Re: What do I do with the downloaded SuSE 9.0 Files?
    ... > and was able to burn a boot CD from the Boot folder. ... Install over FTP from a public mirror. ... Install from a local directory. ... Put the software on the spare disk in a fat32 partition. ...
    (alt.os.linux.suse)
  • RE: [SLE] YAST install from local directory no longer works
    ... YAST install from local directory no longer works ... Setup an ftp server locally and use it as a ftp install source... ... Yast won't go any further. ... If I disable the local directory install source, ...
    (SuSE)
  • query regarding perl module installation in local directory
    ... I am a beginner in perl. ... I have been trying to install perl modules ... XML::RegExp in my local directory. ... I followed a lot of literature on ...
    (comp.lang.perl.misc)