View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012880 | CMake | Modules | public | 2012-01-17 21:51 | 2016-06-10 14:31 | ||||
Reporter | Dan Kegel | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Linux | OS | Ubuntu | OS Version | 11.10 | ||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012880: find_package(JNI) can't find ubuntu's jdk | ||||||||
Description | FindJNI.cmake is very fragile, it uses a hardcoded list of known absolute paths of installed JDKs. This list needs updating to handle Ubuntu 11.10 and 12.04. Well, really, it has two hardcoded lists, one for libs and one for include files. This makes it even more fragile, since include files and libs could get out of sync, I think. Here's a quick patch that adds just adds in the particular paths used by Ubuntu 11.10 and 12.04. Tested on all five jdks, both 32 and 64 bits (with the script http://code.google.com/p/winezeug/source/browse/trunk/cmake_examples/ex11/test.sh [^] ). Because the paths vary by architecture, I had to expand variables in the include list, as was already done for the libs list. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | jni.patch [^] (1,859 bytes) 2012-01-17 21:51 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0029858) Manuel GRIZONNET (reporter) 2012-06-28 09:17 edited on: 2012-09-11 08:13 |
I confirm the problem. The OTB-Wrapping project (based on WrapITK) did not compile anymore on Ubuntu Precise because of this. http://bugs.orfeo-toolbox.org/view.php?id=533 [^] |
(0030451) David Cole (manager) 2012-08-11 21:42 |
Sending old, never assigned issues to the backlog. (The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
(0041966) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-01-17 21:51 | Dan Kegel | New Issue | |
2012-01-17 21:51 | Dan Kegel | File Added: jni.patch | |
2012-06-28 09:17 | Manuel GRIZONNET | Note Added: 0029858 | |
2012-08-11 21:42 | David Cole | Status | new => backlog |
2012-08-11 21:42 | David Cole | Note Added: 0030451 | |
2012-09-11 08:13 | Manuel GRIZONNET | Note Edited: 0029858 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0041966 | |
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |