Changes between Version 1 and Version 2 of PythonZopePsycopg
- Timestamp:
- Feb 15, 2010, 12:40:27 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonZopePsycopg
v1 v2 1 Python: 1 2 == Python: == 3 4 5 {{{ 2 6 cd .../Python-2.4.5 7 3 8 ./configure --prefix=/usr/local/Python-2.4.5 MACOSX_DEPLOYMENT_TARGET=10.5 9 4 10 #FJK not anmyore necessary: echo '#define SETPGRP_HAVE_ARG' >> pyconfig.h 11 5 12 make 6 13 make test … … 9 16 make install 10 17 11 Zope: 18 }}} 19 20 21 == Zope: == 22 23 24 {{{ 12 25 cd .../Zope-2.11.1-final 26 13 27 ./configure --prefix=/usr/local/Zope-2.11.1 --with-python=/usr/local/Python-2.4.5/bin/python 28 14 29 make 15 30 sudo mkdir /usr/local/Zope-2.11.1 … … 23 38 ./Users/fknauft/zopeinstance/bin/zopectl start 24 39 25 Psycopg2: 40 }}} 41 42 43 == Psycopg2: == 44 45 46 {{{ 26 47 cd .../psycopg2-2.0.8 48 27 49 /usr/local/Python-2.4.5/bin/python setup.py build 50 51 52 }}} 28 53 falls bei setup.py build Fehler: ./psycopg/psycopg.h:27:22: error: libpg-fe.h No such file... 29 54 dann fehlt in setup.cfg der Pfad zu pg_config! Also ergänzen! 30 55 56 57 {{{ 31 58 /usr/local/Python-2.4.5/bin/python setup.py install 32 59 cp -r ZPsycopgDA /Users/fknauft/zopeinstance/Products 33 60 61 }}} 62 34 63 Start Zope: 64 65 {{{ 35 66 Users/fknauft/zopeinstance/bin/runzope 67 68 }}} 36 69 oder 70 71 {{{ 37 72 Users/fknauft/zopeinstance/bin/zopectl start 38 73 74 }}} 75 39 76 Start Postgres: 77 78 {{{ 40 79 loging postgres 41 80 PW wa55er 42 81 cd /opt/local/lib/postgresql83/bin 43 82 ./postgres -D /database/chinagis 83 84 }}}