[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] install-program as non root
From: |
Scott Tincman |
Subject: |
Re: [Chicken-users] install-program as non root |
Date: |
Sat, 20 Oct 2012 15:38:10 -0400 |
Hey Razvan,
I think the problem is that install-program needs .so's that under /usr (and
after setting CHICKEN_REPOSITORY, they are no longer in the searched paths).
Doing 'chicken-install -i /path/to/user/owned/dir' should make the directory
and copy the necessary files (but, I think you need to this _before_ setting
CHICKEN_REPOSITORY)
If you're doing a local, non-root location for egg installation, also look
into CHICKEN_INSTALL_PREFIX (for when the egg installs binaries) and
CHICKEN_DOC_REPOSITORY (which needs to be initiated, but I think that's in the
wiki)
For example, my .zshrc has
export CHICKEN_INSTALL_PREFIX=${HOME}/.local/
export CHICKEN_REPOSITORY=${CHICKEN_INSTALL_PREFIX}/lib/chicken/6/
export CHICKEN_DOC_REPOSITORY=${HOME}/.local/share/chicken/doc/
Hope this helps (it's been a while since I had to set this up).
tincman
On Sat, 20 Oct 2012 11:00:17 +0300
Răzvan Rotaru <address@hidden> wrote:
> Hi,
>
> I have chicken 4.7.0 installed with apt-get on Ubuntu, and have problems
> running chicken-install for some eggs as non root user. It fails when the
> setup calls install-program, which basically means there are files to be
> copied in /usr/bin.
>
> Is there any way to tell install-program to put the binaries somewhere else
> (like an environment variable similar to CHICKEN_REPOSITORY).
>
> Thanks,
> Razvan