[gambit-list] Running gambit program

Marc Feeley feeley at iro.umontreal.ca
Tue Mar 19 13:36:36 EDT 2013


On 2013-03-19, at 1:30 PM, Steve Graham <jsgrahamus at yahoo.com> wrote:

> I think this is a link problem:
> 
> steve at steve-Satellite-L555D ~/Desktop $ which gsi
> /usr/bin/gsi
> 
> steve at steve-Satellite-L555D ~/Desktop $ ls -al /usr/bin/gsi
> -rwxrwxrwx 1 root root 45 Feb 20 13:20 /usr/bin/gsi
> 
> steve at steve-Satellite-L555D ~/Desktop $ ls -al /usr/src/gambit/gsi/gsi
> -rwxr-xr-x 1 root root 5320182 Mar 19 11:05 /usr/src/gambit/gsi/gsi
> 
> steve at steve-Satellite-L555D ~/Desktop $ cat test.scm
> (display (+ 1 2))
> (display "\n")
> (exit)
> 
> steve at steve-Satellite-L555D ~/Desktop $ /usr/src/gambit/gsi/gsi test.scm
> 3
> 
> steve at steve-Satellite-L555D ~/Desktop $ 
> 
> 
> Sorry for this.

This is just a wild guess, but perhaps the fact that /usr/bin/gsi is world writable is causing the OS to do strange things.

Can you try again after

   sudo chmod 755 /usr/bin/gsi /usr/bin/gsc

Marc




More information about the Gambit-list mailing list