在Linux上安装sqliteman时出现CMake错误

时间:2013-05-11 16:36:40

标签: linux sqlite

这是我第一次在Linux上安装sqliteman,我遇到了以下错误,我不知道如何解决它,任何想法?

root@kali:~# cmake --version
cmake version 2.8.9
root@kali:~# qmake --version
QMake version 2.01a
Using Qt version 4.8.2 in /usr/lib/i386-linux-gnu
root@kali:~# cd ~/mydownloads/sqliteman-1.2.2
root@kali:~/mydownloads/sqliteman-1.2.2# cmake .
-- Sqliteman 1.2.2 will be installed into /usr/local
--  *** Release build (use -DWANT_DEBUG=1 for debug one) ***
-- Qt4version:4.8.2
-- Qt4includes:/usr/include/qt4/QtDesigner/usr/include/qt4/QtDeclarative/usr/include/qt4/QtScriptTools/usr/include/qt4/QtDBus/usr/include/qt4/QtDesigner/usr/include/qt4/QtXml/usr/include/qt4/QtSql/usr/include/qt4/QtOpenGL/usr/include/qt4/QtNetwork/usr/include/qt4/QtXmlPatterns/usr/include/qt4/QtWebKit/usr/include/qt4/QtHelp/usr/include/qt4/QtUiTools/usr/include/qt4/QtTest/usr/include/qt4/QtScript/usr/include/qt4/QtSvg/usr/include/qt4/Qt3Support/usr/include/qt4/QtGui/usr/include/qt4/QtCore/usr/share/qt4/mkspecs/default/usr/include/qt4/usr/include/qt4/QtCore
-- Qt4libs:/usr/lib/i386-linux-gnu
CMake Error at cmake/modules/FindQScintilla.cmake:53 (MESSAGE):
  Could not find QScintilla library
Call Stack (most recent call first):
  CMakeLists.txt:132 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

2 个答案:

答案 0 :(得分:0)

我发现的Ubuntu Trusty 14.04是安装所有qscintilla2软件包,如下所示: http://www.ubuntuupdates.org/package/core/trusty/main/base/qscintilla2

然后它有效。

答案 1 :(得分:0)

在这种情况下,您的朋友是apt-get

sudo apt-get install libqscintilla2-12v5