LinuxSir.cn,穿越时空的Linuxsir!

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

怎样编译world 但是不编译其中的某个或某几个包?

[复制链接]
发表于 2009-3-16 16:39:13 | 显示全部楼层 |阅读模式
比如说想emerge -e world, 但是不想编译 mozilla-firefox (这个包需要把gcc改为其他版本来编译)

除了emerge -e world 之后再 emerge -vD mozilla-firefox 外
有没有什么其他方法?
发表于 2009-3-16 16:48:08 | 显示全部楼层
emerge --noreplace mozilla-firefox

但非得要做emerge -e 这种劳民伤财的事吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-16 17:11:53 | 显示全部楼层
#emerge -pv --noreplace mozilla-firefox -e world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "www-client/mozilla-firefox" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-client/mozilla-firefox-3.0.7 (masked by: package.mask)
- www-client/mozilla-firefox-2.0.0.19 (masked by: )


我忘了说, 我的firefox 不是3.0, 是2.0的, 3.0的让我mask掉了..
回复 支持 反对

使用道具 举报

发表于 2009-3-16 17:50:29 | 显示全部楼层
这样呀, 大概可用此法(理论上可行,我没做过)

把www-client/mozilla-firefox从/var/lib/portage/world里先去掉再emerge -e world,
gcc-config 后再emerge mozilla-firefox
回复 支持 反对

使用道具 举报

发表于 2009-3-17 11:29:52 | 显示全部楼层
emerge -e 基本上和重装没什么区别了...
你可以在maked这个包.就可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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