[plt-scheme] find-system-path

From: Ivanyi Peter (pivanyi at freemail.hu)
Date: Wed Mar 9 06:13:18 EST 2005

> What is the error?

My mistake. The error is not during execution but installation. 
I try to do the following.

------- test.scm ----------
(module test mzscheme

(provide last-dir)

(define last-dir (find-system-path 'home-dir))
(define (pr-dir) (display last-dir)(newline)
) ; end of module
---------------------------------

------ info.ss --------
(module info (lib "infotab.ss" "setup")
  (define name "test")
  (define mred-launcher-libraries (list "test.scm"))
  (define mred-launcher-name (list "test"))
  (define requires (list (list "mred")))
)
------------------------

and I make the PLT package as:

mzc --collection-plt test.plt test

then when I install it I get the following error message during 
installation:

test.scm:6:18: compile unbound variable in module in :
|find-system-path |


Thanks for any help,

Peter Ivanyi




Posted on the users mailing list.