[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] svn head - buid problem on debian
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-users] svn head - buid problem on debian |
Date: |
Tue, 09 Dec 2008 10:40:05 -0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hi Jörg.
On Tue, 09 Dec 2008 12:54:42 +0100 Jörg "F. Wittenberger" <address@hidden>
wrote:
> my standard debian build method fails like this:
>
> /home/jfw/build/Scheme/chicken/debian/tmp/usr/bin/chicken-install
> -update-db
> generating database
>
> cp -r /tmp/setup-15c.tmp/modules.db /var/lib/chicken/3/modules.db
> cp: cannot create regular file `/var/lib/chicken/3/modules.db':
> Permission denied
> Error: shell invocation failed with non-zero return status
> "cp -r /tmp/setup-15c.tmp/modules.db /var/lib/chicken/3/modules.db"
> 256
>
> I'd fix it, if I knew how this should be done.
I'd guess you have no permission to write in /var/lib.
> But a) I can't find the "cp -r" command (about which I doubt the -r is
> required, but it won't hurt). Worse is b: which Makefile variable is
> the prefix I should use and how do I pass it to chicken-install?
>From chicken-install.scm I see:
a)
(define (init-repository dir)
(let ((src (repository-path))
(copy (if (or (feature? 'mingw32) (feature? 'msvc))
"copy"
"cp -r")))
...
b)
(define *program-path*
(or (and-let* ((p (getenv "CHICKEN_PREFIX")))
(make-pathname p "bin") )
(foreign-value "C_INSTALL_BIN_HOME" c-string) ) )
Hope it helps.
Best wishes.
Mario