LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2010, 05:30 AM   #1
ks2andrew
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Rep: Reputation: 0
Failure to build binary for XFree86 on RHEL 5


Dear collegues,
kindly assist. When I try to build the binary from the src file for XFree86 on RHEL 5, towards the end, it shows:
/usr/include/bits/string3.h:104:1: warning: this is the location of the previous definition
In file included from xf86drm.c:70:
drm.h:39:26: error: linux/config.h: No such file or directory
xf86drm.c: In function 'drmOpenDevice':
xf86drm.c:219: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
make[6]: *** [xf86drm.o] Error 1
make[6]: Leaving directory `/usr/src/redhat/BUILD/XFree86-4.3.0/xc/lib/GL/dri/drm'
...
RPM build errors:
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID db42a60e
Bad exit status from /var/tmp/rpm-tmp.78606 (%build)

Some one please help me out.

Thatnks and regards,
 
Old 07-17-2010, 09:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
XFree86-4.3.0 : Last time used by Redhat in Redhat 9, Fedora 1.

Redhat EL 5 uses "xorg".
Why do you want these old files dated 2002 ?
May not be possible to build on any new Linux.

To build XFree86-4.3.0 on Fedora 1, 150 patches were used.
Please have a look into SRC RPM source package :
XFree86-4.3.0-42.src.rpm
 
Old 07-17-2010, 01:24 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
ks2andrew i just have to ASK
WHY . Why xfre86 on RHEL 5 ???? WTF

i know i am a mas$^!#* at times, i built KDE 2 on Windows XP a while back -- BUT seriously XFree86 on RHEL 5 ????
 
Old 07-19-2010, 01:21 AM   #4
ks2andrew
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Knudfl and John, and sorry if disappointed. Below is what I did:
[root@localhost take]# rpmbuild --rebuild openoffice-1.0.2-8.src.rpm
Installing openoffice-1.0.2-8.src.rpm
warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID db42a60e
error: Failed build dependencies:
XFree86-Xvfb is needed by openoffice-1.0.2-8.i386
mozilla is needed by openoffice-1.0.2-8.i386
XFree86-devel is needed by openoffice-1.0.2-8.i386
XFree86-libs is needed by openoffice-1.0.2-8.i386
mozilla-devel >= 1.0.1-21 is needed by openoffice-1.0.2-8.i386
db4-java >= 4.1 is needed by openoffice-1.0.2-8.i386

I got the feeling that installing XFree86 would solve all XFree* dependencies. I really need openoffice on this machine.

Kindly advise.
Thanks
 
Old 07-19-2010, 01:48 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
WHY are you rebuilding the VERY VERY old antique OO 1.02 rpm ??????
the current is "OpenOffice.org 3.2.1 "

so WHY are you rebuilding the version 1 when version 3 is the current??

http://download.openoffice.org/


ps. this "openoffice-1.0.2-8.src.rpm " is a RHEL 3 rpm and CAN NOT be installed on RHEL 5
 
Old 07-19-2010, 02:34 AM   #6
ks2andrew
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks John,

It is what I found at www.rpmfind.net. Thanks alot, and I will download the new version.

Regards,
 
Old 07-19-2010, 07:25 AM   #7
ks2andrew
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks John,

I successfully installed openoffice 3.2.1 and everything is ok for now.

Be blessed,

Regards,
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure to build binary rpm from src for autoconf ks2andrew Linux - Software 1 07-16-2010 10:26 AM
Build ImageMagick into a single binary? ceashton Linux - Software 9 04-01-2010 09:28 AM
RHEL 5 basic build and a Build for Oracle 10g r2 bhoros Linux - Server 2 06-19-2008 03:09 PM
Build one Linux binary for many i386 platforms? mattengland Programming 2 04-14-2006 12:36 PM
How to build one binary for all Redhat systems? mattengland Linux - Software 3 09-11-2005 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration