-
Notifications
You must be signed in to change notification settings - Fork 3
How to Install
rocky edited this page Dec 26, 2012
·
1 revision
After cloning the repository run autogen.sh
:
$ git://github.com/rocky/pydb.git
$ cd pydb
$ sh ./autogen.sh
This older package uses GNU autoconf to try to figure out where Python packages are installed. It sometimes gets this wrong. So you may see this message at the end:
configure: Trying to reset site-packages a the default often gets this wrong
configure: error: Didn't get Python site packages install path.
Set it with --with-site-packages
So to deal with this rerun configure. For Python 2.7 and Ubuntu, python packages seem to be installed in /usr/lib/pymodules/python2.7
. So I run:
$ ./configure --with-site-packages=/usr/lib/pymodules/python2.7
Then run make
, make check
and make install
:
$ make
$ make check
$ sudo make install
Or drop the "sudo" if you don't need root privileges.