Hello All,
I am trying to install the jicmp as pet link
http://www.opennms.org/index.php/Building_OpenNMS.
My setup OS Windows Xp, cygwin & while executing the statement fails with following error. The jni.h file available in that folder. Any one has any idea?
statement:./configure
error
configure: found a valid jdk. setting JAVA_HOME to C:\Program Files\Java\jdk1.6.
0_14
checking for java... /cygdrive/c/Program Files/Java/jdk1.6.0_14/bin/java
configure: using jdk at C:\Program Files\Java\jdk1.6.0_14
checking if gcc is Sun CC... no
./configure: line 14435: rpm: command not found
checking for rpmbuild... no
*** RPM Configuration Failed
*** Failed to find the rpmbuild program. If you want to build rpm packages
*** indicate the path to the rpmbuild program using --with-rpmbuild-prog=PROG
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14
JAVA=C:\Program Files\Java\jdk1.6.0_14/bin/java
JAVAC=C:\Program Files\Java\jdk1.6.0_14/bin/javac
JAVAH=C:\Program Files\Java\jdk1.6.0_14/bin/javah
JAR=C:\Program Files\Java\jdk1.6.0_14/bin/jar
JNI_INCLUDES=C:\Program Files\Java\jdk1.6.0_14\include
checking for ANSI C header files... (cached) yes
checking jni.h usability... no
checking jni.h presence... no
checking for jni.h... no
configure: error: cannot find jni.h header with CPPFLAGS=" C:\Program Files\Java
\jdk1.6.0_14\include -I."Thanks for help