Description of problem: Building the Java libraries does not work correctly (at least on the x86_64). Specifically, while the cmake file does check under the client directory in the java libraries directory for libjvm.so, it does not look under the server directory. Likewise, it does not look under the xawt and headless directories for libmawt.so. (it may be that this should be unnecessary as some other package really should have put symlinks to them in the java libraries directory) The RPM also fails to copy the built jar files over. Version-Release number of selected component (if applicable): 5.0.4-21 How reproducible: Always. Steps to Reproduce: 1. Define with_java in the RPM build system. 2. Build vtk from source. Actual results: Linking fails to find libjvm.so and libmawt.so, and the jar files are not installed. Expected results: It builds and install okay. Additional info: I've attached a patch to fix these problems. You will still have to enable building the java components (define with_java) to see this work. Also note that the proper solution to not finding the libraries maybe should be for the appropriate libraries to be symlinked into the base java libraries directory by the appropriate package (the cmake file sound like this should be the case).
Created attachment 308755 [details] Patch to find the libraries and install the jar files.
Comment on attachment 308755 [details] Patch to find the libraries and install the jar files. Tell bugzilla this is a patch, so it displays it inline.
vtk-5.0.4-23.99.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/vtk-5.0.4-23.99.fc8
vtk-5.0.4-24.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/vtk-5.0.4-24.fc9
vtk-5.0.4-23.99.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vtk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7584
vtk-5.0.4-24.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vtk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7707
vtk-5.0.4-23.99.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
vtk-5.0.4-24.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.