Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001313 [Resin] major always 08-23-06 09:07 08-31-06 09:32
Reporter bdoperations View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.22 Product Version 3.0.21
  Product Build
Summary 0001313: Can't compile JNI support for openssl with IBM JDK 1.5 64-bit
Description Here's the configure and output
./configure --prefix=/usr/local/resin-pro-3.0.19 --with-java-home=/usr/
local/ibm-java2-x86_64-50 --enable-64bit --with-resin --with-ssl --enable-ssl --enable-jni --with-jn
i-include="-I/usr/local/ibm-java2-x86_64-50/include"
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for egrep... grep -E
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for JAVA_HOME... /usr/local/ibm-java2-x86_64-50
checking if Java is 64-bit... yes
Using JVMTI for class reloading
Using openssl include in ... /usr/include
Using openssl lib in ... /usr/lib64
Using openssl libraries in ... -lssl -lcrypto
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/wrapper.pl
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache1/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating contrib/init.resin
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/wrapper.pl
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache1/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating contrib/init.resin
config.status: creating modules/c/src/resin/Makefile
config.status: creating modules/c/src/resinssl/Makefile
config.status: executing depfiles commands

The pertinent output from make is:
make[2]: Entering directory `/usr/local/resin-pro-3.0.19/modules/c/src/resin'
gcc -g -O2 -DPOLL -DB64 -m64 -fPIC -DHAS_JVMTI -DRESIN_HOME=\"/usr/local/resin-pro-3.0.19\" -I/usr/include -I/usr/local/ibm-java2-x86_64-50/include -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -c -o std.o std.c
gcc -g -O2 -DPOLL -DB64 -m64 -fPIC -DHAS_JVMTI -DRESIN_HOME=\"/usr/local/resin-pro-3.0.19\" -I/usr/include -I/usr/local/ibm-java2-x86_64-50/include -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -c -o memory.o memory.c
gcc -g -O2 -DPOLL -DB64 -m64 -fPIC -DHAS_JVMTI -DRESIN_HOME=\"/usr/local/resin-pro-3.0.19\" -I/usr/include -I/usr/local/ibm-java2-x86_64-50/include -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -c -o jni_vfs.o jni_vfs.c
jni_vfs.c:81:19: jvmdi.h: No such file or directory
make[2]: *** [jni_vfs.o] Error 1

jvmdi.h is not included in the IBM JDK.

Is it possible to use resin with IBMs JDK 1.5?
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-23-06 09:07 bdoperations New Issue
08-31-06 09:32 ferg Assigned To  => ferg
08-31-06 09:32 ferg Status new => closed
08-31-06 09:32 ferg Resolution open => fixed
08-31-06 09:32 ferg Fixed in Version  => 3.0.22


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker