Date: Wed, 28 Nov 2012 21:20:13 -0800 From: "Galati, Michael" <mcg+fbsd@sulfegate.org> To: Jakob Breivik Grimstveit <jakob@grimstveit.no> Cc: freebsd-stable@freebsd.org Subject: Re: Unable to compile Python 2.7.3 (latest) from ports on 9.1-RC3 Message-ID: <CAOicCEij9ftXTy_5Df3hnhJv=OVkbN=izT5Nr=icQkzPchUFDg@mail.gmail.com> In-Reply-To: <CAFVH1KXXtun1NwAvHZ_JkwjwgdBHM-Q1oK036Z0TrFiRL5GuCA@mail.gmail.com> References: <CAFVH1KXXtun1NwAvHZ_JkwjwgdBHM-Q1oK036Z0TrFiRL5GuCA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 28, 2012 at 1:31 AM, Jakob Breivik Grimstveit <jakob@grimstveit.no> wrote: > > I get this when compiling lang/python27 on a freshly upgraded 9.1-RC3: > > cc -shared -pthread -pthread -O2 -pipe -march=nocona -fno-strict-aliasing > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/_ctypes.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/callbacks.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/callproc.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/stgdict.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/cfield.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/prep_cif.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/closures.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/dlmalloc.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/ffi64.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/unix64.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/ffi.o > > build/temp.freebsd-9.1-RC3-amd64-2.7/usr/ports/lang/python27/work/Python-2.7.3/Modules/_ctypes/libffi/src/x86/sysv.o > -L/usr/local/lib -o build/lib.freebsd-9.1-RC3-amd64-2.7/_ctypes.so > > Python build finished, but the necessary bits to build these modules were > not found: > _tkinter dl imageop > linuxaudiodev spwd sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the > module's name. > (snip) Looks ok to me. You can run the python interpreter, right? sunaudiodev and linuxaudiodev, at least, you almost certainly don't need. spwd is for dealing with /etc/shadow (FreeBSD uses /etc/master.passwd instead, so it doesn't apply afaik). dl is deprecated in favour of ctypes (which you should have already). __tkinter is intentionally not included because it depends on X11; if you need it install x11-toolkits/py-tkinter. imageop is also deprecated, and would only work on i386; graphics/py-imaging is the replacement, apparently.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOicCEij9ftXTy_5Df3hnhJv=OVkbN=izT5Nr=icQkzPchUFDg>