Hi Dirk,
Looks like this problem is with ant 1.7. I will look into it, but in
the meantime you should be able to build using ant 1.6.1.
On Jan 12, 2007, at 6:26 AM, dschmid wrote:
> If i try to build the SIGAR suite on a 64Bit AIX machine the
> following errors occours:
>
> Buildfile: build.xml
>
> jni-init:
> [mkdir] Created dir: /home/schm/sigar/bindings/java/build/classes
> [echo] java.home=/usr/java14
> [echo] jni.src=aix, jni.jdk.os=aix
> [javac] Compiling 6 source files to /home/schm/sigar/bindings/
> java/build/classes
> [javac] Note: /home/schm/sigar/bindings/java/hyperic_jni/src/
> org/hyperic/jni/ArchLoader.java uses or overrides a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [libarch] ppc-aix-5
>
> sigar-version:
>
> version-file:
> [copydep] Copying 1 file to /home/schm/sigar/bindings/java/build/
> src/org/hyperic/sigar
>
> version-file:
> [copydep] Copying 1 file to /home/schm/sigar/bindings/java/build/src
>
> version-file:
> [copydep] Copying 1 file to /home/schm/sigar/bindings/java/build/src
>
> prepare-src:
> [exec] generating javasigar_generated.c
> [exec] skipping
> [copy] Copying 1 file to /home/schm/sigar/bindings/java/sigar-
> bin/lib
>
> jni-compile:
>
> jni-cc:
> [mkdir] Created dir: /home/schm/sigar/bindings/java/build/obj/
> ppc-aix-5/lib
> [echo] jni libname=sigar-ppc-aix-5
> Warning: Reference jni.include.dirs has not been set at runtime,
> but was found during
> build file parsing, attempting to resolve. Future versions of Ant
> may support
> referencing ids defined in non-executed targets.
>
> BUILD FAILED
> /home/schm/sigar/bindings/java/hyperic_jni/jni-build.xml:200: The
> following error occurred while executing this line:
> /home/schm/sigar/bindings/java/hyperic_jni/jni-build.xml:246:
> jni.include.dirs doesn't denote a IncludePath
>
>
> I'm using the following build environment:
>
> - Perl Version 5.8.2
> - Ant Version 1.7.0
> - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
> Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20060421
> (SR5) (JIT enabled: jitc))
> - clean SVN-Checkout of SIGAR
>
> Would be glad to receive any help to finish the build.
> Regards, Dirk
>