Perl module detection at installation (Text::Quoted)

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.

This requirement’s been updated to 1.10 in the repo so there is no
need in a fix, but anyway in this case ‘1.03’ should work.On 2/16/07, Raphael Berlamont Raphael.berlamont@raphux.com wrote:

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.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

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) :

That’s a bug. But a harmless one. It’s safe to ignore. We’ll work on a
proper fix.