无法安装简单图形



我尝试使用以下命令安装简单编码:

chicken-install simple-graphics

但是,在运行和安装文件一段时间后,它以以下错误结束:

....
....
 sdl-base located at /tmp/temp95d8.5948/sdl-base
checking platform for `sdl-base' ...
checking dependencies for `sdl-base' ...
checking platform for `clojurian' ...
checking dependencies for `clojurian' ...
checking platform for `cairo' ...
checking dependencies for `cairo' ...
install order:
("cairo"
 "clojurian"
 "sdl-base"
 "matchable"
 "doodle"
 "setup-helper"
 "foreigners"
 "stty"
 "srfi-71"
 "miscmacros"
 "parley"
 "simple-graphics")
installing cairo:0.1.16 ...
changing current directory to /tmp/temp95d8.5948/cairo
  '/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '("cairo" "0.1.16"))" 'cairo.setup'
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Error: (string-parse-start+end) bad argument type - not a string: #!eof

Error: shell command terminated with nonzero exit code
17920
"'/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import...

我正在使用Debian稳定Linux。

我检查了有关'cairo'的检查,并且安装了以下包装:

libcairo-perl           1.106-1build1   1.106-1build1   1.106-1build1   install
libpango-perl           1.227-1         1.227-1         1.227-1         install
poppler-utils           0.41.0-0ubuntu1.1       0.41.0-0ubuntu1.1       0.41.0-0ubuntu1.1       install
python-cairo            1.8.8-2         1.8.8-2         1.8.8-2         install
python-gi-cairo         3.20.0-0ubuntu1 3.20.0-0ubuntu1 3.20.0-0ubuntu1 install
python-scour            0.32-1          0.32-1          0.32-1          install
python3-cairo           1.10.0+dfsg-5build1     1.10.0+dfsg-5build1     1.10.0+dfsg-5build1     install
python3-gi-cairo        3.20.0-0ubuntu1 3.20.0-0ubuntu1 3.20.0-0ubuntu1 install

我尝试安装libcairo2,但我得到以下消息:

libcairo2 is already the newest version (1.14.6-1).

问题在哪里?如何解决?

编辑:

我安装了libcairo2-dev,然后进一步运行。但是,现在它以以下错误终止:

...
...
installing sdl-base:0.1 ...
changing current directory to /tmp/tempeeb8.15805/sdl-base
  '/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '("sdl-base" "0.1"))" 'sdl-base.setup'
sh: 1: sdl-config: not found
Error: (string-split) bad argument type - not a string: #!eof

Error: shell command terminated with nonzero exit code
17920
"'/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import...

我尝试安装SDL键,但没有成功:

$ sudo chicken-install sdl-base
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=sdl-base&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Tue, 14 Mar 2017 17:40:11 GMT
Server: Apache/2.2.31 (Unix) DAV/2 PHP/5.5.36 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ....
reading files ...
  ./sdl-base.meta
  ./heap.scm
  ./keysym.scm
  ./timer.scm
  ./sdl-base-foreign-types-include.scm
  ./sdl-base.scm
  ./sdl-base.setup
  ./test-heap.scm
 sdl-base located at /tmp/tempf3a9.15940/sdl-base
checking platform for `sdl-base' ...
checking dependencies for `sdl-base' ...
install order:
("sdl-base")
installing sdl-base:0.1 ...
changing current directory to /tmp/tempf3a9.15940/sdl-base
  '/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '("sdl-base" "0.1"))" 'sdl-base.setup'
sh: 1: sdl-config: not found
Error: (string-split) bad argument type - not a string: #!eof

Error: shell command terminated with nonzero exit code
17920
"'/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import...

您需要安装包含标头文件和pkg-config信息的libcairo-dev软件包。鸡安装需要编译开罗鸡蛋,并将其与Libcairo联系起来。您遇到的错误是因为pkg-config --cflags cairo返回错误。

最新更新