[egenix-users] Trouble building 64-bit Version of mxDateTime
(prebuilt and source)
M.-A. Lemburg
mal at egenix.com
Wed Oct 24 23:28:40 CEST 2007
SNewman at tbo.com wrote:
> I'm trying to build mx.DateTime on my 64-bit CentOS machine so I can
> build Psycopg2.
>
>
>
> When I compile from source, I get this error (after many warnings and
> errors from mxDatetime.c)
>
>
>
> {standard input}: Assembler messages:
>
> {standard input}:165: Warning: size of "day" is already 1; not changing
> to 8
>
> error: command 'gcc' failed with exit status 1
You should send the complete dump of warnings and messages, since
gcc tries to continue compiling even if it finds an error early on.
> When I try to install the prebuilt version, I get errors that it
> couldn't find mx/mxDatetime.c. When I look in the mx directory, it's
> empty except for a directory called "Docs".
Did you install the prebuilt version using
python setup.py build --skip install
?
Note that the "build --skip" is necessary, since otherwise distutils
will try to build the package again, which fails, since the prebuilt
packages don't include the source code.
> Alternatively, does anyone know what would happen if I tried installing
> the 32-bit version?
That won't work: a 64-bit process cannot load 32-bit libraries.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Oct 24 2007)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the egenix-users
mailing list