this is what "configure" complains about:

macbookpro:~/Desktop/psycopg-1.1.21 oliver$ ./configure
--with-postgres-libraries=/Library/PostgreSQL8/lib
--with-postgres-includes=/Library/PostgreSQL8/include
checking for python... /usr/local/bin/python
checking python version... 2.4
checking python installation prefix...
/Library/Frameworks/Python.framework/Versions/2.4
checking python installation exec_prefix...
/Library/Frameworks/Python.framework/Versions/2.4
checking definitions in Python library makefile... done
checking location of python library... $(prefix)/lib/python2.4/site-packages
checking location of python shared modules...
$(exec_prefix)/lib/python2.4/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for inline... inline
checking PostgreSQL version... 8.1
checking PostgreSQL type catalog...
/Library/PostgreSQL8/include/postgresql/server/catalog/pg_type.h
checking for mxDateTime.h... configure: error: can't build without mx headers

I know this seems to be some lib but I don't know where to find it...

---

I also tried MysqlDB which compiles fine but throws a runtime error:

macbookpro:~/mysite oliver$ python manage.py runserverValidating models...
Unhandled exception in thread started by <function inner_run at 0x77b930>
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/management.py",
line 757, in inner_run
    validate()
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/management.py",
line 741, in validate
    num_errors = get_validation_errors(outfile)
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/management.py",
line 634, in get_validation_errors
    import django.models
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/models/__init__.py",
line 1, in ?
    from django.core import meta
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/__init__.py",
line 3, in ?
    from django.core import db
  File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/db/__init__.py",
line 23, in ?
    raise ImproperlyConfigured, "Could not load database backend: %s.
Is your DATABASE_ENGINE setting (currently, %r) spelled correctly?
Available options are: %s" % \
django.core.exceptions.ImproperlyConfigured: Could not load database
backend: Failure linking new module:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_mysql.so:
Symbol not found: _uncompress
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_mysql.so
  Expected in: dynamic lookup
. Is your DATABASE_ENGINE setting (currently, 'mysql') spelled
correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql',
'sqlite3'

---
settings.py snippet:

DATABASE_ENGINE = 'mysql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = 'django'             # Or path to database file if
using sqlite3.
DATABASE_USER = 'root'             # Not used with sqlite3.
DATABASE_PASSWORD = ''         # Not used with sqlite3.
DATABASE_HOST = ''             # Set to empty string for localhost.
Not used with sqlite3.
DATABASE_PORT = ''             # Set to empty string for default. Not
used with sqlite3.

---

thanks,
oliver


On 5/22/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>
> I'm using mysql.
> if you paste the actual compiler error (either on list or privately)
> I'll try to help.
>
> regards
> Ian
>
> On 22/05/2006, at 8:06 PM, Oliver Kiessler wrote:
>
> >
> > thanks for the hint. I have Django with MacPython-2.4.3 running now.
> > what database adapter are you using? I tried psycopg which wouldn't
> > compile.
> >
> > - oliver
> >
> >
> > On 5/22/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >>
> >> I'm running it fine.
> >>
> >> I used the following: http://www.python.org/ftp/python/2.4.3/
> >> Universal-MacPython-2.4.3.dmg
> >>
> >> On 22/05/2006, at 6:14 PM, Oliver Kiessler wrote:
> >>
> >>>
> >>> hi there,
> >>> I have been playing around with Django this weekend but I
> >>> couldn't get
> >>> it installed on my Intel Mac running OSX (no problems on Ubuntu
> >>> Linux). I couldn't find any useful information searching google so I
> >>> was wondering if anyone can point me to a "howto". I used
> >>> darwinports
> >>> to compile python 2.4 and psycopg but both failed...
> >>>
> >>> thanks,
> >>> oliver
> >>> X-Google-Language: ENGLISH,ASCII-7-bit
> >>> Received: by 10.54.68.14 with SMTP id q14mr186704wra;
> >>>        Mon, 22 May 2006 01:14:46 -0700 (PDT)
> >>> Return-Path: <[EMAIL PROTECTED]>
> >>> Received: from nz-out-0102.google.com ([64.233.162.202])
> >>>        by mx.googlegroups.com with ESMTP id v23si900553cwb.
> >>> 2006.05.22.01.14.45;
> >>>        Mon, 22 May 2006 01:14:46 -0700 (PDT)
> >>> Received-SPF: pass (googlegroups.com: domain of
> >>> [EMAIL PROTECTED] designates 64.233.162.202 as permitted
> >>> sender)
> >>> DomainKey-Status: good (test mode)
> >>> Received: by nz-out-0102.google.com with SMTP id 12so877103nzp
> >>>        for <django-users@googlegroups.com>; Mon, 22 May 2006
> >>> 01:14:44 -0700 (PDT)
> >>> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
> >>>        s¾ta; d=gmail.com;
> >>>        h=received:message-id:date:from:to:subject:mime-
> >>> version:content-type:content-transfer-encoding:content-disposition;
> >>>
> >>> b=Nv9LCuBrrybarlI40OXgXRGeLjs0zI7Jn2z81H8FKGJV55IN41GFo4hbOb9DMFyX0a
> >>> nu
> >>> CnCfgTMzWPhm5wcjEjl/AMAF1USIhAAmv7sLff/
> >>> Joj4xzVQD22rfvujw9M6aA9plXVax27nmTiPbcymPARdxtHD0Q8VYiqKpeLVgs7URece
> >>> iv
> >>> ed: by 10.36.38.12 with SMTP id l12mr5028305nzl;
> >>>        Mon, 22 May 2006 01:14:44 -0700 (PDT)
> >>> Received: by 10.36.141.16 with HTTP; Mon, 22 May 2006 01:14:44
> >>> -0700 (PDT)
> >>> Message-ID:
> >>> <[EMAIL PROTECTED]>
> >>> Date: Mon, 22 May 2006 10:14:44 +0200
> >>> From: "Oliver Kiessler" <[EMAIL PROTECTED]>
> >>> To: django-users@googlegroups.com
> >>> Subject: Django on Intel mac?
> >>> Mime-Version: 1.0
> >>> Content-Type: text/plain
> >>> Content-Transfer-Encoding: quoted-printable
> >>>
> >>> hi there,
> >>> I have been playing around with Django this weekend but I
> >>> couldn't get
> >>> it installed on my Intel Mac running OSX (no problems on Ubuntu
> >>> Linux). I couldn't find any useful information searching google so I
> >>> was wondering if anyone can point me to a "howto". I used
> >>> darwinports
> >>> to compile python 2.4 and psycopg but both failed...
> >>>
> >>> thanks,
> >>> oliver
> >>>
> >>>>
> >>
> >>
> >>>
> >>
> >
> >
> > --
> > oliver kiessler
> > j2ee software architect . senior technical consultant
> > luxemburger str. 266 . 50937 koeln . germany
> > voice +49.221.3562125 . fax +49.2561.959195624
> > home www.inceedo.com . blog blog.inceedo.com
> > skype okiessler . aim okiessler2
> >
> > >
>
> X-Google-Language: ENGLISH,ASCII
> Received: by 10.54.68.17 with SMTP id q17mr190053wra;
>         Mon, 22 May 2006 03:52:50 -0700 (PDT)
> Return-Path: <[EMAIL PROTECTED]>
> Received: from circe.holsman.net (218-214-209-234.people.net.au 
> [218.214.209.234])
>         by mx.googlegroups.com with ESMTP id 
> v23si936869cwb.2006.05.22.03.52.46;
>         Mon, 22 May 2006 03:52:49 -0700 (PDT)
> Received-SPF: neutral (googlegroups.com: 218.214.209.234 is neither permitted 
> nor denied by domain of [EMAIL PROTECTED])
> Received: from [127.0.0.1] (localhost [127.0.0.1])
>         by circe.holsman.net (Postfix) with ESMTP id 6C90F1CDA72
>         for <django-users@googlegroups.com>; Mon, 22 May 2006 20:52:32 +1000 
> (EST)
> Mime-Version: 1.0
> Content-Type: text/plain; charsetISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> In-Reply-To: <[EMAIL PROTECTED]>
> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> Message-Id: <[EMAIL PROTECTED]>
> From: Ian Holsman <[EMAIL PROTECTED]>
> Subject: Re: Django on Intel mac?
> Date: Mon, 22 May 2006 20:52:31 +1000
> To: django-users@googlegroups.com
> X-Mailer: Apple Mail (2.750)
>
> I'm using mysql.
> if you paste the actual compiler error (either on list or privately)
> I'll try to help.
>
> regards
> Ian
>
> On 22/05/2006, at 8:06 PM, Oliver Kiessler wrote:
>
> >
> > thanks for the hint. I have Django with MacPython-2.4.3 running now.
> > what database adapter are you using? I tried psycopg which wouldn't
> > compile.
> >
> > - oliver
> >
> >
> > On 5/22/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >>
> >> I'm running it fine.
> >>
> >> I used the following: http://www.python.org/ftp/python/2.4.3/
> >> Universal-MacPython-2.4.3.dmg
> >>
> >> On 22/05/2006, at 6:14 PM, Oliver Kiessler wrote:
> >>
> >>>
> >>> hi there,
> >>> I have been playing around with Django this weekend but I
> >>> couldn't get
> >>> it installed on my Intel Mac running OSX (no problems on Ubuntu
> >>> Linux). I couldn't find any useful information searching google so I
> >>> was wondering if anyone can point me to a "howto". I used
> >>> darwinports
> >>> to compile python 2.4 and psycopg but both failed...
> >>>
> >>> thanks,
> >>> oliver
> >>> X-Google-Language: ENGLISH,ASCII-7-bit
> >>> Received: by 10.54.68.14 with SMTP id q14mr186704wra;
> >>>        Mon, 22 May 2006 01:14:46 -0700 (PDT)
> >>> Return-Path: <[EMAIL PROTECTED]>
> >>> Received: from nz-out-0102.google.com ([64.233.162.202])
> >>>        by mx.googlegroups.com with ESMTP id v23si900553cwb.
> >>> 2006.05.22.01.14.45;
> >>>        Mon, 22 May 2006 01:14:46 -0700 (PDT)
> >>> Received-SPF: pass (googlegroups.com: domain of
> >>> [EMAIL PROTECTED] designates 64.233.162.202 as permitted
> >>> sender)
> >>> DomainKey-Status: good (test mode)
> >>> Received: by nz-out-0102.google.com with SMTP id 12so877103nzp
> >>>        for <django-users@googlegroups.com>; Mon, 22 May 2006
> >>> 01:14:44 -0700 (PDT)
> >>> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
> >>>        s¾ta; d=gmail.com;
> >>>        h=received:message-id:date:from:to:subject:mime-
> >>> version:content-type:content-transfer-encoding:content-disposition;
> >>>
> >>> b=Nv9LCuBrrybarlI40OXgXRGeLjs0zI7Jn2z81H8FKGJV55IN41GFo4hbOb9DMFyX0a
> >>> nu
> >>> CnCfgTMzWPhm5wcjEjl/AMAF1USIhAAmv7sLff/
> >>> Joj4xzVQD22rfvujw9M6aA9plXVax27nmTiPbcymPARdxtHD0Q8VYiqKpeLVgs7URece
> >>> iv
> >>> ed: by 10.36.38.12 with SMTP id l12mr5028305nzl;
> >>>        Mon, 22 May 2006 01:14:44 -0700 (PDT)
> >>> Received: by 10.36.141.16 with HTTP; Mon, 22 May 2006 01:14:44
> >>> -0700 (PDT)
> >>> Message-ID:
> >>> <[EMAIL PROTECTED]>
> >>> Date: Mon, 22 May 2006 10:14:44 +0200
> >>> From: "Oliver Kiessler" <[EMAIL PROTECTED]>
> >>> To: django-users@googlegroups.com
> >>> Subject: Django on Intel mac?
> >>> Mime-Version: 1.0
> >>> Content-Type: text/plain
> >>> Content-Transfer-Encoding: quoted-printable
> >>>
> >>> hi there,
> >>> I have been playing around with Django this weekend but I
> >>> couldn't get
> >>> it installed on my Intel Mac running OSX (no problems on Ubuntu
> >>> Linux). I couldn't find any useful information searching google so I
> >>> was wondering if anyone can point me to a "howto". I used
> >>> darwinports
> >>> to compile python 2.4 and psycopg but both failed...
> >>>
> >>> thanks,
> >>> oliver
> >>>
> >>>>
> >>
> >>
> >>>
> >>
> >
> >
> > --
> > oliver kiessler
> > j2ee software architect . senior technical consultant
> > luxemburger str. 266 . 50937 koeln . germany
> > voice +49.221.3562125 . fax +49.2561.959195624
> > home www.inceedo.com . blog blog.inceedo.com
> > skype okiessler . aim okiessler2
> >
> > >
>
>
> >
>


-- 
oliver kiessler
j2ee software architect . senior technical consultant
luxemburger str. 266 . 50937 koeln . germany
voice +49.221.3562125 . fax +49.2561.959195624
home www.inceedo.com . blog blog.inceedo.com
skype okiessler . aim okiessler2

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to