Today I found fcgi.tcl 0.4 didn't work with my tcl8.4.6.
The error message was:
Z-moltke(3:pts/3)% /var/www/cgi-bin/echo-cgi.fcg
invalid command name "gets"
while executing
"gets $f"
(procedure "auto_load_index" line 23)
invoked from within
"auto_load_index"
(procedure "auto_import" line 13)
invoked from within
"namespace import -force fcgi::gets"
(file "/opt/tcl/lib/Fcgi04/fcgi.tcl" line 1041)
invoked from within
"source /opt/tcl/lib/Fcgi04/fcgi.tcl"
("package ifneeded" script)
invoked from within
"package require Fcgi"
(file "/var/www/cgi-bin/echo-cgi.fcg" line 9)
I don't know exact reason, but this patch worked for me.
Any comments are welcome.
To provide fallback alias for gets/read/... until import completes.