[MacPorts] #26186: python25: No module named _ctypes (was: python25 @2.5.5 + PsychoPy: NameError: name 'ctypes' is not defined)
MacPorts
noreply at macports.org
Thu May 5 02:44:06 PDT 2011
#26186: python25: No module named _ctypes
----------------------------------+-----------------------------------------
Reporter: joe.paxton@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: python25
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):
* cc: jwa@… (removed)
* cc: ryandesign@… (added)
* owner: macports-tickets@… => jwa@…
* port: python25 py25-psychopy => python25
Comment:
Indeed, python25 does not install the ctypes module, though it should, and
though other ports rightly expect it to. python25 installs without error,
but if you look in the verbose build output, it says:
{{{
*** WARNING: renaming "_ctypes" since importing it failed:
dlopen(build/lib.macosx-10.6-i386-2.5/_ctypes.so, 2): Symbol not found:
_ffi_call
Referenced from:
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_python25/work/Python-2.5.5/build/lib.macosx-10.6-i386-2.5/_ctypes.so
Expected in: flat namespace
in
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_python25/work/Python-2.5.5/build/lib.macosx-10.6-i386-2.5/_ctypes.so
}}}
--
Ticket URL: <https://trac.macports.org/ticket/26186#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list