moxie0 / Convergence

An agile, distributed, and secure alternative to the Certificate Authority system.
http://convergence.io
623 stars 127 forks source link

Install instructions fail for CentOS #150

Closed DeviaVir closed 12 years ago

DeviaVir commented 12 years ago

The instructions here work as far as "convergence-createdb".

[root convergence-0.4]# convergence-createdb
Traceback (most recent call last):
  File "/usr/local/bin/convergence-createdb", line 45, in <module>
    from sqlite3 import *
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3

And..

[root convergence-0.4]# yum install python-sqlite
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nl.leaseweb.net
 * extras: mirror.nl.leaseweb.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.nl.leaseweb.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package python-sqlite-1.1.7-1.2.1.x86_64 already installed and latest version
Nothing to do

[root convergence-0.4]# yum install sqlite
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.supportex.net
 * extras: mirrors.supportex.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.supportex.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package sqlite-3.3.6-5.x86_64 already installed and latest version
Package sqlite-3.3.6-5.i386 already installed and latest version
Nothing to do
DeviaVir commented 12 years ago

Fixed it by running:

yum install sqlite-devel

and rebuilding Python from source (2.7)