From mboxrd@z Thu Jan 1 00:00:00 1970 From: John J Foerch Subject: Re: chicken scheme Date: Thu, 30 Jun 2016 17:43:21 -0400 Message-ID: <87vb0qbbeu.fsf@hecubus.retroj.net> References: <871t3ecx0f.fsf@hecubus.retroj.net> <87shvumkp0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIjkQ-00078j-7X for help-guix@gnu.org; Thu, 30 Jun 2016 17:43:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIjkL-0003Pr-7D for help-guix@gnu.org; Thu, 30 Jun 2016 17:43:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:51485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIjkL-0003Pn-0A for help-guix@gnu.org; Thu, 30 Jun 2016 17:43:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bIjkI-0000Y0-2G for help-guix@gnu.org; Thu, 30 Jun 2016 23:43:38 +0200 Received: from 152.160.144.141 ([152.160.144.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2016 23:43:38 +0200 Received: from jjfoerch by 152.160.144.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2016 23:43:38 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org ludo@gnu.org (Ludovic Courtès) writes: > Hi, > > John J Foerch skribis: > >> I ran into some problems when installing CHICKEN Scheme on my new GuixSD >> system. After installing the chicken package, 'chicken-install' failed >> because gcc was not found on the system. In the package definition for >> chicken, gcc is listed as a native-input, but from what I understand it >> should either be a regular input or a propagated-input, because CHICKEN >> uses gcc to compile scheme programs. > > Good point. Perhaps CHICKEN should keep references to the GCC toolchain > that was used to build it, or propagate it. OTOH, it can in theory use > whatever GCC that it finds in $PATH, and people using the interpreter > don’t need GCC, which would be an argument in favor of the status quo. > > Thoughts? > >> I installed gcc separately, and then a test of chicken-install produced >> this error: >> >> linux/limits.h: No such file or directory #include >> >> I was testing chicken-install with this command: >> >> $ chicken-install matchable > > Could you run: > > guix package -r gcc -i gcc-toolchain > > and try again? > > The ‘gcc-toolchain’ package provides GCC, Binutils, glibc, and a wrapper > around ‘ld’ (it makes sure every library linked against is added to the > RUNPATH.) > > Thanks for reporting the issue, > Ludo’. Hello Ludovic, 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... -- John Foerch