# uname -a Darwin starbug 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 (OS X 10.9.0) When building lang/python27 (or lang/python26), a number of modules aren't built: [...] Python build finished, but the necessary bits to build these modules were not found: dl gdbm imageop linuxaudiodev ossaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _AE _AH _App _bisect _CarbonEvt _CF _CG _Cm _codecs_cn _codecs_hk _codecs_iso2022 _codecs_jp _codecs_kr _codecs_tw _collections _csv _Ctl _ctypes _ctypes_test _Dlg _Drag _Evt _File _Fm _Folder _functools _hashlib _heapq _Help _hotshot _IBCarbon _Icn _io _json _Launch _List _locale _lsprof _Menu _Mlte _multibytecodec _multiprocessing _OSA _Qd _Qdoffs _Qt _random _Res _Scrap _Snd _socket _ssl _struct _TE _testcapi _Win array audioop autoGIL binascii bsddb185 bz2 cmath ColorPicker cPickle crypt cStringIO datetime dbm fcntl future_builtins gestalt grp icglue itertools MacOS math mmap Nav nis operator OSATerminology parser resource select strop syslog termios time unicodedata zlib [...] During installation I get this error because the _struct module isn't built. PYTHONPATH=/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7 DYLD_LIBRARY_PATH=`pwd`: \ ./python.exe -E -Wi -tt /usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/compileall.py \ -d /usr/pkg/lib/python2.7 -f \ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ /usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7 Traceback (most recent call last): File "/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/compileall.py", line 16, in <module> import struct File "/usr/pkgsrc-current/lang/python27/work/.destdir/usr/pkg/lib/python2.7/struct.py", line 1, in <module> from _struct import * ImportError: No module named _struct gnumake: *** [libinstall] Error 1 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/lang/python27 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/python27 Full build and install log is available at http://jdwhite.public.iastate.edu/darwin-python27.txt My mk.conf is: - - - - - - - - # Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc # Sun Nov 17 17:59:12 CST 2013 .ifdef BSD_PKG_MK # begin pkgsrc settings ABI= 64 PKGSRC_COMPILER= clang CC= clang CXX= clang++ CPP= ${CC} -E OSXVER= 10.9 XCODE= /Applications/Xcode.app/Contents/Developer XCBIN= ${XCODE}/Toolchains/XcodeDefault.xctoolchain/usr XCSDK= ${XCODE}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${OSXVER}.sdk CFLAGS+= -isysroot ${XCSDK} CPPFLAGS+= -isysroot ${XCSDK} FFLAGS+= -isysroot ${XCSDK} LDFLAGS+= -Wl,-syslibroot,${XCSDK} PKG_DBDIR= /usr/pkg/pkgdb LOCALBASE= /usr/pkg VARBASE= /usr/pkg/var PKG_TOOLS_BIN= /usr/pkg/sbin PKGINFODIR= info PKGMANDIR= man PACKAGES=/usr/pkg/packages/${OPSYS}/${OS_VERSION}/${MACHINE_ARCH} LOCALPATCHES=/usr/pkg/localpatches PACKAGES=/usr/pkg/packages DISTDIR=/usr/pkg/distfiles RCD_SCRIPTS_DIR=/usr/pkg/etc/rc.d TOOLS_PLATFORM.awk?= /usr/pkg/bin/nawk TOOLS_PLATFORM.sed?= /usr/pkg/bin/nbsed PKG_DEFAULT_OPTIONS+=-x11 PKG_DEFAULT_OPTIONS+=-xcb PREFER.openssl=pkgsrc ACCEPTABLE_LICENSES+= gnu-lgpl-v2.1 ACCEPTABLE_LICENSES+= unrar-license .endif # end pkgsrc settings - - - - - - - - Any thoughts on how to proceed? Thanks, -Jason -- Jason White jdwhite%menelos.com@localhost |