[gambit-list] Running gambit program

Steve Graham jsgrahamus at yahoo.com
Tue Mar 19 13:40:13 EDT 2013


I removed gsi and gsc and did a symbolic link in /usr/bin to /usr/src/gambit/gsi/gsi and /usr/src/gambit/gsc/gsc.


Steve

----- Original Message -----

From: Marc Feeley <feeley at iro.umontreal.ca>
To: Steve Graham <jsgrahamus at yahoo.com>
Cc: Gambit List <Gambit-list at iro.umontreal.ca>
Sent: Tuesday, March 19, 2013 11:36 AM
Subject: Re: [gambit-list] Running gambit program


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