Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4174315
  • 博文数量: 601
  • 博客积分: 15410
  • 博客等级: 上将
  • 技术积分: 6884
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-16 08:11
个人简介

独学而无友,则孤陋而寡闻!

文章分类

全部博文(601)

文章存档

2020年(1)

2018年(4)

2017年(7)

2016年(42)

2015年(25)

2014年(15)

2013年(36)

2012年(46)

2011年(117)

2010年(148)

2009年(82)

2008年(37)

2007年(41)

分类: BSD

2009-02-10 21:35:13

在设置了PKGDIR之后,用ports安装时,会出现”找不到pkg-descr”的错误。

比较好的解释:

Things to check:

* /etc/make.conf -- you may have some variables defined in there
which are breaking things.
* Make sure you're not setting MASTERDIR or PKGDIR or DESCR
anywhere.
* Whether or not you have a shell alias for "make"
* If your /usr/ports/Mk/* files are corrupt or invalid in
some way. Here's a list of current ones as of Wed 13 Dec 2006
20:33:19 PST and their MD5s:

MD5 (bsd.apache.mk) = 32a8cd8b9f3337a2c35df41800da134d
......
MD5 (bsd.sites.mk) = 2999f8a8d4808c499fdfa181ea03132e
MD5 (bsd.tcl.mk) = 23d63e131f626c18ed9ed103068242c1
MD5 (bsd.wx.mk) = 26500dc55d68571e1ae15f79a5ac916f

The Mk/bsd.port.mk code that's spitting out the error:

574 # PKGDIR - A directory containing any package creation files.
575 # Default: ${MASTERDIR}

1368 PKGDIR?= ${MASTERDIR}

2277 DESCR?= ${PKGDIR}/pkg-descr

5397 .if !target(generate-plist)
5398 generate-plist:
5399 @${ECHO_MSG} "===> Generating temporary packing list"
5400 @${MKDIR} `${DIRNAME} ${TMPPLIST}`
5401 @if [ ! -f ${DESCR} ]; then ${ECHO_CMD} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi


阅读(2030) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~