[egenix-users] Re: mx.DateTime:Solaris:gcc3.2:problem on import

M.-A. Lemburg mal at lemburg.com
Tue Nov 19 15:20:47 CET 2002


Donna Hanlon wrote:

> Actually, this is what happens when I try this in the build directory
> (which just happens to have an mx/DateTime subdirectory). ;-)
>
> When I'm smart enough to cd out of the build directory, I get "Bus error
> (core dumped)" when I import the gcc3.2-built mx.DateTime; works fine
> with the gcc2.95-built module.

You should always CD out of the build dir to test the
packages, since otherwise, Python picks up the mx dir
in the build dir (which doesn't include the compiled
extensions).

The bus error sounds like a problem, though. Have you built Python
using GCC 3.2 or 2.95 ?

>
> On Mon, 18 Nov 2002, Donna Hanlon  wrote:
>
> >When I build egenix-mx-base-2.0.3.tar.gz on SunOS 5.8 Generic_108528-14
> >sun4u sparc SUNW,Ultra-5_10 using gcc 3.2, using python 2.1.3, setup
> >seems to go fine.  It builds and installs smoothly.  But when I import
> >mx.DateTime, python crashes:
> >
> >Python 2.1.3 (#1, Nov 18 2002, 11:16:06)
> >[GCC 3.2] on sunos5
> >Type "copyright", "credits" or "license" for more information.
> >
> >>>>import mx.DateTime
> >
> >*** You don't have the (right) mxDateTime binaries installed !
> >Traceback (most recent call last):
> >  File "", line 1, in ?
> >  File "mx/DateTime/__init__.py", line 8, in ?
> >    from DateTime import *
> >  File "mx/DateTime/DateTime.py", line 9, in ?
> >    from mxDateTime import *
> >  File "mx/DateTime/mxDateTime/__init__.py", line 13, in ?
> >    raise ImportError, why
> >ImportError: No module named mxDateTime
>
>
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> http://lists.egenix.com/mailman/listinfo/egenix-users


-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/





More information about the egenix-users mailing list