John J Foerch <[email protected]> skribis: > Installing gcc-toolchain helped, and there are no more compilation > errors. Another error came up in trying to install the built files. > Here is my log: > > $ chicken-install matchable > retrieving ... > connecting to host "chicken.kitten-technologies.co.uk", port 80 ... > requesting "/henrietta.cgi?name=matchable&mode=default" ... > reading response ... > HTTP/1.1 200 OK > Date: Thu, 30 Jun 2016 21:36:20 GMT > Server: Apache/2.2.29 (Unix) DAV/2 SVN/1.8.10 PHP/5.4.32 mod_fastcgi/2.4.6 > Connection: close > Transfer-Encoding: chunked > Content-Type: text/plain > reading chunks ... > reading files ... > ./match-simple.scm > ./match.scm > ./matchable-test.scm > ./matchable.meta > ./matchable.scm > ./matchable.setup > matchable located at /tmp/temp112c.2170/matchable > checking platform for `matchable' ... > checking dependencies for `matchable' ... > install order: > ("matchable") > installing matchable:3.6 ... > changing current directory to /tmp/temp112c.2170/matchable > '/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/bin/csi' -bnq > -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e > "(setup-error-handling)" -e "(extension-name-and-version '(\"matchable\" > \"3.6\"))" 'matchable.setup' > '/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/bin/csc' > -feature compiling-extension -setup-mode -s -O3 -d0 matchable.scm -j > matchable > '/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/bin/csc' > -feature compiling-extension -setup-mode -s -O3 -d0 matchable.import.scm > cp -r 'matchable.so' > '/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/var/lib/chicken/8/matchable.so' > cp: cannot create regular file > ‘/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/var/lib/chicken/8/matchable.so’: > Read-only file system > > Error: shell command failed with nonzero exit status 256: > > cp -r 'matchable.so' > '/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/var/lib/chicken/8/matchable.so' > > > Error: shell command terminated with nonzero exit code > 17920 > "'/gnu/store/avfhy6zgqmxgbvjrava16qyh60y6xwzv-chicken-4.11.0/bin/csi' -bnq > -setu...
I think we need to build CHICKEN such that it uses /var/lib instead of /gnu/store/…-chicken/var/lib (the latter is immutable.) I suppose that’s how it works on other distros, right? (With this approach only root can install software, though.) Do you know how to make this change? Thanks, Ludo’.
