mk2/I2D — Issue #6: CentOS 6.2 x86_64でantがうまく動かない
Author: mk2
Created: 2012-01-03 07:24:23+00:00
State: open

```sh
$ ant -lib antlib
Buildfile: build.xml

compile:
[echo] ----- Compile all targets !!
[echo] ----- Try to compile libiprops.a ...

prepare:
[mkdir] Created dir: /home/lycaon/workspace/IPROPS/lib

compile.lib:

BUILD FAILED
/home/lycaon/workspace/IPROPS/build.xml:36: The following error occurred while executing this line:
/home/lycaon/workspace/IPROPS/build.xml:66: Problem: failed to create task or type antlib:net.sf.antcontrib.cpptasks:cc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/home/lycaon/.ant/lib
-a directory added on the command line with the -lib argument

Total time: 0 seconds
```

ググれば解決する問題のような気がするが、これを気にMakefileをちゃんと書くのも悪くないかもしれない…