[SOLVED] Failure to build binary for XFree86 on RHEL 5
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.