[egenix-users] RE: Psycopg on Solaris 8 with egenix mxDateTime

M.-A. Lemburg mal at lemburg.com
Tue May 13 01:12:24 CEST 2003


Cole, Timothy wrote:
> 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.

Sounds like another broken optimizer. gcc3 seems to have lots
of these problems.

> 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 
> 
>  
> 
>   
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> http://lists.egenix.com/mailman/listinfo/egenix-users

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, May 13 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
EuroPython 2003, Charleroi, Belgium:                        42 days left



More information about the egenix-users mailing list