Re: Java Build on FC 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-06-30 at 21:27 +1000, david walcroft wrote:
> I don't seem to be able to rebuild jpackages Java, I installed
> this on FC 4
> 
> java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm
> jdk-1_5_0_04-linux-i586.bin
> jre-1_5_0_04-linux-i586.bin

jre not needed.

> And this is the result
> 
> [david@reddwarf rpmbuild]$ ls BUILD/
> jdk1.5.0_04  jre1.5.0_04
> [david@reddwarf rpmbuild]$ ls SOURCES/
> jdk-1_5_0_04-linux-i586.bin  jre1_5_0_04-linux-i586.bin
> [david@reddwarf rpmbuild]$ rpmbuild -ba --target=i686 \ 
> SPECS/java-1.5.0-sun.spec
> Building target platforms: i686
> Building for target i686
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66454
> + umask 022
> + cd /home/david/rpmbuild/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + rm -rf /home/david/rpmbuild/BUILD/jre1.5.0_04
> + export MORE=10000
> + MORE=10000
> + sh /home/david/rpmbuild/SOURCES/jdk-1_5_0_04-linux-i586.bin
> replace jdk1.5.0_04/jre/bin/java? [y]es, [n]o, [A]ll, [N]one, [r]ename: 
>   NULL
> (assuming [N]one)

Move the jre binary file out of the SOURCES directory and try again.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux