[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] ncurses egg build failure
From: |
Andri Möll |
Subject: |
Re: [Chicken-users] ncurses egg build failure |
Date: |
Sun, 24 May 2009 21:47:50 +0300 |
Hello,
I encountered the same issue a few days ago.
Sjamaan from #chicken recommended upgrading to the SVN version.
If after upgrading the compilation stumbles upon a missing binding of
'err', replace (define ERR err) with (define ERR ERR_) in one of the
ncurses-egg's source files.
Andri
On Sun, 2009-05-24 at 12:38 -0600, Matt Gushee wrote:
> Hi, all--
>
> I am trying to install the current (4.0) ncurses egg on Linux (2
> different Linux boxes, one running Arch Linux, the other Slackware 12,
> both reasonably up-to-date systems), and I get the following on both
> systems:
>
> bash-3.2$ chicken-install ncurses
> retrieving ...
> connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
> requesting "/henrietta.cgi?name=ncurses" ...
> reading response ...
> HTTP/1.1 200 OK
> Date: Sun, 24 May 2009 18:34:54 GMT
> Server: Apache
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/plain
> reading chunks ...
> reading files ...
> ./ncurses.setup
> ./ncurses.scm
> ./ncurses.meta
> ncurses located at /tmp/chicken-install-3b4.tmp/ncurses
> checking dependencies for `ncurses' ...
> installing ncurses: ...
> changing current directory to /tmp/chicken-install-3b4.tmp/ncurses
> /opt/chicken/bin/csi -bnq -e "(require-library setup-api)" -e
> "(import setup-api)" -e "(extension-name-and-version '(\"ncurses\"
> \"\"))" /tmp/chicken-install-3b4.tmp/ncurses/ncurses.setup
> /opt/chicken/bin/csc -feature compiling-extension -s -O2 -d1
> ncurses.scm -L -lncurses -j ncurses
>
> Warning: re-importing already imported syntax: foreign-declare
>
> Error: cannot compute size of location for foreign type `int235'
>
> Error: shell command terminated with non-zero exit status 256:
> /opt/chicken/bin/chicken ncurses.scm -output-file ncurses.c -dynamic
> -feature chicken-compile-shared -feature compiling-extension
> -optimize-level 2 -debug-level 1 -emit-import-library ncurses
> /opt/chicken/bin/csc -feature compiling-extension -s -O2 -d0
> ncurses.import.scm
> csc: file `ncurses.import.scm' does not exist
>
> Error: shell command failed with nonzero exit status
> 16384
> "/opt/chicken/bin/csc -feature compiling-extension -s -O2 -d0
> ncurses.import.scm"
> Error: shell command terminated with nonzero exit code
> 17920
> "/opt/chicken/bin/csi -bnq -e \"(require-library setup-api)\" -e
> \"(import setup...
>
> Anybody know what's going on here? TIA for any help.
>