[C++-sig] import problems with Boost.Python on Cygwin

Koen Van Herck koen_van_herck at yahoo.com
Wed Mar 8 21:48:26 CET 2006


Yes, I did rebuild everything (libboost_python, my extension module, and
every library that it uses) from source.
I did not rebuild Python. I used the binary Python install from cygwin,
which I did not update. Could that be the problem?

Regards,
Koen.

-----Original Message-----
From: c++-sig-bounces at python.org [mailto:c++-sig-bounces at python.org]On
Behalf Of David Abrahams
Sent: woensdag 8 maart 2006 20:59
To: c++-sig at python.org
Subject: Re: [C++-sig] import problems with Boost.Python on Cygwin


Koen Van Herck <koen_van_herck at yahoo.com> writes:

> I've got a Boost.Python project working fine on cygwin 1.5.18, python
2.4.1
> (cygwin binary install), gcc 3.4.4. When I recently ran the cygwin
setup.exe
> it automatically upgraded cygwin to 1.5.19, and now my project still
> compiles fine but when I import my module in Python's interactive shell,
> python silently returns to the shell prompt. No error, just exits. I
rebuilt
> Boost.Python from source, but no difference.
> I reverted cygwin to 1.5.18, and it works fine again.

You probably need to rebuild your libboost_python and all related
extension modules.

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig




More information about the Cplusplus-sig mailing list