|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5045 | minor | always | 04-25-12 15:59 | 06-11-12 14:29 | |
|
|
|||||
| Reporter: | rickHigh | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.28 | ||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| There are no notes attached to this issue. |