LinuxSir.cn,穿越时空的Linuxsir!

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

还是emerge的问题

[复制链接]
发表于 2007-3-27 14:28:23 | 显示全部楼层 |阅读模式
localhost cache # emerge -k libX11
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
Calculating dependencies... done!

!!! Error: the >=x11-proto/xproto-7.0.6 package conflicts with another package;
!!!        the two packages cannot be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/han ... .xml?full=1#blocked

localhost cache # emerge -C xproto
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'

--- Couldn't find 'xproto' to unmerge.

>>> No packages selected for removal by unmerge

这应该怎么做啊....

编译一个程序调用头文件找不到例如:
evaidt.cpp:31:38: error: X11/extensions/scrnsaver.h: No such file or directory怎么知道这个头文件需要emerge哪个包???
发表于 2007-3-27 19:31:44 | 显示全部楼层
why do you emerge libX11?
normally, libX11 should be emerged as a dependency of other packages, and should not be emerged explicitly.

you should do precisely what the message have told you to do.
Please use 'emerge --pretend' to determine blockers.
i.e. emerge -p libX11

and you should not use -k, unless you already have quickpkg'ed libX11 or use libX11 from livecd.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-28 09:49:07 | 显示全部楼层
我编译eva的时候出现
X11/X.h: No such file or directory
......
的错误,可能是我的libx11没有装所以才出现这个问题。
所以我想emerge -k libx11
回复 支持 反对

使用道具 举报

发表于 2007-3-28 16:47:47 | 显示全部楼层
自己编译还是emerge china overlay里的?
我建议你用overlay里的试试
回复 支持 反对

使用道具 举报

发表于 2007-3-29 18:26:38 | 显示全部楼层
还有一个错误

!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
回复 支持 反对

使用道具 举报

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

本版积分规则

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