X11R7.0? Translated? Solution to libdri_la-dri.lo errors

Source: Internet
Author: User
Tags cairo
X11R7.0? Translated? Libdri_la-dri.lo error solution-Linux general technology-Linux programming and kernel information, below is the details to read. In order to facilitate graduation design, we have recently installed RedHat AS4 in this document. This time, we also installed less-used X Windows to play the WMV in the Windows NTFS partition. Decide to install a GUI MPlayer. First, the system prompts that GTK + 2.0 or above is required. Then, GTK says that Cairo is required. When Cairo is installed, Xrender must be installed first, and Xrender cannot find X! After reading some posts on the internet, I understand that Xorg needs to be installed. So we started to figure out that Xorg relied too much on it. At first we looked for Binary Source, and we looked for a big one. Later, they were available on www.x.org! Stupid again. It is difficult to solve the dependency problem. Make errors:

....
Make [4]: *** [libdri_la-dri.lo] Error 1
....

It's a big problem! There are also such questions, but it is a pity that it is a eunuch post. Depressed. After reading the previous output, it can basically be a GL problem. The Search + study was completed after half a day. The solution is as follows:

1. Download MesaLib, http://xorg.freedesktop.org/rele... esaLib-6.4.1.tar.gz
2. decompress the package. Execute make linux-x86 (parameters can be found in configs if it is a machine with other architectures)
3. mkdir/usr/include/GL
Cp./include/GL/*. h/usr/include/GL/
4. mkdir/usr/lib/GL
Cp./lib */usr/lib/GL/

P.S has an installation file in the Bin, but it is not very easy to use. I will install it manually using CP. Re-compile Xorg. No error. Yoyo, continue to install MPlayer.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.