Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Mac OS X Installation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Can duruk  
View profile  
 More options Apr 25 2009, 2:36 pm
From: Can duruk <candu...@gmail.com>
Date: Sat, 25 Apr 2009 11:36:56 -0700 (PDT)
Local: Sat, Apr 25 2009 2:36 pm
Subject: Mac OS X Installation
Hey,

I just wanted to quickly document the installation steps that I needed
to do for installing Courant News on Mac OS X 10.5.6 (Leopard)

Based on http://jasonism.org/weblog/2008/nov/06/getting-psycopg2-work-mac-os-x...

* Download PostgreSQL and Install from http://www.postgresql.org/download/macosx
** Do not change any of the default settings.
** You'll have to restart after this step

* Now you need to install psycopg2
** Go to http://www.initd.org/pub/software/psycopg/
** Download the latest version of psycopg2 (at the time of writing, it
was 2.10). It's the file ends with tar.gz
** Unarchive the file into a folder (This might help
http://wakaba.c3.cx/s/apps/unarchiver.html)

* Now you'll change a few settings to build and install psycopg2
** Go to that folder
** Open up setup.cfg in a text editor
** Uncomment line 28 and change it to `pg_config=/Library/PostgreSQL/
8.3/bin/pg_config'
** Uncomment line 45 and change it to 'library_dirs=/Library/
PostgreSQL/8.3/lib'

* Now we'll build psycopg2
** Open up terminal and browse to where you unarchived psycopg2
** Run `python setup.py build`
** Run `python setup.py install`


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul O’Shannessy  
View profile  
 More options Apr 28 2009, 6:18 pm
From: Paul O’Shannessy <p...@oshannessy.com>
Date: Tue, 28 Apr 2009 15:18:59 -0700 (PDT)
Local: Tues, Apr 28 2009 6:18 pm
Subject: Re: Mac OS X Installation
So I've installed it the way you detail below before, and more
recently the way I'll mention...

You can install via macports (assuming you have Macports & XCode Tools
installed already), with no restart needed:

$ sudo port install postgresql83 postgresql83-server

Then follow the couple steps that follow to add a login item if you
want, and also add '/opt/local/lib/postgresql82/bin' to your path. In
more user-friendly steps: http://shifteleven.com/articles/2008/03/21/installing-postgresql-on-l...
(ignore the Ruby stuff). I used the +python variant of postgresql83,
but I'm not sure if you actually need it.

If you add Postgres to your path, then you don't need to edit the
setup.cfg file before running setup.py. I happen to already live in
Terminal and am set to use macports,  so these steps were easier for
me - just my 2 cents.

Thanks Can for putting these up. We'll be making them a part of the
official setup directions :)

--Paul

On Apr 25, 11:36 am, Can duruk <candu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »