LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: axlrose

独立的飞信客户端linux fetion ebuild文件

[复制链接]
发表于 2008-5-8 19:37:15 | 显示全部楼层
axlrose:
我已经用上一段时间了,把你的ebuild改了一下,主要是格式的问题。
linux-fetion的界面不好看,功能上也还有很大的改进空间。
我自己有编译qt4.3,因为有用skype。
可惜linux-fetion只提供libfetion.a,没有提供源代码。
晚上回去就加到gentoo-china中去。
回复 支持 反对

使用道具 举报

发表于 2008-5-9 09:56:22 | 显示全部楼层
看到overlay上有了net-misc/curl什么版本,我编译不过
回复 支持 反对

使用道具 举报

发表于 2008-5-9 13:32:58 | 显示全部楼层
你是哪里编译不过?
我机子上的curl是 7.17.1
回复 支持 反对

使用道具 举报

发表于 2008-5-15 11:49:25 | 显示全部楼层
f_curl.c.text+0x7e2): undefined reference to `curl_easy_perform'
f_curl.c.text+0x831): undefined reference to `curl_easy_cleanup'
./libfetion.a(f_curl.o): In function `get_usrinfo_by_uid':
f_curl.c.text+0x8b7): undefined reference to `curl_easy_init'
f_curl.c.text+0x8d1): undefined reference to `curl_easy_setopt'
f_curl.c.text+0x8e9): undefined reference to `curl_easy_setopt'
f_curl.c.text+0x8fd): undefined reference to `curl_easy_setopt'
f_curl.c.text+0x917): undefined reference to `curl_easy_setopt'
f_curl.c.text+0x94a): undefined reference to `curl_easy_setopt'
./libfetion.a(f_curl.o):f_curl.c.text+0x962): more undefined references to `curl_easy_setopt' follow
./libfetion.a(f_curl.o): In function `get_usrinfo_by_uid':
f_curl.c.text+0x982): undefined reference to `curl_easy_perform'
f_curl.c:(.text+0x9b7): undefined reference to `curl_easy_cleanup'
collect2: ld 返回 1
make: *** [linux-fetion] 错误 1
*
* ERROR: net-misc/linux-fetion-0.1.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2494: Called die
* The specific snippet of code:
* emake || die "emake fail"
* The die message:
* emake fail
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/linux-fetion-0.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/linux-fetion-0.1.2/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/myportage/'
回复 支持 反对

使用道具 举报

发表于 2008-5-15 16:26:26 | 显示全部楼层
你的curl是什么版本?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-15 22:44:25 | 显示全部楼层
I] net-misc/curl 7.17.1
本机测试没问题

acevery 你说的格式问题指的是哪些?或者你把格式改改svn ci 吧
回复 支持 反对

使用道具 举报

发表于 2008-5-16 01:07:48 | 显示全部楼层
你对比一下gentoo-china overlay中的linux-fetion的ebuild就清楚了。

ebuild中的缩进用tab而不是空格;
还有DEPEND和RDEPEND中不能用slot。
还有,加上了一个linux-fetion.desktop的补丁。
另外,我把你scr_install中不需要的一些语句去掉了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-16 10:08:35 | 显示全部楼层
没看到文档中DEPEND or RDEPEND不能使用slot的资料,不过也很久没看文档了
qgrep qt|grep \:4 可以查到很多 以下例一个出来
app-admin/keepassx/keepassx-0.3.1.ebuildEPEND=">=x11-libs/qt-4.1:4"

ebuild中使用tab也没看到文档有说,我个人不喜欢用tab,写 c/c++时都是把tab全换成空格的
如果不影响ebuild使用的话我是不打算改的了
回复 支持 反对

使用道具 举报

发表于 2008-5-17 09:38:56 | 显示全部楼层
难道是use没 选对 我的7.17.1死活也编译不过
回复 支持 反对

使用道具 举报

发表于 2008-5-17 12:26:43 | 显示全部楼层
ebuild中是要求用tab的
如果我记得没错的话
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表