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.
I would like to understand what went wrong. Previously you said that you built Gambit in a conventional way:
On 2013-03-19, at 1:18 PM, Steve Graham jsgrahamus@yahoo.com wrote:
Sorry, got ahead of myself. Went ahead and executed the following:
git clone https://github.com/feeley/gambit.git
(Downloaded it to my home directory and moved it to /usr/src)
cd gambit sudo ./configure --enable-single-host sudo make bootstrap sudo make bootclean sudo make sudo make check sudo make install
However, you later said that gsi was in /usr/bin/gsi . This is very strange because building Gambit conventionally will install gsi in /usr/local/Gambit-C/bin/gsi , so how come it ended up in /usr/bin/gsi? And why did it not run properly? I know you fixed your problem, but it would be worthwhile spending some time to understand what the problem is so that I can fix the makefiles if they are at fault, for the benefit of others.
Marc