I installed RHDB2.1 from the iso on RHL 8.0. I installed the itcl-3.2.1-81 rpm. When I run rhdb-admin, nothing appears to happen. When I go through the script and run it manually, it dies and complains that it can't find a usable itcl.tcl. Now I happen to know that there is an itcl.tcl in: /usr/share/itcl3.2/itcl.tcl But I don't know the proper way to tell rhdb-admin (or any tcl program) that information. Recommendations? Thanks, Jerry [root@moe rhdb-admin]# ./rhdb-admin.tcl Error in startup script: Can't find a usable itcl.tcl in the following directories: /usr/lib/itcl3.2 /usr/bin/../lib/itcl3.2 /usr/bin/../library /usr/bin/../../library /usr/bin/../../itcl/library /usr/bin/../../../itcl/library This probably means that Itcl/Tcl weren't installed properly. If you know where the Itcl library directory was installed, you can set the environment variable ITCL_LIBRARY to point to the library directory. while executing "error $msg" (procedure "_find_init" line 43) invoked from within "_find_init" (in namespace eval "::itcl" script line 46) invoked from within "namespace eval ::itcl { proc _find_init {} { global env tcl_library variable library variable version rename _find..." invoked from within "load /usr/lib/itcl3.2/../libitcl3.2.so Itcl" ("package ifneeded" script) invoked from within "package require Itcl" (file "./rhdb-admin.tcl" line 30) [root@moe rhdb-admin]#
Have you tried what the message below recommends, i.e.:
> If you know where the Itcl library directory was installed,
> you can set the environment variable ITCL_LIBRARY to point
> to the library directory.
BTW, the Red Hat RPM does not install the itcl.tcl file at this
location, but at:
/usr/lib/itcl3.2/itcl.tcl
Where did you get this itcl RPM from?
Good luck.
Fernando
Jerry Asher wrote:
> I installed RHDB2.1 from the iso on RHL 8.0.
>
> I installed the itcl-3.2.1-81 rpm.
>
> When I run rhdb-admin, nothing appears to happen. When I go through the
> script and run it manually, it dies and complains that it can't find a
> usable itcl.tcl.
>
> Now I happen to know that there is an itcl.tcl in:
>
> /usr/share/itcl3.2/itcl.tcl
>
> But I don't know the proper way to tell rhdb-admin (or any tcl program)
> that information. Recommendations?
>
> Thanks,
>
> Jerry
>
> [root@moe rhdb-admin]# ./rhdb-admin.tcl
> Error in startup script: Can't find a usable itcl.tcl in the following
> directories:
> /usr/lib/itcl3.2 /usr/bin/../lib/itcl3.2 /usr/bin/../library
> /usr/bin/../../library /usr/bin/../../itcl/library
> /usr/bin/../../../itcl/library
> This probably means that Itcl/Tcl weren't installed properly.
> If you know where the Itcl library directory was installed,
> you can set the environment variable ITCL_LIBRARY to point
> to the library directory.
>
> while executing
> "error $msg"
> (procedure "_find_init" line 43)
> invoked from within
> "_find_init"
> (in namespace eval "::itcl" script line 46)
> invoked from within
> "namespace eval ::itcl {
> proc _find_init {} {
> global env tcl_library
> variable library
> variable version
> rename _find..."
> invoked from within
> "load /usr/lib/itcl3.2/../libitcl3.2.so Itcl"
> ("package ifneeded" script)
> invoked from within
> "package require Itcl"
> (file "./rhdb-admin.tcl" line 30)
> [root@moe rhdb-admin]#
>
>
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
> Have you tried what the message below recommends, i.e.: > > > If you know where the Itcl library directory was installed, > > you can set the environment variable ITCL_LIBRARY to point > > to the library directory. Yes, but that didn't seem to help (but I wasn't sure what to set ITCL_LIBRARY too). And (I say this dumbly) since I installed from an RPM, I didn't understand the message -- itcl was installed incorrectly? I also tried setting auto_path, but no joy. > BTW, the Red Hat RPM does not install the itcl.tcl file at this > location, but at: > > /usr/lib/itcl3.2/itcl.tcl > > Where did you get this itcl RPM from? I found my rpm on rpmfind -- it's the "rawhide i386 rpm" http://www.rpmfind.net//linux/RPM/rawhide/1.0/i386/RedHat/RPMS/itcl-3.2.1-81.i386.html So where can I find the RedHat rpm for 8.0? Thanks, Jerry > > Good luck. > > Fernando > > Jerry Asher wrote: >> I installed RHDB2.1 from the iso on RHL 8.0. >> >> I installed the itcl-3.2.1-81 rpm. >> >> When I run rhdb-admin, nothing appears to happen. When I go through >> the script and run it manually, it dies and complains that it can't >> find a usable itcl.tcl. >> >> Now I happen to know that there is an itcl.tcl in: >> >> /usr/share/itcl3.2/itcl.tcl >> >> But I don't know the proper way to tell rhdb-admin (or any tcl >> program) that information. Recommendations? >> >> Thanks, >> >> Jerry >> >> [root@moe rhdb-admin]# ./rhdb-admin.tcl >> Error in startup script: Can't find a usable itcl.tcl in the following >> directories: >> /usr/lib/itcl3.2 /usr/bin/../lib/itcl3.2 /usr/bin/../library >> /usr/bin/../../library /usr/bin/../../itcl/library >> /usr/bin/../../../itcl/library >> This probably means that Itcl/Tcl weren't installed properly. >> If you know where the Itcl library directory was installed, >> you can set the environment variable ITCL_LIBRARY to point >> to the library directory. >> >> while executing >> "error $msg" >> (procedure "_find_init" line 43) >> invoked from within >> "_find_init" >> (in namespace eval "::itcl" script line 46) >> invoked from within >> "namespace eval ::itcl { >> proc _find_init {} { >> global env tcl_library >> variable library >> variable version >> rename _find..." >> invoked from within >> "load /usr/lib/itcl3.2/../libitcl3.2.so Itcl" >> ("package ifneeded" script) >> invoked from within >> "package require Itcl" >> (file "./rhdb-admin.tcl" line 30) >> [root@moe rhdb-admin]# >> >> > > > -- > Fernando Nasser > Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 > Yonge Street, Suite #300 > Toronto, Ontario M4P 2C9
> BTW, the Red Hat RPM does not install the itcl.tcl file at this
> location, but at:
>
> /usr/lib/itcl3.2/itcl.tcl
>
> Where did you get this itcl RPM from?
>
> Good luck.
>
> Fernando
Thanks for this information and asking this question -- I went back to
redhat and got the 8.0 (and not the rawhide) rpm -- installed and I am in.
Thanks,
Jerry
Jerry Asher wrote:
>
> Thanks for this information and asking this question -- I went back to
> redhat and got the 8.0 (and not the rawhide) rpm -- installed and I am in.
>
Glad to hear that.
Best regards,
Fernando
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9