Changes between Version 7 and Version 8 of SetupOnTiger


Ignore:
Timestamp:
Jan 28, 2006, 5:36:27 PM (19 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SetupOnTiger

    v7 v8  
    1010
    1111 1. Download and unpack latest stable python tarball
    12  2. {{{./configure --prefix=/usr/local; make; make install}}}
    13  3. Add {{{export PATH=/usr/local/bin:$PATH}}} and {{{export MANPATH=/usr/local/man:$MANPATH}}} to {{{~/.profile}}}
    14  4. Open a new terminal session
    15  5. Type {{{python}}} and check that it is the version you just installed
     12 1. {{{./configure --prefix=/usr/local; make; make install}}}
     13 1. Add {{{export PATH=/usr/local/bin:$PATH}}} and {{{export MANPATH=/usr/local/man:$MANPATH}}} to {{{~/.profile}}}
     14 1. Open a new terminal session
     15 1. Type {{{python}}} and check that it is the version you just installed
    1616
    17 === Installing |PostgreSQL ===
     17=== Installing \PostgreSQL ===
    1818
    1919 1. Create a new user, ''postgres'' in the Accounts Pane of the Mac OS X System Preferences
     
    3030 1. Open a new window, and type {{{sudo -u postgres createdb test}}}. If it says {{{CREATE DATABASE}}}, it's working. :)
    3131
    32 === Installing psycopg (|PostgreSQL Bindings) ===
     32=== Installing psycopg (\PostgreSQL Bindings) ===
    3333
    3434At the time of this writing, the only stable version of ''psycopg'' is ''psycopg1''. The development version ''psycopg2'' is not supported by Django.
    3535
    36 1. Download the latest stable tartball of ''[mxDateTime](http://www.egenix.com/files/python/mxDateTime.html)''
    37 1. Unpack the tarball and go into the directory
    38 1. {{{python setup.py build}}}
    39 1. {{{sudo python setup.py install}}}
    40 1. {{{Download the latest stable tarball of psycopg1}}}
    41 1. {{{export MACOSX_DEPLOYMENT_TARGET=10.4}}}
    42 1. {{{export CPPFLAGS="-I/usr/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime"}}}
    43 1. {{{./configure --with-postgres-libraries=$(pg_config --libdir) --with-postgres-includes=$(pg_config --includedir)}}}
    44 1. {{{make}}}
    45 1. {{{sudo make install}}}
    46 1. Run {{{python}}}, type {{{import psycopg}}} into the interactive read-eval-print loop (REPL), and {{{quit}}} the REPL.
     36 1. Download the latest stable tartball of ''[mxDateTime](http://www.egenix.com/files/python/mxDateTime.html)''
     37 1. Unpack the tarball and go into the directory
     38 1. {{{python setup.py build}}}
     39 1. {{{sudo python setup.py install}}}
     40 1. {{{Download the latest stable tarball of psycopg1}}}
     41 1. {{{export MACOSX_DEPLOYMENT_TARGET=10.4}}}
     42 1. {{{export CPPFLAGS="-I/usr/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime"}}}
     43 1. {{{./configure --with-postgres-libraries=$(pg_config --libdir) --with-postgres-includes=$(pg_config --includedir)}}}
     44 1. {{{make}}}
     45 1. {{{sudo make install}}}
     46 1. Run {{{python}}}, type {{{import psycopg}}} into the interactive read-eval-print loop (REPL), and {{{quit}}} the REPL.
Back to Top