LinuxSir.cn,穿越时空的Linuxsir!

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

emerge net-print/cups-1.3.7-r1时失败

[复制链接]
发表于 2008-5-26 20:28:42 | 显示全部楼层 |阅读模式
看了一下出错信息,好像要加入“mdnsresponder-compat”USE,然后重装一下avahi.
疑问1:avahi是做什么的呢?可不可以不装

疑问2:net-print/cups是什么呢,和avahi有什么关系呢

疑问3:可不可以不装net-print/cups(我将net-print/cups删除后,再emerge -uDN world时就会要求安装net-print/cups)

谢谢


  1. localhost pjq # emerge -uDN world
  2. Calculating world dependencies... done!
  3. >>> Verifying ebuild Manifests...

  4. >>> Emerging (1 of 1) net-print/cups-1.3.7-r1 to /
  5. * cups-1.3.7-source.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
  6. * checking ebuild checksums ;-) ...                                      [ ok ]
  7. * checking auxfile checksums ;-) ...                                     [ ok ]
  8. * checking miscfile checksums ;-) ...                                    [ ok ]
  9. * checking cups-1.3.7-source.tar.bz2 ;-) ...                             [ ok ]

  10. * In order to have cups working with avahi zeroconf support, you need
  11. * to have net-dns/avahi emerged with "mdnsresponder-compat" in your USE
  12. * flag. Please add that flag, re-emerge avahi, and then emerge cups again.
  13. *
  14. * ERROR: net-print/cups-1.3.7-r1 failed.
  15. * Call stack:
  16. *               ebuild.sh, line   49:  Called pkg_setup
  17. *    cups-1.3.7-r1.ebuild, line   84:  Called die
  18. * The specific snippet of code:
  19. *                   die "net-dns/avahi is missing the mdnsresponder-compat feature."
  20. *  The die message:
  21. *   net-dns/avahi is missing the mdnsresponder-compat feature.
  22. *
  23. * If you need support, post the topmost build error, and the call stack if relevant.
  24. * A complete build log is located at '/var/tmp/portage/net-print/cups-1.3.7-r1/temp/build.log'.
  25. * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.3.7-r1/temp/die.env'.
  26. *

  27. * Messages for package net-print/cups-1.3.7-r1:

  28. * In order to have cups working with avahi zeroconf support, you need
  29. * to have net-dns/avahi emerged with "mdnsresponder-compat" in your USE
  30. * flag. Please add that flag, re-emerge avahi, and then emerge cups again.
  31. *
  32. * ERROR: net-print/cups-1.3.7-r1 failed.
  33. * Call stack:
  34. *               ebuild.sh, line   49:  Called pkg_setup
  35. *    cups-1.3.7-r1.ebuild, line   84:  Called die
  36. * The specific snippet of code:
  37. *                   die "net-dns/avahi is missing the mdnsresponder-compat feature."
  38. *  The die message:
  39. *   net-dns/avahi is missing the mdnsresponder-compat feature.
  40. *
  41. * If you need support, post the topmost build error, and the call stack if relevant.
  42. * A complete build log is located at '/var/tmp/portage/net-print/cups-1.3.7-r1/temp/build.log'.
  43. * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.3.7-r1/temp/die.env'.
  44. *
复制代码
发表于 2008-5-26 20:30:02 | 显示全部楼层
仔细看看这部分就明白了

* In order to have cups working with avahi zeroconf support, you need
* to have net-dns/avahi emerged with "mdnsresponder-compat" in your USE
* flag. Please add that flag, re-emerge avahi, and then emerge cups again.
回复 支持 反对

使用道具 举报

发表于 2008-5-26 22:01:52 | 显示全部楼层
楼主如果是参考官方文档安装 gnome,就可以理解了。官方文档要求加上 avahi 这个 USE。我没有加这个,没有觉得任何不对,加上了给了我几个工具,个人觉得没有什么特殊用途。
回复 支持 反对

使用道具 举报

发表于 2008-5-27 12:05:17 | 显示全部楼层
用desktop的profile如果不要cups需要显式在make.conf中指定USE="-cups"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-27 17:00:47 | 显示全部楼层
Post by cryaciccl;1855529
用desktop的profile如果不要cups需要显式在make.conf中指定USE="-cups"


谢谢了,这么基本的方法都忘记了
回复 支持 反对

使用道具 举报

发表于 2008-5-27 18:28:29 | 显示全部楼层
Post by cryaciccl;1855529
用desktop的profile如果不要cups需要显式在make.conf中指定USE="-cups"


杠完cpus后怎么安装打印机驱动????

在/etc/portage/package.keywords里加上cpus
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-27 19:39:42 | 显示全部楼层
Post by isspy;1855640
杠完cpus后怎么安装打印机驱动????

在/etc/portage/package.keywords里加上cpus


不需要装打印机
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-27 19:45:13 | 显示全部楼层
Post by 亞利艾爾;1855368
楼主如果是参考官方文档安装 gnome,就可以理解了。官方文档要求加上 avahi 这个 USE。我没有加这个,没有觉得任何不对,加上了给了我几个工具,个人觉得没有什么特殊用途。

刚才试着将avahi这个USE去掉,然后emerge -uDN world
重装了几个软件,将avahi也删除了。

然后发现好多东西东依赖avahi
没办法只有 将avahi "USE"再加上去
更新一下
emerge -uDN world


  1. gedit: error while loading shared libraries: libavahi-glib.so.1: cannot
  2. open shared object file: No such file or directory
  3. localhost pjq # revdep-rebuild
  4. Configuring search environment for revdep-rebuild

  5. Checking reverse dependencies...

  6. Packages containing binaries and libraries broken by a package update
  7. will be emerged.

  8. Collecting system binaries and libraries... done.
  9.   (/root/.revdep-rebuild.1_files)

  10. Collecting complete LD_LIBRARY_PATH... done.
  11.   (/root/.revdep-rebuild.2_ldpath)

  12. Checking dynamic linking consistency...
  13.   broken /usr/bin/baobab (requires  libavahi-client.so.3
  14. libavahi-common.so.3 libavahi-glib.so.1)
  15.   broken /usr/bin/blackjack (requires  libavahi-client.so.3
  16. libavahi-common.so.3 libavahi-glib.so.1)
  17.   broken /usr/bin/bonobo-browser (requires  libavahi-client.so.3
  18. libavahi-common.so.3 libavahi-glib.so.1)
  19.   broken /usr/bin/bug-buddy (requires  libavahi-client.so.3
  20. libavahi-common.so.3 libavahi-glib.so.1)
  21.   broken /usr/bin/cddb-slave2-properties (requires  libavahi-client.so.3
  22. libavahi-common.so.3 libavahi-glib.so.1)
  23.   broken /usr/bin/eog (requires  libavahi-client.so.3
  24. libavahi-common.so.3 libavahi-glib.so.1)
  25.   broken /usr/bin/epiphany (requires  libavahi-client.so.3
  26. libavahi-common.so.3 libavahi-glib.so.1)
  27.   broken /usr/bin/evince (requires  libavahi-client.so.3
  28. libavahi-common.so.3 libavahi-glib.so.1)
  29.   broken /usr/bin/evince-thumbnailer (requires  libavahi-client.so.3
  30. libavahi-common.so.3 libavahi-glib.so.1)
  31.   broken /usr/bin/gconf-editor (requires  libavahi-client.so.3
  32. libavahi-common.so.3 libavahi-glib.so.1)
  33.   broken /usr/bin/gedit (requires  libavahi-client.so.3
  34. libavahi-common.so.3 libavahi-glib.so.1)
  35.   broken /usr/bin/gfloppy (requires  libavahi-client.so.3
  36. libavahi-common.so.3 libavahi-glib.so.1)
  37.   broken /usr/bin/glines (requires  libavahi-client.so.3
  38. libavahi-common.so.3 libavahi-glib.so.1)
  39.   broken /usr/bin/gnect (requires  libavahi-client.so.3
  40. libavahi-common.so.3 libavahi-glib.so.1)
  41.   broken /usr/bin/gnibbles (requires  libavahi-client.so.3
  42. libavahi-common.so.3 libavahi-glib.so.1)
  43.   broken /usr/bin/gnobots2 (requires  libavahi-client.so.3
  44. libavahi-common.so.3 libavahi-glib.so.1)
  45.   broken /usr/bin/gnome-about (requires  libavahi-client.so.3
  46. libavahi-common.so.3 libavahi-glib.so.1)
  47.   broken /usr/bin/gnome-accessibility-keyboard-properties (requires  
  48. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  49.   broken /usr/bin/gnome-appearance-properties (requires  
  50. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  51.   broken /usr/bin/gnome-at-properties (requires  libavahi-client.so.3
  52. libavahi-common.so.3 libavahi-glib.so.1)
  53.   broken /usr/bin/gnome-audio-profiles-properties (requires  
  54. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  55.   broken /usr/bin/gnome-brightness-applet (requires  
  56. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  57.   broken /usr/bin/gnome-cd (requires  libavahi-client.so.3
  58. libavahi-common.so.3 libavahi-glib.so.1)
  59.   broken /usr/bin/gnome-control-center (requires  libavahi-client.so.3
  60. libavahi-common.so.3 libavahi-glib.so.1)
  61.   broken /usr/bin/gnome-default-applications-properties (requires  
  62. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  63.   broken /usr/bin/gnome-desktop-item-edit (requires  
  64. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  65.   broken /usr/bin/gnome-dictionary (requires  libavahi-client.so.3
  66. libavahi-common.so.3 libavahi-glib.so.1)
  67.   broken /usr/bin/gnome-display-properties (requires  
  68. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  69.   broken /usr/bin/gnome-font-viewer (requires  libavahi-client.so.3
  70. libavahi-common.so.3 libavahi-glib.so.1)
  71.   broken /usr/bin/gnome-inhibit-applet (requires  libavahi-client.so.3
  72. libavahi-common.so.3 libavahi-glib.so.1)
  73.   broken /usr/bin/gnome-keybinding-properties (requires  
  74. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  75.   broken /usr/bin/gnome-keyboard-properties (requires  
  76. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  77.   broken /usr/bin/gnome-keyring-manager (requires  libavahi-client.so.3
  78. libavahi-common.so.3 libavahi-glib.so.1)
  79.   broken /usr/bin/gnome-mouse-properties (requires  libavahi-client.so.3
  80. libavahi-common.so.3 libavahi-glib.so.1)
  81.   broken /usr/bin/gnome-network-preferences (requires  
  82. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  83.   broken /usr/bin/gnome-panel (requires  libavahi-client.so.3
  84. libavahi-common.so.3 libavahi-glib.so.1)
  85.   broken /usr/bin/gnome-power-manager (requires  libavahi-client.so.3
  86. libavahi-common.so.3 libavahi-glib.so.1)
  87.   broken /usr/bin/gnome-power-preferences (requires  
  88. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  89.   broken /usr/bin/gnome-power-statistics (requires  libavahi-client.so.3
  90. libavahi-common.so.3 libavahi-glib.so.1)
  91.   broken /usr/bin/gnome-screensaver-preferences (requires  
  92. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  93.   broken /usr/bin/gnome-screenshot (requires  libavahi-client.so.3
  94. libavahi-common.so.3 libavahi-glib.so.1)
  95.   broken /usr/bin/gnome-search-tool (requires  libavahi-client.so.3
  96. libavahi-common.so.3 libavahi-glib.so.1)
  97.   broken /usr/bin/gnome-session (requires  libavahi-client.so.3
  98. libavahi-common.so.3 libavahi-glib.so.1)
  99.   broken /usr/bin/gnome-session-properties (requires  
  100. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  101.   broken /usr/bin/gnome-session-remove (requires  libavahi-client.so.3
  102. libavahi-common.so.3 libavahi-glib.so.1)
  103.   broken /usr/bin/gnome-session-save (requires  libavahi-client.so.3
  104. libavahi-common.so.3 libavahi-glib.so.1)
  105.   broken /usr/bin/gnome-sound-properties (requires  libavahi-client.so.3
  106. libavahi-common.so.3 libavahi-glib.so.1)
  107.   broken /usr/bin/gnome-sound-recorder (requires  libavahi-client.so.3
  108. libavahi-common.so.3 libavahi-glib.so.1)
  109.   broken /usr/bin/gnome-system-log (requires  libavahi-client.so.3
  110. libavahi-common.so.3 libavahi-glib.so.1)
  111.   broken /usr/bin/gnome-terminal (requires  libavahi-client.so.3
  112. libavahi-common.so.3 libavahi-glib.so.1)
  113.   broken /usr/bin/gnome-theme-thumbnailer (requires  
  114. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  115.   broken /usr/bin/gnome-thumbnail-font (requires  libavahi-client.so.3
  116. libavahi-common.so.3 libavahi-glib.so.1)
  117.   broken /usr/bin/gnometris (requires  libavahi-client.so.3
  118. libavahi-common.so.3 libavahi-glib.so.1)
  119.   broken /usr/bin/gnome-volume-control (requires  libavahi-client.so.3
  120. libavahi-common.so.3 libavahi-glib.so.1)
  121.   broken /usr/bin/gnome-window-properties (requires  
  122. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  123.   broken /usr/bin/gnomine (requires  libavahi-client.so.3
  124. libavahi-common.so.3 libavahi-glib.so.1)
  125.   broken /usr/bin/gnotravex (requires  libavahi-client.so.3
  126. libavahi-common.so.3 libavahi-glib.so.1)
  127.   broken /usr/bin/gnotski (requires  libavahi-client.so.3
  128. libavahi-common.so.3 libavahi-glib.so.1)
  129.   broken /usr/bin/gstreamer-properties (requires  libavahi-client.so.3
  130. libavahi-common.so.3 libavahi-glib.so.1)
  131.   broken /usr/bin/gtali (requires  libavahi-client.so.3
  132. libavahi-common.so.3 libavahi-glib.so.1)
  133.   broken /usr/bin/gucharmap (requires  libavahi-client.so.3
  134. libavahi-common.so.3 libavahi-glib.so.1)
  135.   broken /usr/bin/iagno (requires  libavahi-client.so.3
  136. libavahi-common.so.3 libavahi-glib.so.1)
  137.   broken /usr/bin/mahjongg (requires  libavahi-client.so.3
  138. libavahi-common.so.3 libavahi-glib.so.1)
  139.   broken /usr/bin/nautilus (requires  libavahi-client.so.3
  140. libavahi-common.so.3 libavahi-glib.so.1)
  141.   broken /usr/bin/nautilus-cd-burner (requires  libavahi-client.so.3
  142. libavahi-common.so.3 libavahi-glib.so.1)
  143.   broken /usr/bin/nautilus-connect-server (requires  
  144. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  145.   broken /usr/bin/nautilus-file-management-properties (requires  
  146. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  147.   broken /usr/bin/panel-test-applets (requires  libavahi-client.so.3
  148. libavahi-common.so.3 libavahi-glib.so.1)
  149.   broken /usr/bin/same-gnome (requires  libavahi-client.so.3
  150. libavahi-common.so.3 libavahi-glib.so.1)
  151.   broken /usr/bin/sound-juicer (requires  libavahi-client.so.3
  152. libavahi-common.so.3 libavahi-glib.so.1)
  153.   broken /usr/bin/stardict (requires  libavahi-client.so.3
  154. libavahi-common.so.3 libavahi-glib.so.1)
  155.   broken /usr/bin/test-moniker (requires  libavahi-client.so.3
  156. libavahi-common.so.3 libavahi-glib.so.1)
  157.   broken /usr/bin/themus-theme-applier (requires  libavahi-client.so.3
  158. libavahi-common.so.3 libavahi-glib.so.1)
  159.   broken /usr/bin/totem (requires  libavahi-client.so.3
  160. libavahi-common.so.3 libavahi-glib.so.1)
  161.   broken /usr/bin/totem-video-indexer (requires  libavahi-client.so.3
  162. libavahi-common.so.3 libavahi-glib.so.1)
  163.   broken /usr/bin/totem-video-thumbnailer (requires  
  164. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  165.   broken /usr/bin/vumeter (requires  libavahi-client.so.3
  166. libavahi-common.so.3 libavahi-glib.so.1)
  167.   broken /usr/lib/bonobo-2.0/samples/bonobo-sample-controls-2 (requires  
  168. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  169.   broken /usr/libexec/camel-index-control-1.2 (requires  
  170. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  171.   broken /usr/libexec/camel-lock-helper-1.2 (requires  
  172. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  173.   broken /usr/libexec/CDDBSlave2 (requires  libavahi-client.so.3
  174. libavahi-common.so.3 libavahi-glib.so.1)
  175.   broken /usr/libexec/cddb-track-editor (requires  libavahi-client.so.3
  176. libavahi-common.so.3 libavahi-glib.so.1)
  177.   broken /usr/libexec/evolution-data-server-1.12 (requires  
  178. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  179.   broken /usr/libexec/fast-user-switch-applet (requires  
  180. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  181.   broken /usr/libexec/fish-applet-2 (requires  libavahi-client.so.3
  182. libavahi-common.so.3 libavahi-glib.so.1)
  183.   broken /usr/libexec/gdmgreeter (requires  libavahi-client.so.3
  184. libavahi-common.so.3 libavahi-glib.so.1)
  185.   broken /usr/libexec/gnome-dictionary-applet (requires  
  186. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  187.   broken /usr/libexec/gnome-netstatus-applet (requires  
  188. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  189.   broken /usr/libexec/gnome-settings-daemon (requires  
  190. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  191.   broken /usr/lib/gnome-games/gnome-games-render-cards (requires  
  192. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  193.   broken /usr/lib/gnome-vfs-2.0/modules/libtheme-method.so (requires  
  194. libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)
  195.   broken /usr/lib/nautilus/extensions-1.0/libnautilus-themus.so
  196. (requires  libavahi-client.so.3 libavahi-common.so.3 libavahi-glib.so.1)


复制代码
回复 支持 反对

使用道具 举报

发表于 2008-5-27 21:36:09 | 显示全部楼层
之前装了还真不好办,我开始就不装,就没有这些问题。
回复 支持 反对

使用道具 举报

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

本版积分规则

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