fedora14 编译gnustep-base 出错,求教大侠解决办法

haha123456321 2010-12-09 07:46:46
fedora14下安装gnustep,当安装到gnustep-base configure出错,如下
You do not have either ffcall or libffi installed/enabled, or configure needs
--with-ffi-include and/or --with-ffi-library flags so GNUstep can find them,
or you have ffcall but gnustep-make is configured to use native exceptions
(native exceptions are not compatible with ffcall).
GNUstep requires libffi (or ffcall) and proper libobjc hooks to do
invocations and DO.
(This does not apply on apple-apple-apple systems where DO is
not compatible with other GNUstep systems.)

You most likely do not want to build base without invocation support.
Many things (including Distributed Objects and undo/redo), won't work
at all without invocations.
If you really want to build -base without invocation support,
add --disable-invocations to the configure arguments.
For more information, read the GNUstep build guide, ffcall section:
http://gnustep.made-it.com/BuildGuide/index.html
configure: error: Incomplete support for ffi functionality.

求教大侠解决办法,万分感激!!!
...全文
177 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
steptodream 2010-12-09
  • 打赏
  • 举报
回复
写了半天 白费功夫
steptodream 2010-12-09
  • 打赏
  • 举报
回复
不太清除,我用yum install gnustep-base-devel然后就可以编译objective-c的程序了,没有用它到源码安装,但至今还不明白为什么。
-------------------
yum安装的软件 库文件 头文件等等的东西 都会放到系统的一些默认目录下 默认的库目录下的库文件会被系统加载
写程序的时候 或者别的程序 直接就能找到。

如果你源码安装 就会安装到你指定的目录下 在安装别的程序的时候 那些程序也一般是去默认目录下找 找不到就会出错 所以一般会有编译参数 来让用户你指定需要的组件安装在哪儿的

比如一个叫test的软件 你源码安装后的库文件在/usr/local/test/lib下 系统默认是不会加载这个目录下的库文件 如果要用到这个软件的库文件 你就得指定/usr/local/test/lib目录
否则你就得把/usr/local/test/lib目录加到/etc/ld.so.conf里 然后执行ldconfig 系统就会加载/usr/local/test/lib下的库文件了 下次启动系统也会加载
haha123456321 2010-12-09
  • 打赏
  • 举报
回复
不太清除,我用yum install gnustep-base-devel然后就可以编译objective-c的程序了,没有用它到源码安装,但至今还不明白为什么。谢谢各位大侠热心指点阿,还是把分给了把,以后大家还多交流哈。
steptodream 2010-12-09
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 haha123456321 的回复:]

楼上到办法都试过阿 ,不管用阿 我到ffcall 和 libffi 都已经安装 而且还是照着gnustep官方的方法安装的,都不行,不知道各位大侠是怎么安装好的阿
[/Quote]
认真看下提示哦 如果默认还找不到 你就手动用--with-ffi-include 或者 --with-ffi-library来指定他们的位置

更何况 既然出错了 你就多来一般 看看自己是不是哪一步搞错了? 看看哪一步是不是要根据自己的实际情况要有小变动? 心里不要觉得 你照着教程来就100%没问题。
freetstar 2010-12-09
  • 打赏
  • 举报
回复
没装过,人家是不是说指定你的ffcall路径,你可以手动指定试试
haha123456321 2010-12-09
  • 打赏
  • 举报
回复
楼上到办法都试过阿 ,不管用阿 我到ffcall 和 libffi 都已经安装 而且还是照着gnustep官方的方法安装的,都不行,不知道各位大侠是怎么安装好的阿
steptodream 2010-12-09
  • 打赏
  • 举报
回复
You do not have either ffcall or libffi installed/enabled, or configure needs
--with-ffi-include and/or --with-ffi-library flags so GNUstep can find them
------------------
出了错误 你首先要看错误是什么 你说为什么程序都要在出错的时候都要报相应错误? 那不就是为了说出错误所在 让用户对症下药吗? 错误也不看 那这错误都逝去意义了。

已经说的很明白了 你没有安装ffcall或者libffi 而gnustep-base依赖与他们的某一个
或者说你可能自定义安装了ffcall或者libffi 因此gnustep-base没有找到他们 这种情况你需要用--with-ffi-include and/or --with-ffi-library来指定他们的路径 这样gnustep-base才能找到他们。
freetstar 2010-12-09
  • 打赏
  • 举报
回复
http://packages.sw.be/ffcall/
这里下载个rpm包安装了看看
freetstar 2010-12-09
  • 打赏
  • 举报
回复
You do not have either ffcall or libffi installed/enabled, or configure needs
--with-ffi-include and/or --with-ffi-library flags so GNUstep can find them,
======================
你的ffcall或者libffi没有安装

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧