This project is archived and is in readonly mode.
Unable to compile on CentOS 5.5 x86_64
-
Daniele Varrazzo
- State changed from new to open
- Milestone set to release-2.3.1
- Tag changed from rel-2.3.0 to build, rel-2.3.0
- Milestone order changed from 16 to 0
Confirm the build problem on CentOS 5.5 X86_64.
The following preliminary patch allows the library to build
--- psycopg/psycopgmodule.c.orig 2010-12-02 21:08:20.000000000 -0500 +++ psycopg/psycopgmodule.c 2010-12-02 21:08:42.000000000 -0500 @@ -48,7 +48,6 @@ #include "psycopg/adapter_asis.h" #include "psycopg/adapter_list.h" #include "psycopg/typecast_binary.h" -#include "psycopg/typecast_datetime.h" #ifdef HAVE_MXDATETIME #include <mxDateTime.h>Likely the
#include "psycopg/typecast_mxdatetime.h"a few lines below should be dropped too if compiling withmx.DateTimesupport enabled.We will look into a better fix for the next release.