SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

Error pointing sitelib to hidden directory #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ypsilon sitelib=~/.r6rs
--------------------------------------------
** ERROR in environment variable 'YPSILON_SITELIB': directory "$HOME/.r6rs" not 
exist

error in load: "sitelib=/home/jonsul/.r6rs" not found
--------------------------------------------
I like having a hidden file in my home to hold my r6rs libraries, but it comes 
with an error when I want to use .r6rs. I'm using Ubuntu 10.04.

By the way, love ypsilon! Hope development starts up again.

Original issue reported on code.google.com by jonsul...@gmail.com on 22 Sep 2010 at 12:52

GoogleCodeExporter commented 8 years ago
Although I'm not sure what you mean by "hidden",
in general you should have prefix '--' leading 'sitelib'.
Without /home/foo/.r6rs;

$ ypsilon sitelib=~/.r6rs

error in load: "sitelib=/home/foo/.r6rs" not found

$ ypsilon --sitelib=~/.r6rs
** ERROR in option '--sitelib=~/.r6rs': directory "~/.r6rs" not exist

And my guess is that the message
> ** ERROR in environment variable 'YPSILON_SITELIB': directory "$HOME/.r6rs" 
not exist
seems to show that it does not substitute $HOME with /home/jonsul.
How about just setting YPSILON_SITELIB=/home/jonsul/.r6rs ?

Original comment by tabe.fix...@gmail.com on 22 Sep 2010 at 1:36

GoogleCodeExporter commented 8 years ago
I might have pasted it wrong, but the bug is real cause I get the same error 
with my /etc/environment too. But knowing me I probably screwed it up lol^^

#
#
Nope, just tried it. Here's actual input and output:

$ ypsilon --sitelib=~/.r6rs
** ERROR in environment variable 'YPSILON_SITELIB': directory "$HOME/.r6rs" not 
exist

Original comment by Iris.bl...@gmail.com on 26 Sep 2010 at 6:25

GoogleCodeExporter commented 8 years ago
Should of added it to the above, but here's showing that the directory exists 
and is good. Do you think it could be the makeup of the directory? I just have 
a few libraries in it that I wanted to try out:

$ ~/.r6rs
bash: /home/jonsul/.r6rs: is a directory
j####l@Herpie:~$ cd ~/.r6rs
j####l@Herpie:~/.r6rs$ ls
ikarus-sdl  srfi  sweet-macros

I've been playing with different schemes and I actually like ypsilon the best. 
Tried ikarus but the thing isn't near done enough. Plus ypsilon is game 
oriented, which is what I want to use it for. How's mosh in terms of completion?

Original comment by Iris.bl...@gmail.com on 26 Sep 2010 at 6:34