[...] ies is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking MYJAVAHOME... /usr checking JVMPLATFORM... zzip checking JAVAC... /usr/bin/javac checking for i686-tld-linux-gcc... (cached) i686-tld-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-tld-linux-gcc accepts -g... (cached) yes checking for i686-tld-linux-gcc option to accept ISO C89... (cached) none needed checking whether i686-tld-linux-gcc understands -c and -o together... (cached) yes checking dependency style of i686-tld-linux-gcc... (cached) gcc3 checking for ld... /usr/bin/ld checking for main in -lc... yes checking for main in -lc_r... no checking for main in -lpthread... yes checking for main in -lz... yes checking for main in -llzo2... yes checking for main in -lbz2... yes checking for main in -liconv... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -j4 -j1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DPACKAGE_NAME=\"qdbm-java\" -DPACKAGE_TARNAME=\"qdbm-java\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"qdbm-java\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qdbm-java\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBC=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBLZO2=1 -DHAVE_LIBBZ2=1 -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 -DPIC=1 -D_REENTRANT=1 -DNDEBUG -I/usr/include -I/usr/include/zzip -I/usr/Headers -Wall -fsigned-char -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT jcuria.lo -MD -MP -MF .deps/jcuria.Tpo -c -o jcuria.lo jcuria.c libtool: compile: i686-tld-linux-gcc -DPACKAGE_NAME=\"qdbm-java\" -DPACKAGE_TARNAME=\"qdbm-java\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"qdbm-java 1.0.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qdbm-java\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBC=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBLZO2=1 -DHAVE_LIBBZ2=1 -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 -DPIC=1 -D_REENTRANT=1 -DNDEBUG -I/usr/include -I/usr/include/zzip -I/usr/Headers -Wall -fsigned-char -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT jcuria.lo -MD -MP -MF .deps/jcuria.Tpo -c jcuria.c -fPIC -DPIC -o .libs/jcuria.o In file included from jcuria.c:17:0: qdbm_Curia.h:2:17: fatal error: jni.h: No such file or directory #include ^ compilation terminated. make: *** [jcuria.lo] Error 1 error: Bad exit status from /tmp/B.f49dc1/rpm-tmp.39830 (%build) RPM build errors: Bad exit status from /tmp/B.f49dc1/rpm-tmp.39830 (%build) ended at: Mon Apr 18 08:23:17 2016, done in 01days 00h 02m 44s error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device Begin-PLD-Builder-Info Build-Time: user:107.99s sys:61.56s real:172.12s (faults io:215 non-io:2315800) End-PLD-Builder-Info