Re: A little package proposal question
Martin Gasbichler <[email protected]>
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
Fabian Boucsein <[email protected]> writes: > Dear scsh users, > > i installed your package library on my computer > with scsh version 0.6.6. I used the scsh layout > and the directory /usr/local/share/scsh/. > After that i put that path into the SCSH_LIB_DIRS > variable. > When i try to use an installed package as sunterlib > i get the following error message: > Error Illegal path element in SCSH_LIB_DIRS > $SCSH_LIB_DIRS: /usr/local/share/scsh/ > The following element is not a string or #f: /usr/local/share/scsh/ I guess you simply set SCSH_LIB_DIRS to /usr/local/share/scsh/ However, the manual has this: The value of this environment variable is treated as a sequence of s-expressions, which are ``read'' from the string: * A string is treated as a directory, * #f is replaced with the default list of directories. So your problem is that /usr/local/share/scsh/ is illegal as read produces not a string but a symbol (there are no quotation marks). Simply include them as in setenv SCSH_LIB_DIRS '"/usr/local/share/scsh/"' or export SCSH_LIB_DIRS='"/usr/local/share/scsh/" Note that you also have to include the scsh version in this path to use the package library, i.e. it should be something like /usr/local/share/scsh/0.6 -- Martin