Results 1 to 1 of 1
Hello there,
I am trying to install XML::Parser::Expat locally (i.e. not root, because I have no access) using Konsole on my Debian system at work in order to run a ...
- 04-23-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
Problem installing XML::Parser::Expat
Hello there,
I am trying to install XML::Parser::Expat locally (i.e. not root, because I have no access) using Konsole on my Debian system at work in order to run a script that somebody else wrote. I run make and use as argument the set of directories of my local perl installation:
~/localperl/bin/./perl Makefile.PL `cat ~/pmake.txt`
where "pmake.txt" contains
PREFIX=$HOME/localperl \
INSTALLPRIVLIB=$HOME/localperl/lib \
INSTALLSCRIPT=$HOME/localperl/bin \
INSTALLSITELIB=$HOME/localperl/lib/site_perl \
INSTALLBIN=$HOME/localperl/bin \
INSTALLMAN1DIR=$HOME/localperl/man/man1 \
INSTALLMAN3DIR=$HOME/localperl/man/man3
($HOME in the place of my actual home drive)
however I get the following:
Warning: prerequisite LWP 0 not found.
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
I cannot find anything on LWP 0, and when I continue running the script, I get
Can't load 'HOME/localperl/lib/site_perl/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: HOME/localperl/lib/site_perl/auto/XML/Parser/Expat/Expat.so: undefined symbol: PL_unitcheckav at /usr/lib/perl/5.10/DynaLoader.pm line 196.
at HOME/localperl/lib/site_perl/XML/Parser.pm line 14
Compilation failed in require at HOME/localperl/lib/site_perl/XML/Parser.pm line 14.
etc.
where I just replaced my home drive directory with HOME here.
My local Perl installation is 5.11 however it obviously looks in the default site of /usr/lib/perl/5.10 even though I have set my PERL5LIB environment variable to $HOME/localperl/lib/site_perl in my .bashrc file.
I hope this is clear, would there be someone so kind enough to nudge me into the right direction? I am not very experienced using Linux.
Thanks in advance,
L.


Reply With Quote
