Le mardi 28 juin 2005 �2:56 +0100, Paul Howarth a �it : > Markku Kolkka wrote: > > Paul Howarth kirjoitti viestiss� (l�tysaika tiistai, 28. > > kes�uta 2005 13:40): > > > >>Worked for me without making any changes to the spec file. > >> > >>All I used were: > >>java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm (from jpackage site) > >>jdk-1_5_0_03-linux-i586.bin (from Sun site) > > > > > > Version 1.5.0.04 for the latest Sun Java version fails with the > > following error: > > > > + pushd > > '/home/mk/src/rpmbuild/tmp/java-1.5.0-sun-1.5.0.04-1jpp-buildroot/%{_jvmdir}/java-1.5.0-sun-1.5.0.04/jre/lib' > > /home/mk/src/rpmbuild/tmp/rpm-tmp.34241: line 129: > > pushd: /home/mk/src/rpmbuild/tmp/java-1.5.0-sun-1.5.0.04-1jpp-buildroot/%{_jvmdir}/java-1.5.0-sun-1.5.0.04/jre/lib: > > No such file or directory > > error: Bad exit status > > from /home/mk/src/rpmbuild/tmp/rpm-tmp.34241 (%install) > > > > > > RPM build errors: > > Bad exit status from /home/mk/src/rpmbuild/tmp/rpm-tmp.34241 > > (%install) > > > > Looks like the variable _jvmdir is undefined. It's used in > > several places in the .spec file but I can't find any > > definition. > > You need to install jpackage-utils from the jpackage site/repo. > When i installed java-1.5.0-sun-plugin-1.5.0.04-1jpp.i586.rpm the link is created in /usr/lib/mozilla-1.7.8/plugins/ and i have to copy it manually to /usr/lib/firefox-1.0.4/plugins/. Why this link is not created at the right place ? Thanks -- Eric Tanguy | Nantes, France <eric.tanguy@xxxxxxxxxxxxxx> Key : A4B8368F | Key Server : subkeys.pgp.net Fedora Core release 4 (Stentz) sur athlon kernel 2.6.11-1.1369_FC4