[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] CHICKEN_REPOSITORY (not working?)
From: |
Jeronimo Pellegrini |
Subject: |
[Chicken-users] CHICKEN_REPOSITORY (not working?) |
Date: |
Sun, 11 Apr 2010 02:23:57 -0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
The manual tells me that in order to not install eggs as
root I should set CHICKEN-REPOSITORY, call
chicken-install -i and then just use the new repository -
but it isn't working for me (see below). Is the manual
outdated?
Thanks,
J.
/---
$ echo $CHICKEN_REPOSITORY # OK, it isn't set...
$ export CHICKEN_REPOSITORY=~/chicken/
$ chicken-install -init
Error: (require) cannot load extension: setup-download
$ unset CHICKEN_REPOSITORY # let's try it different...
$ chicken-install -init ~/chicken/
copying required files to /home/jeronimo/chicken/ ...
cp -r /usr/local/lib/chicken/5/setup-api.so /home/jeronimo/chicken/
cp -r /usr/local/lib/chicken/5/setup-api.import.so /home/jeronimo/chicken/
cp -r /usr/local/lib/chicken/5/setup-download.so /home/jeronimo/chicken/
cp -r /usr/local/lib/chicken/5/setup-download.import.so
/home/jeronimo/chicken/
...
\---
OK, I initialzied the new repository! But chicken-install still won't use it:
/---
$ CHICKEN_REPOSITORY=~/chicken/ chicken-install test
...
installing test: ...
changing current directory to /tmp/chicken-install-2aa.tmp/test
/usr/local/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e
"(import setup-api)" -e "(extension-name-and-version '(\"test\" \"\"))"
/tmp/chicken-install-2aa.tmp/test/test.setup
/usr/local/bin/csc -feature compiling-extension -setup-mode -s -O2 -d0
test.scm -j test
Warning: global variable `test#test-group-push!' is never used
/usr/local/bin/csc -feature compiling-extension -setup-mode -s -O2 -d0
test.import.scm
rm -fr /usr/local/lib/chicken/5/test.so
cp -r test.so /usr/local/lib/chicken/5/test.so
cp: cannot create regular file `/usr/local/lib/chicken/5/test.so': Permission
denied
shell command failed with nonzero exit status 256:
cp -r test.so /usr/local/lib/chicken/5/test.so
Error: shell command terminated with nonzero exit code
17920
"/usr/local/bin/csi -bnq -setup-mode -e \"(require-library setup-api)\" -e
\"(im...
\---
- [Chicken-users] CHICKEN_REPOSITORY (not working?),
Jeronimo Pellegrini <=