...
Code Block |
---|
$ cd /usr/local/src/TARFILES $ wget http://modwsgi.googlecode.com/files/mod_wsgi-3.3.tar.gz $ cd ../ $ tar xvfz TARFILES/mod_wsgi-3.3.tar.gz $ cd mod_wsgi-3.3 $ ./configure --with-python=/usr/local/python27/bin/python $ make clean $ make $ sudo make install |
upgrade psycopg2
Code Block |
---|
$ cd /usr/local/src/TARFILES/
$ wget http://www.psycopg.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4.5.tar.gz
$ cd ../
$ tar xvfz TARFILES/psycopg2-2.4.5.tar.gz
$ cd psycopg2-2.4.5/
$ sudo /usr/local/python27/bin/python2.7 setup.py install
$ /usr/local/python27/bin/python2.7
Python 2.7.3 (default, May 16 2012, 09:40:25)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
>>> exit()
$ |
upgrade proj.4
upgrade geos
...