Fedora Linux Support Community & Resources Center
  #1  
Old 1st August 2005, 08:35 PM
lesliek Offline
Registered User
 
Join Date: Mar 2005
Location: Sydney, Australia
Posts: 208
Custom Java installation

I am trying to achieve the above, following the instructions in www.fedorafaq.org/fc3/custom_java.html.

I completed step 7, downloading the JPackage Java 1.5.0 Source RPM directly, because I couldn't get it from the Jpackage site, as predicted in the instructions

However, when I followed step 8, this is what I got:

[root@localhost leslie]# rpmbuild --rebuild java-1.5.0-sun*src.rpm
Installing java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm
warning: user david does not exist - using root
warning: group nanaruser does not exist - using root
warning: user david does not exist - using root
warning: group nanaruser does not exist - using root
warning: user david does not exist - using root
warning: group nanaruser does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70995
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /usr/src/redhat/BUILD/jdk1.5.0_03
+ export MORE=10000
+ MORE=10000
+ sh /usr/src/redhat/SOURCES/jdk-1_5_0_03-linux-i586.bin
sh: /usr/src/redhat/SOURCES/jdk-1_5_0_03-linux-i586.bin: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.70995 (%prep)


RPM build errors:
user david does not exist - using root
group nanaruser does not exist - using root
user david does not exist - using root
group nanaruser does not exist - using root
user david does not exist - using root
group nanaruser does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.70995 (%prep)
[root@localhost leslie]#

Nor were there created any rpms created in /usr/src/redhat/RPMS/i586/

I'd be grateful for advice as to how to overcome my problem.
Reply With Quote
  #2  
Old 1st August 2005, 11:48 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
You need to get Java from Sun first, as it is not redistributable. You'll need the latest non-rpm jdk from Sun, probably jdk-1_5_0_04-linux-i586.bin.
Reply With Quote
  #3  
Old 2nd August 2005, 12:25 AM
lesliek Offline
Registered User
 
Join Date: Mar 2005
Location: Sydney, Australia
Posts: 208
Thank you for your reply, Jman.

I did get Java from Sun first. That was the subject of steps 1-6 of the instructions I'm following. The result of those instructions should have been to put into /usr/src/redhat/SOURCES/ the file jdk-1_5_0_03-linux-i586.bin.

I departed from those instructions in one respect only. The file I got from Sun was the "04" version, instead of "03". I checked and I do have in /usr/src/redhat/SOURCES/ the file jdk-1_5_0_04-linux-i586.bin.

As to step 7 of the instructions, I downloaded the file I was told to download. It's java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm. I downloaded it to /home/leslie/, as instructed.

It's step 8 and what's supposed to happen when I issue the rpmbuild command that's troubling me.

However, writing this out for you has made me realise something. The output I got when issuing the rpmbuild command shows that it was the "03" version of the binary file that wasn't found. Quite right, since I don't have the "03" one; instead, I have the "04" one.

I don't have access to my own computer right now, but is the problem as simple as that I must have the "03" version of the binary file, not the "04" one?
Thanks again,

Leslie

Later: I couldn't find the "03" version of the binary file at Sun, but I did find an "04" version of the nosrc.rpm file at JPackage. When the numbers of the two files were the same, the Java installation seems to have concluded satisfactorily.

Last edited by lesliek; 2nd August 2005 at 04:34 AM. Reason: Later information
Reply With Quote
Reply

Tags
custom, installation, java

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 11 32-bit Installation from DVD ISO with Custom LVM Layout Crashed SIGSEGV Installation and Live Media 0 15th July 2009 08:37 AM
Custom Fedora 8 installation freeworld Installation and Live Media 2 18th March 2008 06:44 AM
NVIDIA Drivers Installation Howto (Custom resolution issues) imperia Guides & Solutions (No Questions) 6 10th March 2008 12:27 AM
Custom Java 1.4.2 installation sundraw Using Fedora 13 6th June 2007 09:53 AM
Installation with custom graphic driver? johny Installation and Live Media 3 21st June 2005 07:30 AM


Current GMT-time: 06:07 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat