logo       

ctypes 0.9.2 on cygwin: msg#00038

python.ctypes

Subject: ctypes 0.9.2 on cygwin

Has any else tried to install ctypes 0.9.2 in cygwin?

Indications are that previous versions worked on cygwin.

I am running a fully up-to-date cygwin on Win XP (fully patched but without SP2).

Cygwin currently installs Python 2.3.4

The .zip archive will not build on cygwin, as it expects the windows extensions (and probably msvc).

The .tar.gz archive builds and installs, but 59 of 175 unit tests fail.

I unpacked the .tar.gz; and did
python setup.py build
python setup.py install
cd unittest; python runtests.py

Some tests failed:

$ python runtests.py
Warning: could not import test_unicode.py: dlsym, Win32 error 127
.................................EEEEEEEEEEEEEEEEEEEEEEEEEEE.....EEE.E
EEE.EEEEEE....................................EE...EEEEEEEEE.E....E.EE
.E..E........................E....E
======================================================================
ERROR: test_integrate (test_callbacks.SampleCallbacksTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/cygdrive/d/Download/Python/ctypes-0.9.2/unittests/test_callbacks.py", line 123, in test_integrate
integrate = dll.integrate
File "/usr/lib/python2.3/site-packages/ctypes/__init__.py", line 296, in __getattr__
func = self._CdeclFuncPtr(name, self)
AttributeError: dlsym, Win32 error 127

======================================================================

<snip>

----------------------------------------------------------------------
Ran 175 tests in 4.845s

FAILED (errors=59)



It looks like all the other failures are at the same point.

I don't have any code which uses ctypes, so I have to rely on the self tests.





-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise