版本:Ubuntu 8.04
在configure过程中遇到如下出错:
第一次出错:checking for C compiler default output… configure: error: C compiler cannot create executables
解决办法:sudo apt-get install libc6-dev
第二次出错:configure: error: C preprocessor “/lib/cpp” fails sanity check
gcc的组件没装全
解决办法:apt-get install build-essential
第三次出错:checking for X… configure: error: Can’t find X libraries. Please check your installation and add the correct paths!
这是缺xlibs-dev造成的,但这个lib很难找,后来不得不在debian的release里找到这个包:
http://mirror.x10.com/mirror/Ubuntu/pool/main/x/xorg/
xlibs-dev_7.2-0Ubuntu11_all.deb
安装方式:sudo dpkg -i xlibs-dev_7.2-0Ubuntu11_all.deb
第四次出错:Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
缺少qt的lib&&headers的包
解决办法:apt-get install libqt3-headers libqt3-mt-dev
第五次出错:in the prefix, you’ve chosen, are no KDE headers installed. This will fail.So, check this please and use another prefix!
解决办法:
sudo apt-get update
sudo apt-get install kdelibs4-dev kdelibs4c2a
