QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5721|回复: 8

eva-svn42 在debian make出错

[复制链接]
发表于 2009-7-25 21:05:42 | 显示全部楼层 |阅读模式
源代码是从ubuntu源里下的。

先说说自己编译的原因吧:
    eva每次启动时都会在$HOME新建一个Downloads目录,但是我的家目录下有一个Documents,每次想进入Documents都得敲两个字母,所以想改一下代码。

下面是一个宏定义:
#define DEFAULT_DOWNLOAD_DIR "Downloads"

大概在svn79版的src/api/evasetting.cpp 76行左右:
m_DownloadDir = home + "/" + DEFAULT_DOWNLOAD_DIR;
改成下面那样:
m_DownloadDir = home + "/.eva/" + DEFAULT_DOWNLOAD_DIR;
configure后make在最后一步出错,下面是所有make的信息:
--------------------------------------------------------------------------------------------
make  all-recursive
make[1]: Entering directory `/root/eva-0.4.921+svn42'
Making all in doc
make[2]: Entering directory `/root/eva-0.4.921+svn42/doc'
Making all in .
make[3]: Entering directory `/root/eva-0.4.921+svn42/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/eva-0.4.921+svn42/doc'
Making all in en
make[3]: Entering directory `/root/eva-0.4.921+svn42/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/eva-0.4.921+svn42/doc/en'
make[2]: Leaving directory `/root/eva-0.4.921+svn42/doc'
Making all in po
make[2]: Entering directory `/root/eva-0.4.921+svn42/po'
Making all in .
make[3]: Entering directory `/root/eva-0.4.921+svn42/po'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/eva-0.4.921+svn42/po'
Making all in zh_CN
make[3]: Entering directory `/root/eva-0.4.921+svn42/po/zh_CN'
rm -f eva.gmo; : -o eva.gmo ./eva.po
test ! -f eva.gmo || touch eva.gmo
make[3]: Leaving directory `/root/eva-0.4.921+svn42/po/zh_CN'
Making all in zh_TW
make[3]: Entering directory `/root/eva-0.4.921+svn42/po/zh_TW'
rm -f eva.gmo; : -o eva.gmo ./eva.po
test ! -f eva.gmo || touch eva.gmo
make[3]: Leaving directory `/root/eva-0.4.921+svn42/po/zh_TW'
make[2]: Leaving directory `/root/eva-0.4.921+svn42/po'
Making all in src
make[2]: Entering directory `/root/eva-0.4.921+svn42/src'
Making all in ui
make[3]: Entering directory `/root/eva-0.4.921+svn42/src/ui'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/eva-0.4.921+svn42/src/ui'
Making all in libeva
make[3]: Entering directory `/root/eva-0.4.921+svn42/src/libeva'
Making all in libcustompic
make[4]: Entering directory `/root/eva-0.4.921+svn42/src/libeva/libcustompic'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/eva-0.4.921+svn42/src/libeva/libcustompic'
Making all in libuh
make[4]: Entering directory `/root/eva-0.4.921+svn42/src/libeva/libuh'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/eva-0.4.921+svn42/src/libeva/libuh'
Making all in libft
make[4]: Entering directory `/root/eva-0.4.921+svn42/src/libeva/libft'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/eva-0.4.921+svn42/src/libeva/libft'
make[4]: Entering directory `/root/eva-0.4.921+svn42/src/libeva'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/eva-0.4.921+svn42/src/libeva'
make[3]: Leaving directory `/root/eva-0.4.921+svn42/src/libeva'
Making all in api
make[3]: Entering directory `/root/eva-0.4.921+svn42/src/api'
Making all in filetrans
make[4]: Entering directory `/root/eva-0.4.921+svn42/src/api/filetrans'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/eva-0.4.921+svn42/src/api/filetrans'
make[4]: Entering directory `/root/eva-0.4.921+svn42/src/api'
/usr/bin/dcopidl ./evadcopcontacts.h > evadcopcontacts.kidl || ( rm -f evadcopcontacts.kidl ; false )
In line 114 : syntax error, unexpected T_INCLUDE, expecting T_LEFT_CURLY_BRACKET or T_COMMA
make[4]: *** [evadcopcontacts.kidl] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
make[4]: Leaving directory `/root/eva-0.4.921+svn42/src/api'
make[3]: Leaving directory `/root/eva-0.4.921+svn42/src/api'
make[2]: Leaving directory `/root/eva-0.4.921+svn42/src'
make[1]: Leaving directory `/root/eva-0.4.921+svn42'
----------------------------------------------------------------------------------------------

出错信息在最后几行。但是我找不到相应的T_INCLUDE,不知道是什么原因。请问一下这个问题怎么解决?

或者可不可以请yunfan把上面提到的Downloads位置改一下?事实上我每次启动eva后把Downloads删掉也不影响使用,而且整个代码中也只有src/api/evasetting.cpp中出现过DEFAULT_DOWNLOAD_DIR这个宏。

谢谢。
 楼主| 发表于 2009-7-27 21:59:46 | 显示全部楼层
错误以解决。可能是当时改的时候可能手误改了什么地方。我重新解压代码然后再改了就好了。我把src/api/evasetting.cpp里的关于建立Downloads的目录几条语句删掉,还有把configure里的-lXss选项删掉,也不影响编译。

编译成功了之后界面是英文的,我以为是系统locale的问题,把locale改成zh_CN再编译一遍也一样;看了configure --help没有找到关于locale的选项;google到说要装一个kde的汉化包,但是我记得原来从ubuntu源里装ubuntu的deb包时也没有装kde的汉化包,但是界面是中文的,请问是要在编译的时候要注意些什么问题?谢谢。
回复

使用道具 举报

发表于 2009-7-28 09:53:52 | 显示全部楼层
你locale是中文的,但是显示英文,也许是权限的问题,但不确定。 你试试看了。没在ubuntu下试过编译安装
回复

使用道具 举报

发表于 2009-7-28 09:56:25 | 显示全部楼层
顺便感慨一下,好久没在公社回帖了,现在还有朋友在用Eva,我以为大家都用腾讯的了,感谢支持过 Eva的朋友!

但毕竟,Eva 已经是过去式了,唉。
回复

使用道具 举报

 楼主| 发表于 2009-7-28 12:28:49 | 显示全部楼层
原帖由 yunfan 于 2009-7-28 09:53 发表
你locale是中文的,但是显示英文,也许是权限的问题,但不确定。 你试试看了。没在ubuntu下试过编译安装


权限问题?你是指eva的权限还是locale的权限?不太明白……其实中英文都无所谓,能用就行,只是想知道为什么会出现这种情况而已,看来只有去问ubuntu源的deb打包者了
回复

使用道具 举报

 楼主| 发表于 2009-7-28 12:32:41 | 显示全部楼层
原帖由 yunfan 于 2009-7-28 09:56 发表
顺便感慨一下,好久没在公社回帖了,现在还有朋友在用Eva,我以为大家都用腾讯的了,感谢支持过 Eva的朋友!

但毕竟,Eva 已经是过去式了,唉。


我感觉eva比tx的原版qq好用,至少目前是。eva挺好的啊,为啥要放弃呢?前两年fcitx也说是过去式,但现在不还是现在进行时么。我倒希望eva会是现在将来进行时,呵呵
回复

使用道具 举报

发表于 2009-9-10 15:03:51 | 显示全部楼层

顶该帖

一直都在用eva,还想读代码改进它呢,Ubuntu源里永远都不会有官方版本的!
回复

使用道具 举报

whistler_wmz 该用户已被删除
发表于 2009-9-10 16:22:50 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2011-6-2 11:58:15 | 显示全部楼层
什么情况?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-20 22:07 , Processed in 0.068663 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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