BIND 10 #2812: missing module "_ctypes" in Python3.1 from OpenCSW on Solaris 10 SPARC
BIND 10 Development
do-not-reply at isc.org
Sun Feb 24 15:52:47 UTC 2013
#2812: missing module "_ctypes" in Python3.1 from OpenCSW on Solaris 10 SPARC
-------------------------------------+-------------------------------------
Reporter: cas | Type:
Status: new | defect
Milestone: New Tasks | Priority:
Keywords: | medium
Sensitive: 0 | Component: Boss
Sub-Project: DNS | of BIND
Estimated Difficulty: 0 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I've managed to compile BIND 10 without errors on Solaris 10 SPARC, but
when I try to start "bind10" it stops with
{{{
bash-3.00# bind10
Traceback (most recent call last):
File "/usr/local/libexec/bind10/b10-init", line 71, in <module>
import isc.cc
File "/usr/local/lib/python3.1/site-packages/isc/__init__.py", line 7,
in <module>
import isc.datasrc
File "/usr/local/lib/python3.1/site-packages/isc/datasrc/__init__.py",
line 10, in <module>
import ctypes
File "/opt/csw/lib/python3.1/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
}}}
testing the import on the Python3 command line:
{{{
Python 3.1.2 (r312:79147, Sep 10 2011, 18:52:31) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/opt/csw/lib/python3.1/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /opt/csw/lib/python3.1/lib-
dynload/readline.so
>>> import ctypes
import ctypes # directory /opt/csw/lib/python3.1/ctypes
# /opt/csw/lib/python3.1/ctypes/__init__.pyc matches
/opt/csw/lib/python3.1/ctypes/__init__.py
import ctypes # precompiled from
/opt/csw/lib/python3.1/ctypes/__init__.pyc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/csw/lib/python3.1/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
}}}
Maybe the configure script can test for all the Python modules imported,
so that missing modules in Python can be detected early in the build
process
--
Ticket URL: <http://bind10.isc.org/ticket/2812>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list