Le dimanche 19 juin 2005 à 08:28 -0500, Justin Conover a écrit : > On 6/17/05, Thomas Fitzsimmons <fitzsim@xxxxxxxxxx> wrote: > > On Fri, 2005-06-17 at 13:45 -0400, Zlatin Balevsky wrote: > > > Joshua Daniel Franklin wrote: > > > > > > >On 6/17/05, Thomas Fitzsimmons wrote: > > > > > > > > > > > >>On Fri, 2005-06-17 at 11:54 -0400, Zlatin Balevsky wrote: > > > >> > > > >> > > > >>>Is there an officially supported/recommended way of having Sun java > > > >>>coexist with the -compat? > > > >>> > > > >>> > > > >>Yes, we recommend creating a Sun JPackage RPM, then installing that. > > > >>All the java tools in /usr/bin will then point to Sun's Java > > > >>implementation. > > > >> > > > >> > > > > > > > >And in case you're unfamiliar with JPackage, that's easy to do; a quick > > > >paraphrase of http://jpackage.org/rebuilding.php: > > > > > > > >1. Download and install the nosrc rpm http://jpackage.org/rpm.php?id=2546 > > > > > > > >2. Put the Sun package in your rpmbuild/SOURCES > > > > > > > >3. rpmbuild -ba rpmbuild/SPECS/java....spec > > > > > > > >4. enjoy your RPMs in rpmbuild/RPMS/ > > > > > > > >5. Add your name and a comments to > > > >http://developer.java.sun.com/developer/bugParade/bugs/4680244.html > > > >to get Sun to produce reasonable RPMs in the first place! > > Trying to build this with FC4 X86_64 I get the following error. > > + grep -vF alsa.so > + grep -v jre/lib/security > + grep -v Jdbc > + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot > ERROR: file '/usr/share/java-1.5.0-sun/demo/jvmti/heapTracker/lib/libheapTracker_g.so' > contains an invalid rpath '$ORIGIN/../../../../lib/amd64' in Probably a problem rpm version. rpm seems decided to break jvm specfiles every few releases. File a rpm bug in FC bugzilla and try another rpm version - since the binaries are prebuild it should not change the result. Alternatively this might be a real spec bug but please check with rpm gurus beforehand - I've lost count of the spurious build failures we've had. rpm is just not real tested with nosrc.rpm - as it should. -- Nicolas Mailhot
Attachment:
signature.asc
Description: This is a digitally signed message part