Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005045 [Resin] minor always 04-25-12 15:59 06-11-12 14:29
Reporter rickHigh View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.28 Product Version
  Product Build
Summary 0005045: ./configure; make; make install not working on CentOS
Description CentOS puts the jni.h here:


$ rpm -ql java-1.6.0-openjdk-devel | grep jni/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/jni.h
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux/jni_md.h
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/tapset/hotspot_jni.stp
/usr/share/systemtap/tapset/x86_64/hotspot_jni.stp


./configure expects this

checking if /bin/cp accepts -u... yes
PRO: . resin
configure: error:

    *** Can't find JNI directory in JAVA_HOME=/usr/lib/jvm/jre
    *** JNI is expected in /usr/lib/jvm/jre/include/linux

The fix is doing this:

sudo ln -s /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/ /usr/lib/jvm/jre/include

After that is seems to work...
Resin Configuration summary:

  RESIN_HOME : /usr/local/share/resin-4.0.s120425
      root : /var/www
      conf : /etc/resin
      log : /var/log/resin
      plugins : common resin_os resinssl resin
      init : /etc/init.d/resin
  JAVA_HOME: /usr/lib/jvm/jre

    + 64-bit JNI in -I/usr/lib/jvm/jre/include -I/usr/lib/jvm/jre/include/linux
    + JNI CFLAGS:
    + epoll() for keepalives
    + not using OpenSSL
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-25-12 15:59 rickHigh New Issue
06-11-12 14:29 ferg Assigned To  => ferg
06-11-12 14:29 ferg Status new => closed
06-11-12 14:29 ferg Resolution open => fixed
06-11-12 14:29 ferg Fixed in Version  => 4.0.28


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