[fluxus] 0.12b1 + cvs merge

Dave Griffiths dave at pawfal.org
Fri Jan 12 03:19:50 PST 2007


> Dave Griffiths wrote:
>>> $ ~/bin/fluxus-0.12
>>> standard-module-name-resolver: collection not found: "mzlib" in any of:
>>> (#<path:/home/claude/lib/plt/collects>)
>>>
>>> So I need to add "/usr/lib/drscheme/collects/" to the path somehow.
>>> Any
>>> ideas?
>>
>> I'm at work so I can't look into this too deeply right now, but, if you
>> check fluxus/modules/scheme/fluxus-boot.scm, this is where it sets up to
>> collection path for the interpreter:
>>
>> ; setup where to find the library module collections
>> (current-library-collection-paths
>> 	(path-list-string->path-list fluxus-collects-location
>> 	(current-library-collection-paths)))
>>
>> I think we can change fluxus-collects-location to a list of paths, like:
>> "/home/claude/lib/plt/collects:/usr/lib/drscheme/collects/"
>
> I tried that without success, but I managed to get Fluxus to start by
> setting:
>
>    (current-library-collection-paths
>     (path-list-string->path-list
>      (or (getenv "PLTCOLLECTS") "")
>      (or (ormap (lambda (p) (and p (directory-exists? p) (list p)))
>                 (list (let ([v (getenv "PLTHOME")]) (and v (build-path v
> "collects")))
>                       (find-executable-path "fluxus-0.12" "collects")
> ; "fluxus-0.12" above should be replaced by the name of the program...
> ; ...as entered on the command line, to avoid having to set $PATH
>                       "/usr/local/lib/plt/collects" ; Unix only
> ;                     "/boot/apps/plt/collects" ; BeOS only
> ;                    "c:\\plt\\collects" ; Windows only
> 	))
>          null)))
>
> as hinted in:
> http://www.cs.rice.edu/CS/PLT/packages/doc/mzscheme/node157.htm
>
> and setting lots of environment variables...
>
> claude at maximus ~ $ PATH="/home/claude/bin/:$PATH"
> PLTHOME="/home/claude/lib/plt/"
> PLTCOLLECTS="/home/claude/lib/plt/collects/:/usr/lib/drscheme/collects"

I *think* the changes I committed mean that this isn't strictly required
now, as we need to know this information in the SConstruct for installing
the modules anyway, so it's simpler to have it set only once and pass it
through.

Having an optional env variable is good though, and we will need that
fallthrough system.

> fluxus-0.12 ~/src/fluxus-0.12b1/examples/01-tree.scm
> Welcome to fluxus
> libGL error: open DRM failed (Operation not permitted)
> libGL error: reverting to (slow) indirect rendering
> freeglut (fluxus-0.12): Unable to create direct context rendering for
> window 'fluxus 0.12'
> This may hurt performance.
> [ editor displays fine, but hit "F5" ]
> Segmentation fault
> claude at maximus ~ $
>
>
> So, some element of success.

getting there, slowly...
what does gdb say?

cheers,

dave





More information about the Fluxus mailing list