back to - https://it-dev.mpiwg-berlin.mpg.de/tracs/GIS/wiki/SystInst System Installation
With Mac OSX 10.6
Python:
download patch from http://svn.plone.org/svn/collective/buildout/python/src/python-2.4-darwin-10.6.patch
cd .../Python-2.4.6 patch -b -p0 <python-2.4-darwin-10.6.patch ./configure --prefix=/usr/local/Python-2.4.6 MACOSX_DEPLOYMENT_TARGET=10.6 make make test sudo mkdir /usr/local/Python-2.4.6 sudo chmod 777 /usr/local/Python-2.4.6 make install
Zope:
cd .../Zope-2.11.5-final ./configure --prefix=/usr/local/Zope-2.11.5 --with-python=/usr/local/Python-2.4.6/bin/python2.4 make sudo mkdir /usr/local/Zope-2.11.5 sudo chmod 777 /usr/local/Zope-2.11.5 make install /usr/local/Zope-2.11.5/bin/mkzopeinstance.py Directory: /Users/fknauft/zopeinstance Username: ......... (z.B. zopeadmin, fknauft) Passwort: ......... (z.B. 3333, fk1211) Verify passwort: .......... ./Users/fknauft/zopeinstance/bin/zopectl start
Psycopg2:
tar xzvf psycopg2-2.0.13.tar.gz cd .../psycopg2-2.0.13 /usr/local/Python-2.4.6/bin/python2.4 ./setup.py build
falls bei setup.py build Fehler: ./psycopg/psycopg.h:27:22: error: libpg-fe.h No such file... dann fehlt in setup.cfg der Pfad zu pg_config! Also ergänzen!
sudo /usr/local/Python-2.4.6/bin/python2.4 ./setup.py install cp -r ZPsycopgDA /Users/fknauft/zopeinstance/Products
Start Zope:
Users/fknauft/zopeinstance/bin/runzope
oder
Users/fknauft/zopeinstance/bin/zopectl start
Start Postgres:
login postgres PW wa55er cd /opt/local/lib/postgresql83/bin ./postgres -D /database/chinagis
Last modified 14 years ago
Last modified on Feb 15, 2010, 5:52:46 PM