[rt-users] Perl module detection at installation (Text::Quoted)

Raphael Berlamont Raphael.berlamont at raphux.com
Fri Feb 16 12:45:21 EST 2007


Hello list,

I'm doing a fresh install of RT3.6.3 on an updated Fedora 6. The version
of Text::Quoted is version 1.10, and it seems that make testdeps is
returning something that it shouldn't :
Text::Quoted 1.3...MISSING
        Text::Quoted version 1.3 required--this is only version 1.10 at
(eval 71) line 2.

I looked into the "sbin/rt-test-dependencies" file, and it seems that the
detection is done by perl itself within this line (l.314) :
-----8<----------
eval "use $module $version ()";
-----8<----------

Which actually returns an error :
-----8<----------
$ perl -e "use Text::Quoted 1.3 ();"
Text::Quoted version 1.3 required--this is only version 1.10 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
$
-----8<----------

I'm not a perl expert, and the only way I found to get arround this, is to
change the detected version of Text::Quoted in the file
sbin/rt-test-dependencies, replacing 1.3 by 1.10, line 182 :
-----8<---------
Text::Quoted 1.10
-----8<---------

Is there any better way do do this?

-- 
Raph.



More information about the rt-users mailing list