ubuntu安装sqlite及出错处理
2014-08-06 14:09
211 查看
ubuntu安装sqlite及出错处理
出错处理参考:http://stackoverflow.com/questions/6696861/how-do-i-upgrade-my-sqlite3-package-on-debian-lenny
To compile you probably need
build-essentials:
alfred@alfred-laptop:~$ apt-cache search ^build-essential$ build-essential - Informational list of build-essential packages alfred@alfred-laptop:~$ sudo apt-get install build-essential
Compile SQLite:
alfred@alfred-laptop:~/tmp$ wget http://www.sqlite.org/sqlite-autoconf-3070701.tar.gz alfred@alfred-laptop:~/tmp/sqlite-autoconf-3070701$ ./configure alfred@alfred-laptop:~/tmp/sqlite-autoconf-3070701$ make alfred@alfred-laptop:~/tmp/sqlite-autoconf-3070701$ sudo make install alfred@alfred-laptop:~/tmp/sqlite-autoconf-3070701$ sudo ldconfig
especially
sudo ldconfigis important. When I did not do that I got
alfred@alfred-laptop:~/tmp/sqlite-autoconf-3070701$ sqlite3 SQLite header and source version mismatch 2010-08-23 18:52:01 42537b60566f288167f1b5864a5435986838e3a3 2011-06-28 17:39:05 af0d91adf497f5f36ec3813f04235a6e195a605f
I am running Ubuntu which
is based on Debian:
alfred@alfred-laptop:~/linux$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.10 DISTRIB_CODENAME=maverick DISTRIB_DESCRIPTION="Ubuntu 10.10"
Finally I ran
sqlite3
alfred@alfred-laptop:~$ sqlite3 --version 3.7.7.1 2011-06-28 17:39:05 af0d91adf497f5f36ec3813f04235a6e195a605f
share|improve this answer |
相关文章推荐
- Ubuntu9.0.4下安装SVN插件出错处理
- Ubuntu-12.04 安装bochs-2.3.5.tar.gz出错处理
- Ubuntu9.0.4下安装SVN插件出错处理
- ubuntu apt-get 安装软件总是出错 处理
- Ubuntu安装android-ndk编译出错的处理
- Ubuntu下,安装JDK6,以及出错处理
- apt-get依赖库版本过高问题的解决(如何处理libqt4-dev在ubuntu的安装问题)
- AMD 三核处理器安装SQL Server2005出错处理解决方案。
- sql2005安装sp1后报更新出错的处理方法
- SQL Server 2005 sp2安装后导入数据出错的处理方法
- Ubuntu 下 wine 安装 和 中文字体 显示为方块 的 处理
- 安装gd出错并处理故障
- csft安装过程中出错的问题及解决办法(目前仍然无法成功进行对中文的处理)
- arm-elf-tools安装出错的处理
- ubuntu 9.10 下安装ORACLE 出错SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
- ubuntu下安装sqlite
- sqlite-3.6.20 版本在 Ubuntu 9.10 上的安装
- Ubuntu 7.04安装运行VirtualBox出错的解决办法
- ubuntu下安装ns2出错(二)
- Ubuntu编译lightttpd时出错处理