编译CCN,在运行make test时,可能会遇到下面问题:
/home/***/build.xml:82: Problem: failed to create task or type junit
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/home/xiaohan/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
解决方法:
1)Fedora系统下,运行yum install ant* 命令,重新make test;
2)Ubuntu系统下,运行sudo apt-get install ant-optional命令后,重新make test