New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctypes extension does not compile on Mac OS 10.3.9 #43109
Comments
I compiled Python from CVS this morning. It silently failed to compile gcc [deleted] -c /Users/dalke/cvses/python-svn/Modules/_ctypes/ Python installed but when I tried to import ctypes I got File "/usr/local/lib/python2.5/ctypes/init.py", line 8, in I tracked it down to the '+live_support' attribute from the Thomas Heller (in private email) pointed out the text from the ctypes
Upgrading is out of the option. I set the environment variable but that |
Logged In: YES As a temporary fix, I removed the '+live_support' attribute Thanks, Thomas |
Logged In: YES Sorry - was ill and not doing anything for a week. I've built the latest code from SVN. No problems with the compilation and I I did get the following compiler warnings /Users/dalke/cvses/python-svn/Modules/_ctypes/cfield.c: In function /Users/dalke/cvses/python-svn/Modules/_ctypes/libffi/src/powerpc/ When I run the self test I get one error FAILED (errors=1)
Traceback (most recent call last):
File "Lib/test/test_ctypes.py", line 12, in <module>
test_main()
File "Lib/test/test_ctypes.py", line 9, in test_main
run_suite(unittest.TestSuite(suites))
File "/Users/dalke/cvses/python-svn/Lib/test/test_support.py", line 285, in
run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
File "/Users/dalke/cvses/python-svn/Lib/ctypes/test/test_loading.py", line
30, in test_load
cdll.load(libc_name)
File "/Users/dalke/cvses/python-svn/Lib/ctypes/_loader.py", line 112, in
load
return self._load(libname, mode)
File "/Users/dalke/cvses/python-svn/Lib/ctypes/_loader.py", line 153, in
_load
return self.load_library(pathname, mode)
File "/Users/dalke/cvses/python-svn/Lib/ctypes/_loader.py", line 124, in
load_library
return self._dlltype(libname, mode)
File "/Users/dalke/cvses/python-svn/Lib/ctypes/__init__.py", line 288, in
__init__
self._handle = _dlopen(self._name, mode)
OSError: dlcompat: unable to open this file with RTLD_LOCAL which is probably ignorable - OS X has its own sense of what shared libraries |
Logged In: YES Thanks for the feedback. For the warnings in Modules/_ctypes/cfield.c, I have no idea For the warnings in the libffi-sources I tend to ignore them For the test-failure: can you find out why this fails? (In the meantime I'm trying to get hold of 10.3 installation |
Logged In: YES I forgot to close this item. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: