首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >(鸡)无法通过终端安装iup鸡蛋

(鸡)无法通过终端安装iup鸡蛋
EN

Stack Overflow用户
提问于 2016-11-12 14:24:25
回答 1查看 530关注 0票数 1

我试着用CHICKEN编译一个方案文件,它说我需要安装CHICKEN的iup端口。所以我去了网站并尝试安装iup端口,但是我得到了一个错误。然后我意识到我需要使用ffcall。我安装了它,并再次尝试安装iup端口。但失败了。我不知道我的系统上是否安装了srfi-42。即使我知道它没有安装,我仍然不知道如何安装srfi-42来使iup端口工作。

这是我得到的错误:

代码语言:javascript
复制
    ander@Ander:~/blah/chicken-4.11.0/chicken-4.11.0$ sudo chicken-install iup             
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=iup&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Sat, 12 Nov 2016 06:16:26 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 ...
  ./iup-controls.scm
  ./iup-base.scm
  ./iup-config.scm
  ./iup-glcanvas.scm
  ./iup-dialogs.scm
  ./iup-dynamic.scm
  ./iup-glcontrols.scm
  ./iup-mglplot.scm
  ./iup-ole.scm
  ./iup-plot.scm
  ./iup-pplot.scm
  ./iup-scintilla.scm
  ./iup-types.scm
  ./iup-web.scm
  ./iup.meta
  ./iup.release-info
  ./iup.scm
  ./iup.setup
 iup located at /tmp/temp5d54.6346/iup
checking platform for `iup' ...
checking dependencies for `iup' ...
install order:
("iup")
installing iup:1.8.0 ...
changing current directory to /tmp/temp5d54.6346/iup
  '/usr/local/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"iup\" \"1.8.0\"))" 'iup.setup'
  '/usr/local/bin/csc' -feature compiling-extension -setup-mode    -s -O2 -d1 iup.scm -j iup -j iup-base -j iup-controls -j iup-dialogs -j iup-glcanvas -j iup-glcontrols -j iup-plot -j iup-mglplot -j iup-pplot -j iup-scintilla -j iup-web -j iup-config -lcallback -liup -liupim -liupimglib -liupcontrols -liupmatrixex -liupgl -liupglcontrols -liup_plot -liup_mglplot -liup_pplot -liup_scintilla -liupweb
iup.c:17:16: fatal error: im.h: No such file or directory
compilation terminated.

Error: shell command terminated with non-zero exit status 256: 'gcc' 'iup.c' -o 'iup.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/usr/local/include/chicken

Error: shell command failed with nonzero exit status 256:

  '/usr/local/bin/csc' -feature compiling-extension -setup-mode    -s -O2 -d1 iup.scm -j iup -j iup-base -j iup-controls -j iup-dialogs -j iup-glcanvas -j iup-glcontrols -j iup-plot -j iup-mglplot -j iup-pplot -j iup-scintilla -j iup-web -j iup-config -lcallback -liup -liupim -liupimglib -liupcontrols -liupmatrixex -liupgl -liupglcontrols -liup_plot -liup_mglplot -liup_pplot -liup_scintilla -liupweb


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

我知道它很长,但是错误在上面的输出堆的末尾弹出。

EN

回答 1

Stack Overflow用户

发布于 2016-11-13 03:04:42

这里真正的错误是iup.c:17:16: fatal error: im.h: No such file or directory,实际上是C编译器在抱怨。

这个错误意味着您没有安装用于iup的开发包(系统头文件),或者C编译器无法找到头文件,因为它位于非标准位置。如果是后者,您可以尝试CSC_OPTIONS=-I/path/to/include chicken-install iup

不幸的是,IUP本身是众所周知的一个真正的痛苦安装,主要是因为很少有发行版有它的包。你在你的消息中没有说的是为什么你需要iup。这是不是你想安装的某种程序,它使用了鸡肉加IUP?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40560168

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档