[fluxus] 0.12b1 + cvs merge

Claude Heiland-Allen claudiusmaximus at goto10.org
Fri Jan 12 02:26:55 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" 
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.


I'm not worried about the indirect rendering, as this is on my desktop:

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP 
(rev 01)

which isn't exactly a high performance 3D card.



Claude



More information about the Fluxus mailing list