红联Linux门户
Linux帮助

debian8.4安装sqliteman总结

发布时间:2017-02-22 11:11:13来源:blog.csdn.net/isinstance作者:isinstance
首先ubuntu用户直接
sudo apt-get install sqliteman
然后关掉浏览器好好工作
这里说的是debian用户
debian不是一般的ken
 
首先,下载一个sqliteman.tar.bz2
如果不放心想自己下官网的话
这里有个sourceforge的链接(https://sourceforge.net/projects/sqliteman/files/)
解压和tar.gz有点不同
tar -jxvf  some.tar.bz2
然后准备安装各种库
su
apt-get install libsqlite3-0 libsqlite3-dev cmake
apt-get install qt-sdk
这个sdk包有几百兆。
然后就是下面进入sqlite的主目录
cmake -DWANT_RESOURCES=1
 
我这里有个报错
cmake -DWANT_RESOURCES=1
-- Sqliteman 1.2.2 will be installed into /usr/local
--  *** Release build (use -DWANT_DEBUG=1 for debug one) ***
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.2.0") 
-- Qt4version:4.8.6
-- Qt4includes:/usr/include/qt4/QtDesigner/usr/include/qt4/QtDeclarative/usr/include/qt4/QtScriptTools/
-- Qt4libs:/usr/lib/x86_64-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)
 
然后咱们换个方法
cmake -DWANT_INTERNAL_QSCINTILLA=1
这一步时间有点长
这就可以了
然后就是
make
然后
make install
 
就装完了
root@Hero:/usr/local/src/sqliteman-1.2.2# make install
[ 57%] Built target tora_qscintilla2_lib
[100%] Built target sqliteman
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/share/applications/sqliteman.desktop
-- Installing: /usr/local/share/icons/hicolor/sqliteman.png
-- Installing: /usr/local/bin/sqliteman
debian8.4安装sqliteman总结

本文永久更新地址:http://www.linuxdiyf.com/linux/28606.html