david135 / ypsilon

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

Inconsistent creation of $HOME/.ypsilon #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, the directory of $HOME/.ypsilon is currently created when "make all" is 
called. This produces a problem when the package is being built 
automatically on a machine with a non-writeable /home. I think that there 
should minimally be a test such that make all won't error out if /home is 
writeable.[0]

More directly, I think this is a bug. As far as I can tell, 
heap/boot/interaction.scm is what uses $HOME/.ypsilon for the auto-compile-
cache function. Thus, this is used when ypsilon is called, not when it's 
being compiled. Therefore, I think that the ypsilon binary itself should 
test if $HOME/.ypsilon exists on run and then create it if it doesn't.

Regards,
Daniel

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537308

Original issue reported on code.google.com by dmoer...@gmail.com on 16 Jul 2009 at 10:58

GoogleCodeExporter commented 9 years ago
For what it's worth, FreeBSD port removes $(HOME)/.ypsilon creation
from the Makefile before running make, as it does not make much sense
when all the installation is happening under root account.

Original comment by vmage...@gmail.com on 18 Jul 2009 at 7:20

GoogleCodeExporter commented 9 years ago
Thank you for your messages.
I understand that creating $HOME/.ypsilon in Makefile is a bad idea.
I will fix it. :)
-- fujtia

Original comment by y.fujita...@gmail.com on 19 Jul 2009 at 2:58