Basic xlib functionality test failed! Solution to QT transplantation errors

Source: Internet
Author: User

Compiling environment: fedora9.0

Cross-compiler: 4.3.2

During the QT transplantation today

  1. # Tar zxvf qt-x11-opensource-src-4.5.3.tar.gz
  2. # Cd qt-x11-opensource-src-4.5.3
  3. #./Configure

 

An error occurred during this step.

This complete error message is in the./configure stage.
Basic xlib functionality test failed!
You might need to modify the include and library search paths by editing
Qmake_incdir_x11 and qmake_libdir_x11 in/home/Zhu/QT/qt-x11-opensource-src-4.5.2/mkspecs/Linux-G ++

I have checked a lot of information on the Internet and there are different opinions, but the most common saying is that libx11 related libraries are incomplete.

Try the following online methods:

Install the libX11-dev libxext-dev libxtst-Dev

 

Yum install libX11-dev

The corresponding package is not found.

This is also true for the three library files.

Think about it for yourself. Different Linux distributions may have different library files with different names.

All right, simply install.

Yum install libx *

Aang up at./configura

The error persists. Is it true that I am wrong on the Internet or that I have not installed it at all? First, find the cause from myself.

The yum command updates the file, and the update packages are all in/var/Cache/Yum/Fedora/packages.
I found many rpm packages here.

Atk-devel-1.22.0-1.fc9.i386.rpm
Cairo-devel-1.6.4-1.fc9.i386.rpm
Docbook-dtds-1.0-35.fc9.noarch.rpm
Docbook-style-dsssl-1.79-5.fc9.noarch.rpm
Docbook-style-xsl-1.73.2-9.fc9.noarch.rpm
Docbook-utils-0.6.14-13.fc9.noarch.rpm
Fontconfig-devel-2.5.0-2.fc9.i386.rpm
Freetype-devel-2.3.5-4.fc9.i386.rpm
Gc-7.0-7.fc9.i386.rpm
Glib2-devel-2.16.3-5.fc9.i386.rpm
Glibmm24-devel-2.16.0-1.fc9.i386.rpm
Gtk2-devel-2.12.9-5.fc9.i386.rpm
Gtk-doc-1.9-4.fc9.noarch.rpm
Libgcrypt-devel-1.4.0-3.i386.rpm
Libgpg-error-devel-1.6-2.i386.rpm
Libpng-devel-1.2.24-1.fc9.i386.rpm
Libsigc ++ 20-devel-2.2.2-1.fc9.i386.rpm
Libxcb-doc-1.1-4.fc9.i386.rpm
LibXcomposite-devel-0.4.0-4.fc9.i386.rpm
LibXcursor-devel-1.1.9-2.fc9.i386.rpm
LibXext-devel-1.0.4-1.fc9.i386.rpm
Libxfce4mcs-4.4.2-2.fc9.i386.rpm
Libxfce4mcs-devel-4.4.2-2.fc9.i386.rpm
Libxfce4util-4.4.2-2.fc9.i386.rpm
Libxfce4util-devel-4.4.2-2.fc9.i386.rpm
Libxfcegui4-4.4.2-2.fc9.i386.rpm
Libxfcegui4-devel-4.4.2-2.fc9.i386.rpm
LibXfixes-devel-4.0.3-3.fc9.i386.rpm
LibXft-devel-2.1.12-5.fc9.i386.rpm
LibXi-devel-1.1.3-4.fc9.i386.rpm
LibXinerama-devel-1.0.3-1.fc9.i386.rpm
Libxkbfile-devel-1.0.4-5.fc9.i386.rpm
Libxklavier-devel-3.5-1.fc9.i386.rpm
Libxml-1.8.17-19.fc9.i386.rpm
Libxml ++-2.22.0-1. fc9.i386. rpm
Libxml2-devel-2.6.32-1.fc9.i386.rpm
Libxml-devel-1.8.17-19.fc9.i386.rpm
Libxml ++-devel-2.22.0-1.fc9.i386.rpm
LibXrandr-devel-1.2.2-3.fc9.i386.rpm
LibXrender-devel-0.9.4-3.fc9.i386.rpm
Libxslt-devel-1.1.23-3.fc9.i386.rpm
Libxslt-python-1.1.23-3.fc9.i386.rpm
Openjade-1.3.2-31.fc9.i386.rpm
Opensp-1.5.2-7.fc9.i386.rpm
Pango-devel-1.20.1-1.fc9.i386.rpm
Perl-Compress-Raw-Zlib-2.008-20.fc9.i386.rpm
Perl-Compress-Zlib-2.008-20.fc9.i386.rpm
Perl-HTML-Parser-3.56-5.fc9.i386.rpm
Perl-HTML-Tagset-3.10-8.fc9.noarch.rpm
Perl-IO-Compress-Base-2.008-20.fc9.i386.rpm
Perl-IO-Compress-Zlib-2.008-20.fc9.i386.rpm
Perl-libwww-perl-5.808-7.fc9.noarch.rpm
Perl-SGMLSpm-1.03ii-18.fc9.noarch.rpm
Perl-XML-Parser-2.36-3.fc9.i386.rpm
Pixman-devel-0.10.0-1.fc9.i386.rpm
Sgml-common-0.6.3-23.fc9.noarch.rpm
W3m-0.5.2-10.fc9.i386.rpm
Zlib-devel-1.2.3-18.fc9.i386.rpm
 

Find the libX11-devel-1.1.4-1.fc9.i386.rpm libXext-devel-1.0.4-1.fc9.i386.rpm from inside
It seems that he has not been installed. Please install it manually.

Rpm-IVH libX11-devel-1.1.4-1.fc9.i386.rpm

Libxau-devel is required.

Therefore
Yum install libxau-devel

Then execute
Rpm-IVH libXext-devel-1.0.4-1.fc9.i386.rpm

Finally,./configura was fixed.

Finally, Let's sum up. To solve this problem, we only need a few databases,

In fact, there are only two:

Yum install libxau-devel

After the preceding statement is executed

Yum install ibX11-devel

The printed information shows that the package has been installed.

Finally, install

Libxext-devel.

 

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.