Red Hat Bugzilla – Bug 354541
Please add "R CMD javareconf" to the post install script
Last modified: 2011-09-23 04:45:59 EDT
This is an RPM enhancement request, not an error per se.
Description of problem:
Java packages don't compile, error says can't compile a simple program with the JNI
Version-Release number of selected component (if applicable):
Steps to Reproduce:
compile fails, says JDK not installed. IT fails because JDK is not in same
place where R package builder had it.
I went to the JGR package team and asked what is up with this. From them, I've
learned that there is a fix. There is an undocumented feature. Run
R CMD javareconf
and that lets R find your java compiler and headers.
I wish you would please add this step to the post install script of the RPM.
R-2.6.0-3.fc7.1 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.