View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011183 | CMake | Modules | public | 2010-08-30 04:33 | 2011-03-28 11:40 | ||||
Reporter | JussiP | ||||||||
Assigned To | Mathieu Malaterre | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011183: FindJNI fails on Fedora due to missing path | ||||||||
Description | FindJNI can't find libjvm.so on newest Fedora. This is because on Fedora it is here: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so And this path is not listed in the search directories in FindJNI.cmake. | ||||||||
Additional Information | I tested CMake 2.8. The patches in bug 9611 do not seem to contain these directories. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0022042) Juhani Simola (reporter) 2010-08-31 17:27 |
On a related note, the JNI headers located under /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/ and /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux are also not found. If JAVA_HOME environment variable is set to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64, these directories are found and stored to variables JAVA_INCLUDE_PATH and JAVA_INCLUDE_PATH2. However, when compiling, only the first path is set at command line. The command line works at least on Debian because the header under linux subdirectory, jni_md.h, has been symlinked to main include directory. On Fedora, the symlink does not exist by default. |
(0025927) Mathieu Malaterre (developer) 2011-03-28 11:40 |
$ git push stage HEAD Counting objects: 7, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 428 bytes, done. Total 4 (delta 3), reused 0 (delta 0) To git@cmake.org:stage/cmake.git * [new branch] HEAD -> fixbug_0011183 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-08-30 04:33 | JussiP | New Issue | |
2010-08-30 07:41 | Kovarththanan Rajaratnam | Category | CMake => Modules |
2010-08-31 17:27 | Juhani Simola | Note Added: 0022042 | |
2010-12-15 11:55 | David Cole | Assigned To | => Mathieu Malaterre |
2010-12-15 11:55 | David Cole | Status | new => assigned |
2011-03-28 11:40 | Mathieu Malaterre | Note Added: 0025927 | |
2011-03-28 11:40 | Mathieu Malaterre | Status | assigned => closed |
2011-03-28 11:40 | Mathieu Malaterre | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |