Changes between Version 1 and Version 2 of PythonZopePsycopg


Ignore:
Timestamp:
Feb 15, 2010, 12:40:27 PM (14 years ago)
Author:
fknauft
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PythonZopePsycopg

    v1 v2  
    1 Python:
     1
     2== Python: ==
     3
     4
     5{{{
    26cd .../Python-2.4.5
     7
    38./configure --prefix=/usr/local/Python-2.4.5 MACOSX_DEPLOYMENT_TARGET=10.5
     9
    410#FJK not anmyore necessary: echo '#define SETPGRP_HAVE_ARG' >> pyconfig.h
     11
    512make
    613make test
     
    916make install
    1017
    11 Zope:
     18}}}
     19
     20
     21== Zope: ==
     22
     23
     24{{{
    1225cd .../Zope-2.11.1-final
     26
    1327./configure --prefix=/usr/local/Zope-2.11.1 --with-python=/usr/local/Python-2.4.5/bin/python
     28
    1429make
    1530sudo mkdir /usr/local/Zope-2.11.1
     
    2338./Users/fknauft/zopeinstance/bin/zopectl start
    2439
    25 Psycopg2:
     40}}}
     41
     42
     43== Psycopg2: ==
     44
     45
     46{{{
    2647cd .../psycopg2-2.0.8
     48
    2749/usr/local/Python-2.4.5/bin/python setup.py build
     50
     51
     52}}}
    2853falls bei setup.py build Fehler: ./psycopg/psycopg.h:27:22: error: libpg-fe.h No such file...
    2954dann fehlt in setup.cfg der Pfad zu pg_config! Also ergänzen!
    3055
     56
     57{{{
    3158/usr/local/Python-2.4.5/bin/python setup.py install
    3259cp -r ZPsycopgDA /Users/fknauft/zopeinstance/Products
    3360
     61}}}
     62
    3463Start Zope:
     64
     65{{{
    3566Users/fknauft/zopeinstance/bin/runzope
     67
     68}}}
    3669oder
     70
     71{{{
    3772Users/fknauft/zopeinstance/bin/zopectl start
    3873
     74}}}
     75
    3976Start Postgres:
     77
     78{{{
    4079loging postgres
    4180PW wa55er
    4281cd /opt/local/lib/postgresql83/bin
    4382./postgres -D /database/chinagis
     83
     84}}}