LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 723|回复: 8

如何编译googleearth

[复制链接]
发表于 2010-6-15 20:39:37 | 显示全部楼层 |阅读模式
emerge -pv googleearth

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "sci-geosciences/googleearth" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-geosciences/googleearth-5.1.3535.3218-r1 (masked by: googleearth license(s))
A copy of the 'googleearth' license is located at '/usr/portage/licenses/googleearth'.

- sci-geosciences/googleearth-5.1.3535.3218 (masked by: googleearth license(s))
- sci-geosciences/googleearth-5.1.3533.1731-r1 (masked by: googleearth license(s))
- sci-geosciences/googleearth-5.0.11733.9347 (masked by: googleearth license(s))
- sci-geosciences/googleearth-4.3.7284.3916 (masked by: googleearth license(s))
- sci-geosciences/googleearth-4.2.205.5730 (masked by: googleearth license(s))


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

第一次碰到这个问题呀?请问“masked by: googleearth license(s)”,这是如何解决的呀?
发表于 2010-6-15 20:53:20 | 显示全部楼层
$ ACCEPT_LICENSE=googleearth emerge googleearth
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-15 21:03:21 | 显示全部楼层
谢谢!

我是以此类推在文件:/etc/portage/package.license中加入:
sci-geosciences/googleearth googleearth

不过为什么这个license的名是“googleearth”,而不是类似“PUEL”?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-15 21:12:45 | 显示全部楼层
郁闷,结果是:

('Filesize does not match recorded size', 31388873, 25932414)
!!! Fetched file: GoogleEarthLinux-5.1.3535.3218.bin VERIFY FAILED!
!!! Reason: Filesize does not match recorded size                  
!!! Got:      31388873                                             
!!! Expected: 25932414                                             
Refetching... File renamed to '/usr/portage/distfiles/GoogleEarthLinux-5.1.3535.3218.bin._checksum_failure_.iiPZ1e'

!!! Couldn't download 'GoogleEarthLinux-5.1.3535.3218.bin'. Aborting.
* Fetch failed for 'sci-geosciences/googleearth-5.1.3535.3218-r1', Log file:
*  '/var/tmp/portage/sci-geosciences/googleearth-5.1.3535.3218-r1/temp/build.log'

>>> Failed to emerge sci-geosciences/googleearth-5.1.3535.3218-r1, Log file:

>>>  '/var/tmp/portage/sci-geosciences/googleearth-5.1.3535.3218-r1/temp/build.log'

* Messages for package sci-geosciences/googleearth-5.1.3535.3218-r1:

* Fetch failed for 'sci-geosciences/googleearth-5.1.3535.3218-r1', Log file:
*  '/var/tmp/portage/sci-geosciences/googleearth-5.1.3535.3218-r1/temp/build.log'

这个可以修改吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-15 21:29:51 | 显示全部楼层
好了,这个问题解决了(eix-sync后就可以了),不过出现一个新的问题,就是部分有字体,菜单中却缺少字体

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2010-6-15 22:01:28 | 显示全部楼层
Post by forrestxz;2096877
好了,这个问题解决了(eix-sync后就可以了),不过出现一个新的问题,就是部分有字体,菜单中却缺少字体


改一下googleearth的USE,大概是bundledqt(我现在没有gentoo)
回复 支持 反对

使用道具 举报

发表于 2010-6-15 22:01:36 | 显示全部楼层
Post by forrestxz;2096877
好了,这个问题解决了(eix-sync后就可以了),不过出现一个新的问题,就是部分有字体,菜单中却缺少字体


emerge安装的是5.1版本,在我这里界面死活是乱码。我的解决方案是unmerge掉5.1版本,在googleearth官网上下载5.0版本的二进制包安装,安装完后去安装目录删除掉googleearth自带的qt厍文件,让它使用系统的Qt厍即可。
sudo rm /opt/google-earth/libQt*
sudo rm /opt/google-earth/qt.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-16 11:08:07 | 显示全部楼层
好像这样做还是一样的,也就是还是没有中文。算了,我暂时还是不用了吧
回复 支持 反对

使用道具 举报

发表于 2010-6-16 21:52:38 | 显示全部楼层
Post by gzkdzzy;2096885
emerge安装的是5.1版本,在我这里界面死活是乱码。我的解决方案是unmerge掉5.1版本,在googleearth官网上下载5.0版本的二进制包安装,安装完后去安装目录删除掉googleearth自带的qt厍文件,让它使用系统的Qt厍即可。
sudo rm /opt/google-earth/libQt*
sudo rm /opt/google-earth/qt.conf


这个方法……真是奇怪……如果是乱码而不是方块的也许应该想想是否是locale或者QT设置的问题。
回复 支持 反对

使用道具 举报

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

本版积分规则

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