You are not logged in.

#1 2009-03-17 20:11:52

Arcath
Member
Registered: 2008-04-08
Posts: 27

odd perl error

ive been trying to setup a program on my arch server and its thrown a rather odd problem. when it checks module versions to make sure i have what it needs and it throwa up this:

  XML::Parser (loaded 2.34, need 2.34)

now as far as i can tell i have 2.36 (not that im any expert on perl modules)

any one know a fix?

Offline

#2 2009-03-18 01:25:28

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: odd perl error

You haven't given much information. What program are you trying to run? Have you eventually installed perl modules via CPAN (e,g. perl -MCPAN install XML::Parser) instead of pacman? What method did you use to verify that you have 2.36 installed?

The usual way to check would be

$ perl -MXML::Parser -e 'print "$XML::Parser::VERSION\n"'

if it says 2.34, you might want to check if you might have multiple versions installed:

$ locate XML/Parser.pm

although that's somewhat unlikely.

You'll probably have to read the source to find out why the version checks seem to fail, check for lines containing $XML::Parser::VERSION

Maybe it's just an error in the code producing the output you posted, and the program really checks the current (probably 2.36) against 2.34. It might choose to insist on 2.34.

Offline

Board footer

Powered by FluxBB