LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Failure to build binary for XFree86 on RHEL 5 (https://www.linuxquestions.org/questions/linux-software-2/failure-to-build-binary-for-xfree86-on-rhel-5-a-820372/)

ks2andrew 07-17-2010 05:30 AM

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,

knudfl 07-17-2010 09:52 AM

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

John VV 07-17-2010 01:24 PM

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 ????

ks2andrew 07-19-2010 01:21 AM

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

John VV 07-19-2010 01:48 AM

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

ks2andrew 07-19-2010 02:34 AM

Thanks John,

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

Regards,

ks2andrew 07-19-2010 07:25 AM

Thanks John,

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

Be blessed,

Regards,


All times are GMT -5. The time now is 12:49 AM.