都来编译一下这个源码!!!
下载了tar.gz包,解压,按照http://stellarium.org/wiki/index.php/Compilation_on_Linux里的方法开始编译。
进行到configure the build using cmake:
提示cmake未安装,于是apt-get安装
然后再用
报错
于是apt-get安装了qt4-qmake
再来,又报错
去看了/home/lllluuukke/stellarium/stellarium-0.10.6/builds/unix/CMakeFiles/CMakeError.log,文件不存在。
然后就不知道该怎么办了,难道要装qt4-dev-tools?
进行到configure the build using cmake:
代码:
cmake -DCMAKE_INSTALL_PREFIX=/opt/stellarium ../..
提示cmake未安装,于是apt-get安装
然后再用
代码:
cmake -DCMAKE_INSTALL_PREFIX=/opt/stellarium ../..
报错
代码:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for pow10
-- Looking for pow10 - found
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1148 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:171 (FIND_PACKAGE)
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for pow10
-- Looking for pow10 - found
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1148 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:171 (FIND_PACKAGE)
于是apt-get安装了qt4-qmake
再来,又报错
代码:
Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as /usr/lib
Warning: But QtCore couldn't be found. Qt must NOT be installed correctly, or it wasn't found for cross compiling.
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:639 (MESSAGE):
Could NOT find QtCore. Check
/home/lllluuukke/stellarium/stellarium-0.10.6/builds/unix/CMakeFiles/CMakeError.log
for more details.
Call Stack (most recent call first):
CMakeLists.txt:171 (FIND_PACKAGE)
Warning: But QtCore couldn't be found. Qt must NOT be installed correctly, or it wasn't found for cross compiling.
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:639 (MESSAGE):
Could NOT find QtCore. Check
/home/lllluuukke/stellarium/stellarium-0.10.6/builds/unix/CMakeFiles/CMakeError.log
for more details.
Call Stack (most recent call first):
CMakeLists.txt:171 (FIND_PACKAGE)
去看了/home/lllluuukke/stellarium/stellarium-0.10.6/builds/unix/CMakeFiles/CMakeError.log,文件不存在。
然后就不知道该怎么办了,难道要装qt4-dev-tools?
作者: lllluuukke 发布时间: 2011-05-08
此问题在安装了qt4-dev-tools以后解决
作者: lllluuukke 发布时间: 2011-05-08