> Hi stk'ers,
>
> It may be silly questions, but here they go....
>
> This is a problem with the two last versions of STk. Once compiled and
> installed, I can't run correctly a stk or stklos program.
>
> For example: hello program doesn't run when invoked like this...
>
> $ ./hello.stk
> ./hello.stk[2]" syntax error at line 2 : `;;' unexpected
>
> But it goes well when ran by : stk -f hello.stk !
>
> Other example : stk -f stetris.stk doesn't run (bus error).
>
This look very much like a problem with the #! feature of your shell
when the shell is asked to run a text file with execute permission it
will look for a #!/...... line at the begining of the file,
and then execute what is just after the #!, appending the name of the file.
You problem might be:
1) the #! line doesn't point to the right executable
2) the #! program path is too long
expecialy tcsh as a shorter path capacity than bash for instance
hopes it helps,
Marc.
--
Furrer Marc EPFL DI-LTI, 1015 Lausanne, Suisse
Marc.Furrer_at_di.epfl.ch +41 21 693 29 07 / 66 00 (Fax)
http://ltiwww.epfl.ch/~furrer
--
You are a wise man my friend.
Not yet sir. But with your help, I am learning.
-- Riker and Data, "The Measure of a Man", stardate 42523.7
--
PGP 2.6 encrypted mail are welcomed, public key on nearest server
Received on Thu Feb 16 1995 - 09:13:20 CET