进行到configure the build using cmake:
代码: 全选
cmake -DCMAKE_INSTALL_PREFIX=/opt/stellarium ../..
然后再用
代码: 全选
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)
再来,又报错
代码: 全选
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)
然后就不知道该怎么办了,难道要装qt4-dev-tools?