在运行HttpProxy例子时
apps/HttpProxy# ./NetFetch -fsRoot $FetchCache/ >fetch.log
sh. ccnd-init-keystore-helper:command not found
查了很久,最开始是因为ccnx-0.6.0之前的版本中对于ccnd-init-keystore-helper的存在一直有争议,删除后HttpProxy例子里面没有修改,从而导致这个错误,可以用以下命令解决:
touch someWhereOnYourPath/ccnd-init-keystore-helper
chmod +x someWhereOnYourPath/ccnd-init-keystore-helper
但在ccnx-0.6.0版本中已经不存在这个问题了,可以在目录***/bin/下找到这个可执行文件
后来想起编译过程中,只运行了configure 和 make,如果make install 试试看呢,没想到竟然不再报错了。
虽然整个例子的执行过程还是不太了解,但这个问题算是解决了。
如果有其他朋友知道ccn下的例子如何运行,还想麻烦您告诉我一下,谢谢。已经头疼好久了。。。