[egenix-users] RE: Psycopg on Solaris 8 with egenix mxDateTime
Cole, Timothy
Timothy.Cole at usfc.com
Sun Mar 9 19:02:21 CET 2003
Chris,
I was able to discover how to get psycopg to compile on Solaris. It turned
out to be in the egenix mxDateTime module.
Just edit the egenix-mx-base-2.0.4/mx/DateTime/mxDateTimemxDateTime.c file
Comment out these lines around line 80 BEFORE you run "python setup.py
install".
#define MXDATETIME_FREELIST
#define MXDATETIMEDELTA_FREELIST
like so.
/* #define MXDATETIME_FREELIST*/
/* #define MXDATETIMEDELTA_FREELIST */
Hope this works for you.
Complete everything else as instructed in the install's/readme's/etc.
BTW, My environment is as follows.
Solaris 8 on a SunFire 280R
Zope 2.6.1
Postgres 7.3.2
Egenix-mx-base 2.0.4
Psycopg 1.1.2
Gcc 3.2.2
Python 2.1.3
Cheers,
Timothy Cole
Systems Engineer, Midrange Systems
-----Original Message-----
From: christov at mac.com [mailto:christov at mac.com]
Sent: Thursday, March 06, 2003 2:59 PM
To: Cole, Timothy
Subject: Re: Psycopg on Solaris 8
Hi Tim,
My target (or at least immediate target) platform turned into Linux, so I
haven't worked on the psycopg issue on Solaris in quite a while.
I recall finding that it was really the mx.DateTime module that was broken
when compiled with gcc 3.x. I think that I rebuilt everything with SunPro cc
5.0 and it was fine, but I haven't tried anything in months.
Good luck,
Chris
On Wednesday, Mar 5, 2003, at 20:31 US/Pacific, Cole, Timothy wrote:
Chris,
Hi, was wondering if you had made any headway on the psycopg on Solaris 8?
I am running into the same problems and haven't been able to make any
forward progress.
Any help or pointers would be greatly appreciated.
Cheers,
Timothy Cole
Systems Engineer, Midrange Systems
USF Technology Services, Inc.
630 Kenmoor Ave. SE, Suite 200
Grand Rapids,Michigan49546
Ph. 616.802.1108
--
Chris Douty <cdouty at meer.net>
I don't have a funny quotation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20030309/f10c2558/attachment-0139.htm
More information about the egenix-users
mailing list