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@iro.umontreal.ca> To: Steve Graham <jsgrahamus@yahoo.com> Cc: Gambit List <Gambit-list@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@yahoo.com> wrote:
I think this is a link problem:
steve@steve-Satellite-L555D ~/Desktop $ which gsi /usr/bin/gsi
steve@steve-Satellite-L555D ~/Desktop $ ls -al /usr/bin/gsi -rwxrwxrwx 1 root root 45 Feb 20 13:20 /usr/bin/gsi
steve@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@steve-Satellite-L555D ~/Desktop $ cat test.scm (display (+ 1 2)) (display "\n") (exit)
steve@steve-Satellite-L555D ~/Desktop $ /usr/src/gambit/gsi/gsi test.scm 3
steve@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