[gambit-list] Scheme include path error

Marc Feeley feeley at iro.umontreal.ca
Thu Jun 15 15:37:52 EDT 2006


Alternatively, if you have installed Gambit properly ("make  
install"), then you could do:

(include "~~/lib/header.scm")

Marc

On 15-Jun-06, at 3:06 PM, Urban Hafner wrote:

>
>
> On 6/15/06, Stephane Le Cornec <coleste at videotron.ca> wrote: Last  
> login: Thu Jun 15 14:42:22 on ttyp1
> Welcome to Darwin!
> [modemcable202:~] stephane% cd /Users/stephane/dev/gambc40b17/lib/
> [modemcable202:~/dev/gambc40b17/lib] stephane% ls h*
> header.scm
> [modemcable202:~/dev/gambc40b17/lib] stephane% cat ~/test.scm
> (include "header.scm")
> [modemcable202:~/dev/gambc40b17/lib] stephane% gsc -flat ~/test.scm
> *** ERROR -- Can't find file "/Users/stephane/dev/gambc40b17/lib/ 
> header.scm"
> [modemcable202:~/dev/gambc40b17/lib] stephane%
>
> Seems like gsc searches in the directory where test.scm is for a  
> header.scm file. If you move test.scm into ~/dev/gambc40b17/lib the  
> compilation works.
>
>
> Urban
> -- 
> http://bettong.net
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> http://mailman.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list