[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] How to install eggs in $HOME?
From: |
Oleg Kolosov |
Subject: |
Re: [Chicken-users] How to install eggs in $HOME? |
Date: |
Sun, 15 Jun 2014 14:51:50 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 06/15/14 13:28, Manfred Lotz wrote:
> Hi there,
> I was playing a bit with Chicken Scheme and was unable to install an
> egg.
>
> chicken is installed as rpm package chicken in fedora 20.
>
> Now when doing, e.g.
> chicken-install numbers
> I get a permission denied:
> cp: cannot create regular file ‘/usr/lib64/chicken/6/numbers.so’:
> Permission denied
>
>
> I could run chicken-install with sudo but I do want to have only stuff
> in /usr/lib64 which is installed by using the system's package manager.
>
> Question: Could I point chicken to a directory in $HOME where my egg
> installations could go to?
>
# exact path is irrelevant as long as you can write to it
mkdir -p $HOME/.local/lib/chicken
chicken-install -init $HOME/.local/lib/chicken
export CHICKEN_REPOSITORY=$HOME/.local/lib/chicken
chicken-install numbers
Add "export CHICKEN_REPOSITORY ..." command to .bashrc or kde env or so
to persist.
--
Regards, Oleg