ubuntu 8.04安装应用软件Can't find X includes错误解决办法

系统很小。应用软件都的自己装。

首先把  APT’s database is not updated.

     # apt-get update
    # apt-get upgrade

再装其它软件。

  make xconfigure 无法运行时:

apt-get install qt3-dev-tools

编译QVFB  是出现:

出现:C++ preprocessor "/lib/cpp" fails sanity check 


sudo apt-get install build-essential
在出现:

nfigure: error: Can't find X includes. Please check your installation and add the correct paths!

 

少:xorg-dev

sudo apt-get install xorg-dev

搞定!!!!!

 

进入qvfb-1.1,由于qvfb的编译需要QT3的头文件,所以先通过以下命令安装这些头文件:
sudo apt-get install libqt3-mt-dev
然后运行以下命令编译安装:
./configure --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib
make
sudo make install



 

原文地址:https://www.cnblogs.com/sankye/p/2308717.html