Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange problem --> ssh Vs math package

Status
Not open for further replies.

RajVerma

Programmer
Jun 11, 2003
62
DE
hi,

I have a tk script that uses a math package. I run it using the command "wish myscript.tk" in my linux system at home. It works fine. I run the same script using the same command in the linux system at my univ lab. It also works fine there.

today I tried to work at home by connecting to my lab with an ssh that also has X11 windowing forward enabled. Now I tried to run the same tk script with the same command through the ssh at the univ system from my home. It gives the following error:

Error in startup script: can't find package math
while executing
"package require math"
(file "fg23.tk" line 183)
Exit 1

I wonder what causes this problem, b'cos none of the compilers have a problem when the script is run directly on the system. then why is this error when I run it using ssh??

thanx in adv,
Raj.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top