LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]哪位兄弟在维护iptux的ebuild的呀?

[复制链接]
发表于 2009-10-31 18:24:54 | 显示全部楼层 |阅读模式
我把0.4.3的cp了一个0.5.0的但是有问题:
  1. >>> Install iptux-0.5.0 into /var/tmp/portage/net-misc/iptux-0.5.0/image/ category net-misc
  2. Making install in src
  3. make[1]: Entering directory `/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0/src'
  4. Making install in uninstall
  5. make[2]: Entering directory `/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0/src/uninstall'
  6. make[3]: Entering directory `/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0/src/uninstall'
  7. test -z "/usr/bin" || /bin/mkdir -p "/usr/bin"
  8.   /usr/bin/install -c 'ihateiptux' '/usr/bin/ihateiptux'
  9. ACCESS DENIED  open_wr:      /usr/bin/ihateiptux
  10. /usr/bin/install: cannot create regular file `/usr/bin/ihateiptux': Permission denied
  11. make[3]: *** [install-binPROGRAMS] Error 1
  12. make[3]: Leaving directory `/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0/src/uninstall'
  13. make[2]: *** [install-am] Error 2
  14. make[2]: Leaving directory `/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0/src/uninstall'
  15. make[1]: *** [install-recursive] Error 1
  16. make[1]: Leaving directory `/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0/src'
  17. make: *** [install-recursive] Error 1
  18. * ERROR: net-misc/iptux-0.5.0 failed:
  19. *   einstall failed
  20. *
  21. * Call stack:
  22. *     ebuild.sh, line  49:  Called src_install
  23. *   environment, line 205:  Called einstall
  24. *     ebuild.sh, line 589:  Called die
  25. * The specific snippet of code:
  26. *              ${MAKE:-make} prefix="${D}usr" \
  27. *                      datadir="${D}usr/share" \
  28. *                      infodir="${D}usr/share/info" \
  29. *                      localstatedir="${D}var/lib" \
  30. *                      mandir="${D}usr/share/man" \
  31. *                      sysconfdir="${D}etc" \
  32. *                      ${LOCAL_EXTRA_EINSTALL} \
  33. *                      ${MAKEOPTS} ${EXTRA_EMAKE} -j1 \
  34. *                      "$@" install || die "einstall failed"
  35. *
  36. * If you need support, post the output of 'emerge --info =net-misc/iptux-0.5.0',
  37. * the complete build log and the output of 'emerge -pqv =net-misc/iptux-0.5.0'.
  38. * This ebuild is from an overlay named 'gentoo-china': '/usr/local/portage/layman/gentoo-china/'
  39. * The complete build log is located at '/var/tmp/portage/net-misc/iptux-0.5.0/temp/build.log'.
  40. * The ebuild environment file is located at '/var/tmp/portage/net-misc/iptux-0.5.0/temp/environment'.
  41. * S: '/var/tmp/portage/net-misc/iptux-0.5.0/work/iptux-0.5.0'
  42. --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
  43. LOG FILE "/var/log/sandbox/sandbox-6601.log"

  44. VERSION 1.0
  45. FORMAT: F - Function called
  46. FORMAT: S - Access Status
  47. FORMAT: P - Path as passed to function
  48. FORMAT: A - Absolute Path (not canonical)
  49. FORMAT: R - Canonical Path
  50. FORMAT: C - Command Line

  51. F: open_wr
  52. S: deny
  53. P: /usr/bin/ihateiptux
  54. A: /usr/bin/ihateiptux
  55. R: /usr/bin/ihateiptux
  56. C: /usr/bin/install -c ihateiptux /usr/bin/ihateiptux
  57. --------------------------------------------------------------------------------
复制代码


似乎编译通过了,只是最后安装的问题?!

  1. # Copyright 1999-2008 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $

  4. DESCRIPTION="Iptux is a ipmsg client in linux"
  5. HOMEPAGE="http://code.google.com/p/iptux/"
  6. SRC_URI="http://iptux.googlecode.com/files/${P}.tar.gz"

  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="~x86 ~amd64"
  10. IUSE=""

  11. DEPEND="gnome-base/gconf
  12.                 >=x11-libs/gtk+-2.10.14"

  13. RDEPEND="${DEPEND}"

  14. RESTRICT="mirror"  #for overlay


  15. src_install() {
  16.         einstall
  17. }
复制代码
发表于 2009-10-31 23:36:35 | 显示全部楼层
emake DESTDIR="${D}" install || die "install failed"

试试改成这个
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-1 11:04:32 | 显示全部楼层
Post by zhllg;2041674
emake DESTDIR="${D}" install || die "install failed"

试试改成这个


谢谢,这样编译和安装通过。
回复 支持 反对

使用道具 举报

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

本版积分规则

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