Install Qt4 in RedHatEnterpriseLinuxAS4.0

Source: Internet
Author: User
When the computer installed RedHat, it tried to include development tools as much as possible, but there were still a lot of RPM containing "-devel", which were not included in the installation image file. This is a very troublesome task. You need to find the dependency and guess the dependency "...... I couldn't do it at makexconfig, and the prompt "QT" was not detected. I had to use makemenuconfig for a long time. Today I finally took a good vote for him over the weekend. As I am not used to wget, I went to the Internet to find --www.rpmfind.net. This website is really good.

When the computer installed RedHat, it tried to include development tools as much as possible, but there were still a lot of RPM containing "-devel", which were not included in the installation image file. This is a very troublesome task. You need to find the dependency and guess the dependency "......

I couldn't do it when making xconfig, and the prompt "QT" was not detected. I had to use make menuconfig for a long time. Today, I finally took a good vote on him over the weekend.

Because I am not used to wget, I went to the Internet to find --www.rpmfind.net. This website is really good, with fast network speed and comprehensive information. Search for "QT" and find the "qt-3.3.3-10.RHEL4.src.rpm" that matches RHEL AS4, first "rpm-ivh qt-3.3.3-10.RHEL4.src.rpm", and then find qt in the SPEC directory under "/usr/src/redhat. SPEC, and then "rpmbuild -- ba qt. SPEC ", there are many missing software packages ......

Libpng-devel, libjpeg-devel, libmng-devel, cups-devel, and libsungif-devel cannot be remembered (you can find them in the image's rpm collection ...). Generally, basic libpng, libjpeg, and other packages are installed. You can check the corresponding dynamic link library in the/usr/lib/directory. so. * **, find the version of the basic package, search for the corresponding "-devel" on rpmfind, and find the required development package in the list. You can install the SDK directly.

For all the missing parts, install QT again, find the compiled rpm in the/usr/src/redhat/RPMS/i386/directory, and then "rpm-ivh. The installation process is not very slow, and the disk space is insufficient. I really don't know what it is doing.

In addition, if your daemon tools has the problem of "Unit is locked", it is easy to uninstall the virtual device. Right-click the corresponding virtual Device, select Properties, select hardware, and then select Generic DVD-ROM SCSI Cdrom Device (Virtual Drive) "--" property "--" driver "--" Uninstall ", and then restart the computer.

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.