[rt-users] Cannot start web interface for rt

arclight at jump.net arclight at jump.net
Fri Sep 29 00:23:49 EDT 2000


Hi,

Take a look at:

perl -e 'use CGI; print $CGI::VERSION, "\n";' 

I swore that 'require' or 'use' allowed you to specify a version 
number after the module name but I might be confusing that with 
'use 5.005;' to specify the minumum allowable perl version.

[insert sound of me rummaging through my perl books here]

Ha! I knew it! p305 of Programming Perl (3d edition) explains it all. 
The above code snippet returns 2.46 on my machine; let's see 
what happens when I change the code to:

perl -e 'use CGI 2.48; print $CGI::VERSION, "\n";'

I get:

CGI version 2.48 required--this is only version 2.46 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

t might also be helpful if the installation scripts check that 
$CGI::VERSION is greater than some tested minimum version 
(2.32?) and spoot out the appropriate warning.

Sorry for not including a patch; it should be Yet Another 5 Minute 
Fix That I Can Never Find 5 Minutes For (having been there 
myself). When I get back to the office next week I'll try to 
contribute something more useful along these lines.

hth,

-- Bob

On 28 Sep 00, at 13:29, Ralph Angenendt wrote:

> Samulat, Peter wrote:
> 
> > Now I get the next error in the apache errorlog:
> > 
> > Undefined subroutine CGI::Vars  (...) /opt/rt/bin/cgi/webrt.cgi
> 
> It's in the <http://www.fsck.com/projects/rt/docs/FAQ.html>,
> Question 2.6 - your CGI.pm is out of date.
> 
> Ralph
> -- 
> ______________________________________________________________________
> ____ Ralph Angenendt       | "Military justice is to justice what
> military http://www.letras.de  |  music is to music" ra at letras.de     
>     |                -- Groucho Marx
> 






More information about the rt-users mailing list