med2ris problem

Bruce Hayward <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
I'm using refdb-0.9.6 on FreeBSD5.4
I've just tried, as I do every week, to add new PubMed references to my
database. Here is the output:

 110 >med2ris pubmed_260206.xml > pubmed_260206.ris
Can't locate XML/Parser.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.
8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 /u
sr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5
.8.8 .) at /usr/local/bin/med2ris line 57.
BEGIN failed--compilation aborted at /usr/local/bin/med2ris line 57.

So I then upgraded all the p5 modules that cvsup was complaining about,
which includes the XML-Parser:

p5-Digest-SHA1-2.10         <  needs updating (port has 2.11) 
p5-HTML-Parser-3.48         <  needs updating (port has 3.50) 
p5-Mail-SpamAssassin-3.1.0_5  <  needs updating (port has 3.1.0_6) 
p5-Mail-Tools-1.67          <  needs updating (port has 1.73) 
p5-Net-DNS-0.55             <  needs updating (port has 0.56) 
p5-Net-SSLeay-1.30          <  needs updating (port has 1.30_1) 
p5-XML-Parser-2.34_1        <  needs updating (port has 2.34_2) 
p5-gettext-1.03             <  needs updating (port has 1.05_1) 
p5-libwww-5.803             <  needs updating (port has 5.805) 

and then tried again:
 112 >med2ris pubmed_260206.xml > pubmed_260206.ris
Can't locate Text/Iconv.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.
8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 /u
sr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5
.8.8 .) at /usr/local/lib/perl5/site_perl/5.8.7/RefDB/Pubmed.pm line 70.
BEGIN failed--compilation aborted
at /usr/local/lib/perl5/site_perl/5.8.7/RefDB/Pubmed.pm line 70.
Compilation failed in require at /usr/local/bin/med2ris line 65.
BEGIN failed--compilation aborted at /usr/local/bin/med2ris line 65.


Ferreting about in /usr/local/lib/perl5/ I find these directories:

5.8.5     5.8.6     5.8.7     5.8.8     site_perl

mme-pc2132# cd site_perl/
mme-pc2132# ls -R | grep Iconv
Iconv.pm
Iconv
./5.8.7/mach/auto/Text/Iconv:
Iconv.bs
Iconv.so

Which includes:
site_perl/5.8.7/mach/Text/Iconv.pm

What is the magic incantation to get this working again? Shouldn't
@INC /usr/local/lib/perl5/site_perl/5.8.7 have found it?
Bruce Hayward







-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.