Re: Building psycopg2 with mx support

"James Henstridge" <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On 25/01/2008, jl <[email protected]> wrote:
> Hello,
>
> I am having a problem build psycop2 with mx.DateTime support. The library is
> being built on CentOS 4.4 with mx.DateTime installed. The library builds
> fine however,
> when psyopg2.__version__ is executed, mx does not show up in the list. It is
> also worth pointing out that I tried building the library on Windows XP and
> Ubuntu and in those cases, mx.DateTime does show up in the
> psyopg2.__version__ output.
>
> Any advice would be appreciated!

Perhaps there is an extra package you need to install with the
mx.DateTime headers in it?  On my Ubuntu system, I have the following
headers:
    /usr/include/python2.4/mx/mxDateTime.h
    /usr/include/python2.5/mx/mxDateTime.h

Are those headers installed on your system? (just the ones for your
version of Python, of course).

James.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.