在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的正确方式。)
发布于 2013-06-20 07:37:36
根据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)https://stackoverflow.com/questions/17201470
复制相似问题