* rhdb-admin can't find a usable itcl.tcl on rh 8.0
@ 2003-01-21 2:04 Jerry Asher
2003-01-21 3:51 ` Fernando Nasser
0 siblings, 1 reply; 5+ messages in thread
From: Jerry Asher @ 2003-01-21 2:04 UTC (permalink / raw)
To: rhdb
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]#
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rhdb-admin can't find a usable itcl.tcl on rh 8.0
2003-01-21 2:04 rhdb-admin can't find a usable itcl.tcl on rh 8.0 Jerry Asher
@ 2003-01-21 3:51 ` Fernando Nasser
2003-01-21 4:04 ` Jerry Asher
2003-01-21 4:34 ` rhdb-admin can't find a usable itcl.tcl on rh 8.0 - fixed! Jerry Asher
0 siblings, 2 replies; 5+ messages in thread
From: Fernando Nasser @ 2003-01-21 3:51 UTC (permalink / raw)
To: Jerry Asher; +Cc: rhdb
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rhdb-admin can't find a usable itcl.tcl on rh 8.0
2003-01-21 3:51 ` Fernando Nasser
@ 2003-01-21 4:04 ` Jerry Asher
2003-01-21 4:34 ` rhdb-admin can't find a usable itcl.tcl on rh 8.0 - fixed! Jerry Asher
1 sibling, 0 replies; 5+ messages in thread
From: Jerry Asher @ 2003-01-21 4:04 UTC (permalink / raw)
To: fnasser; +Cc: rhdb
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rhdb-admin can't find a usable itcl.tcl on rh 8.0 - fixed!
2003-01-21 3:51 ` Fernando Nasser
2003-01-21 4:04 ` Jerry Asher
@ 2003-01-21 4:34 ` Jerry Asher
2003-01-21 14:06 ` Fernando Nasser
1 sibling, 1 reply; 5+ messages in thread
From: Jerry Asher @ 2003-01-21 4:34 UTC (permalink / raw)
To: fnasser; +Cc: rhdb
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-21 14:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-21 2:04 rhdb-admin can't find a usable itcl.tcl on rh 8.0 Jerry Asher
2003-01-21 3:51 ` Fernando Nasser
2003-01-21 4:04 ` Jerry Asher
2003-01-21 4:34 ` rhdb-admin can't find a usable itcl.tcl on rh 8.0 - fixed! Jerry Asher
2003-01-21 14:06 ` Fernando Nasser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).