Dedora9 install qvfb

Source: Internet
Author: User

Tarzxvf qvfb-1.1.tar.gz

CD qvfb-1.1

./Configure
Error:
Checking for Qt... configure: Error: QT (> = QT 3.0.3) (headers and libraries) Not found. Please check your

Installation!
For more details about this problem, look at the end of config. log.

Cause:
First, there is no uniform standard for the production of the Linux release version, which indicates that the Linux system paths may be different.
Second, due to the new version of Linux, earlier versions of the library are no longer useful for the current newer version. Therefore, some early libraries, namely the lib *. So file, are discarded.
Third: Coincidentally, qvfb has made the above mistake. There is a big difference between qt3 and qt4. Some qt4ProgramIt cannot be easily converted to a qt3 program for running. Of course, early qt3 programs cannot run on the qt4 library. So far, qvfb 1.1 is a qt3 program, and its operation requires the support of the qt3 library. Therefore, even if you have installed the latest qt4 on your system, it cannot be correctly installed and run.

We can see from the above that qvfb 1.1 must install the header file and library of qt3.

1. Found/usr/lib/directory with a directory qt-3.3 but no include directory

Uninstall and reinstall: Yum remove qt3

Reinstall the qt3-devel in either of the following ways:

1> Yum install qt3-devel can be installed, but installed with qt3 things also has qt4, can not be used, still report the above error;

2> Installation File qt-devel-3.3.8-4.fc7.i386.rpm

Direct rpm-ivh xxxx. RPM error: a file is missing;

Installing with yum directly avoids this problem: Yum install qt-devel-3.3.8-4.fc7.i386.rpm

So far/usr/lib/qt-3.3 directory include and Lib two directories;

2,

./Configure -- With-QT-uplodes =/usr/lib/qt-3.3/include -- With-QT-libraries =/usr/lib/qt-3.3/lib -- With-QT-

Dir =/usr/lib/qt-3.3

Problem:

 
Configure: Error: No QT meta object Compiler (MOC) found!

You just need to add the qt-3.3/bin to the QT directory;

. /Configure -- prefix = 'KDE-config -- prefix' -- With-QT-Primary des =/usr/lib/qt-3.3/include -- With-QT-libraries =/usr/lib/qt-3.3 /lib -- With-QT-
Dir =/usr/lib/qt-3.3
Make

Make install
Qvfb has been installed in fedora9.

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.