【问题标题】:bmake stuck and not progress (upon building pkg-config)bmake 卡住并且没有进展(在构建 pkg-config 时)
【发布时间】:2013-06-19 21:14:23
【问题描述】:

pkgsrc 目录下构建组件(pkg-config) 时,我被告知checking for a compliant posix_memalign() implementation...,如下面的跟踪所示。 CPU 保持在 99% 并且在几个小时内似乎没有进展。感谢您提出任何可能出错的想法。

为了安装 pkgsrc,我使用 HEaD_650 关注了Bootstrap instruction here。从安装 pkgsrc 到我卡住的精确命令:

# uname -a
QNX localhost 6.5.0 2012/06/20-13:50:59EDT x86pc x86
# svn checkout --username <username> http://community.qnx.com/svn/repos/pkgsrc/HEAD_650
# cd pkgsrc/bootstrap && ./bootstrap
# cd ../devel/pkg-config
# pwd 
/usr/share/pkgsrc/devel/pkg-config
# bmake 
:
checking for fd_set... yes, found in sys/select.h
checking whether realloc (NULL,) will work... yes
checking for nl_langinfo (CODESET)... no
checking for nl_langinfo (PM_STR)... no
checking for nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)... no
checking for a compliant posix_memalign() implementation... 

使用 QNX6.5.0 SDP1

(顺便说一句,我不确定我上面的做法是否是在QNX 上获得pkg-config 的正确方法。)

【问题讨论】:

    标签: pkg-config qnx qnx-neutrino


    【解决方案1】:

    根据this link 中建议的解决方法得出。

    我做了以下事情:

    # pwd
    /usr/share/pkgsrc/devel/pkg-config
    # export MALLOC_BAND_CONFIG_STR="8:16,32,0:24,32,0:32,32,0:48,24,0:64,24,0:80,24,0:96,16,0:128,8,0"
    # bmake            (this finishes this time)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多