From owner-freebsd-ports@FreeBSD.ORG Tue Aug 4 11:45:48 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE2BA106566C for ; Tue, 4 Aug 2009 11:45:48 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5CBC88FC1C for ; Tue, 4 Aug 2009 11:45:47 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id BF02134D460; Tue, 4 Aug 2009 12:45:36 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Tue, 4 Aug 2009 12:45:36 +0100 User-Agent: KMail/1.11.4 (FreeBSD/7.2-RELEASE-p2; KDE/4.2.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908041245.36593.david@vizion2000.net> Cc: churanov.port.maintainer@gmail.com, marcus@freebsd.org Subject: Python extensions problem on compiling www/epiphany & (related??) devel/boost-python-libs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 11:45:49 -0000 FreeBSD dns1.vizion2000.net 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64- builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Unable to find python extensions in epiphany: checking for X11/XF86keysym.h... yes checking whether Python support is requested... yes checking whether /usr/local/bin/python2.6 version >= 2.3... yes checking for /usr/local/bin/python2.6 version... 2.6 checking for /usr/local/bin/python2.6 platform... freebsd7 checking for /usr/local/bin/python2.6 script directory... ${prefix}/lib/python2.6/site-packages checking for /usr/local/bin/python2.6 extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for headers required to compile python extensions... not found configure: error: Python not found ===> Script "configure" failed unexpectedly. I do not how the headers are meant to get there or know what headers to look for but here is a listing from: dns1# pwd /usr/local/lib/python2.6/site-packages dns1# ls -l total 4744 drwxr-xr-x 2 root wheel 512 Aug 2 18:49 Alacarte -r--r--r-- 1 root wheel 1002 Aug 2 18:59 CORBA.py -rw-r--r-- 1 root wheel 161 Aug 3 23:36 CORBA.pyc -rw-r--r-- 1 root wheel 161 Aug 3 23:36 CORBA.pyo drwxr-xr-x 7 root wheel 512 Aug 3 13:02 Crypto drwxr-xr-x 6 root wheel 1024 Aug 2 09:36 Numeric -rw-r--r-- 1 root wheel 8 Aug 2 09:36 Numeric.pth -rwxr-xr-x 1 root wheel 1123 Aug 2 18:59 ORBit.la -rwxr-xr-x 1 root wheel 108971 Aug 2 18:59 ORBit.so drwxr-xr-x 3 root wheel 512 Aug 3 13:02 OpenSSL -r--r--r-- 1 root wheel 1026 Aug 2 18:59 PortableServer.py -rw-r--r-- 1 root wheel 170 Aug 3 23:36 PortableServer.pyc -rw-r--r-- 1 root wheel 170 Aug 3 23:36 PortableServer.pyo -rw-r--r-- 1 root wheel 319 Aug 2 16:22 PyXML-0.8.4-py2.6.egg-info -r--r--r-- 1 root wheel 119 Aug 3 23:36 README -rw-r--r-- 1 root wheel 265394 Aug 2 18:51 _dbus_bindings.a -rwxr-xr-x 1 root wheel 910 Aug 2 18:51 _dbus_bindings.la -rwxr-xr-x 1 root wheel 161924 Aug 2 18:51 _dbus_bindings.so -rw-r--r-- 1 root wheel 6840 Aug 2 18:51 _dbus_glib_bindings.a -rwxr-xr-x 1 root wheel 1147 Aug 2 18:51 _dbus_glib_bindings.la -rwxr-xr-x 1 root wheel 10001 Aug 2 18:51 _dbus_glib_bindings.so -rwxr-xr-x 1 root wheel 92782 Aug 2 16:21 _sqlite3.so drwxr-xr-x 10 root wheel 512 Aug 2 16:22 _xmlplus drwxr-xr-x 2 root wheel 1024 Aug 2 14:21 atom drwxr-xr-x 4 root wheel 1024 Aug 3 23:38 butterfly drwxr-xr-x 2 root wheel 512 Aug 2 09:16 cairo drwxr-xr-x 3 root wheel 1536 Aug 2 18:51 dbus -rw-r--r-- 1 root wheel 33 Aug 2 18:51 dbus_bindings.py -rw-r--r-- 1 root wheel 191 Aug 3 23:36 dbus_bindings.pyc -rw-r--r-- 1 root wheel 191 Aug 3 23:36 dbus_bindings.pyo drwxr-xr-x 7 root wheel 512 Aug 2 21:40 deskbar -r--r--r-- 1 root wheel 15061 Aug 2 10:20 drv_libxml2.py -rw-r--r-- 1 root wheel 11409 Aug 3 23:36 drv_libxml2.pyc -rw-r--r-- 1 root wheel 11409 Aug 3 23:36 drv_libxml2.pyo -rw-r--r-- 1 root wheel 272 Aug 2 21:40 easy-install.pth drwxr-xr-x 2 root wheel 1024 Aug 3 10:38 elementtree -rw-r--r-- 1 root wheel 749 Aug 3 10:38 elementtree-1.2.6_20050316- py2.6.egg-info -rw-r--r-- 1 root wheel 122792 Aug 3 09:00 empathy.a -rwxr-xr-x 1 root wheel 2489 Aug 3 09:00 empathy.la -rwxr-xr-x 1 root wheel 118000 Aug 3 09:00 empathy.so -rw-r--r-- 1 root wheel 95322 Aug 3 09:00 empathygtk.a -rwxr-xr-x 1 root wheel 3272 Aug 3 09:00 empathygtk.la -rwxr-xr-x 1 root wheel 91516 Aug 3 09:00 empathygtk.so -rw-r--r-- 1 root wheel 191924 Aug 3 16:16 farsight.a -rwxr-xr-x 1 root wheel 1353 Aug 3 16:16 farsight.la -rwxr-xr-x 1 root wheel 128317 Aug 3 16:16 farsight.so drwxr-xr-x 24 root wheel 1536 Aug 2 14:21 gdata -rw-r--r-- 1 root wheel 1471 Aug 2 14:21 gdata-2.0.0-py2.6.egg-info drwxr-xr-x 7 root wheel 1024 Aug 3 09:26 glchess drwxr-xr-x 3 root wheel 1536 Aug 3 09:27 gnome_sudoku drwxr-xr-x 3 root wheel 512 Aug 2 14:14 gst-0.10 -rwxr-xr-x 1 root wheel 1296 Aug 2 14:14 gstoption.la -rwxr-xr-x 1 root wheel 8286 Aug 2 14:14 gstoption.so drwxr-xr-x 13 root wheel 1536 Aug 2 19:01 gtk-2.0 -rwxr-xr-x 1 root wheel 2157 Aug 3 14:17 gtksourceview2.la -rwxr-xr-x 1 root wheel 81596 Aug 3 14:17 gtksourceview2.so -rw-r--r-- 1 root wheel 25870 Aug 3 14:14 gtkvnc.a -rwxr-xr-x 1 root wheel 2058 Aug 3 14:14 gtkvnc.la -rwxr-xr-x 1 root wheel 29664 Aug 3 14:14 gtkvnc.so drwxr-xr-x 3 root wheel 1536 Aug 3 09:14 hamster drwxr-xr-x 4 root wheel 512 Aug 2 16:23 hotapps drwxr-xr-x 2 root wheel 512 Aug 2 16:23 hotvte drwxr-xr-x 5 root wheel 1536 Aug 2 16:23 hotwire -rw-r--r-- 1 root wheel 221 Aug 2 16:23 hotwire-0.721-py2.6.egg-info drwxr-xr-x 4 root wheel 1536 Aug 2 16:23 hotwire_ui drwxr-xr-x 2 root wheel 1024 Aug 2 19:58 invest -r--r--r-- 1 root wheel 339697 Aug 2 10:20 libxml2.py -rw-r--r-- 1 root wheel 449260 Aug 3 23:36 libxml2.pyc -rw-r--r-- 1 root wheel 449260 Aug 3 23:36 libxml2.pyo -rw-r--r-- 1 root wheel 566954 Aug 2 10:20 libxml2mod.a -rwxr-xr-x 1 root wheel 906 Aug 2 10:20 libxml2mod.la -rwxr-xr-x 1 root wheel 459859 Aug 2 10:20 libxml2mod.so drwxr-xr-x 2 root wheel 1024 Aug 3 14:15 mod_python -rw-r--r-- 1 root wheel 254 Aug 3 14:15 mod_python-3.3.1-py2.6.egg- info drwxr-xr-x 3 root wheel 4608 Aug 2 19:02 orca drwxr-xr-x 8 root wheel 1024 Aug 3 13:02 papyon -rw-r--r-- 1 root wheel 896 Aug 3 13:02 papyon-0.4.1-py2.6.egg-info -rw-r--r-- 1 root wheel 573 Aug 3 13:02 pyOpenSSL-0.8-py2.6.egg-info drwxr-xr-x 2 root wheel 512 Aug 3 12:53 pyatspi -rw-r--r-- 1 root wheel 629 Aug 3 13:02 pycrypto-2.0.1-py2.6.egg-info -rw-r--r-- 1 root wheel 9 Aug 2 14:14 pygst.pth -rw-r--r-- 1 root wheel 2051 Aug 2 14:14 pygst.py -rw-r--r-- 1 root wheel 1179 Aug 3 23:36 pygst.pyc -rw-r--r-- 1 root wheel 1179 Aug 3 23:36 pygst.pyo -rw-r--r-- 1 root wheel 8 Aug 2 09:31 pygtk.pth -r--r--r-- 1 root wheel 2961 Aug 2 09:31 pygtk.py -rw-r--r-- 1 root wheel 2098 Aug 3 23:36 pygtk.pyc -rw-r--r-- 1 root wheel 1805 Aug 3 23:36 pygtk.pyo -rw-r--r-- 1 root wheel 511063 Aug 2 21:40 setuptools-0.6c9-py2.6.egg -rw-r--r-- 1 root wheel 29 Aug 2 21:40 setuptools.pth -rw-r--r-- 1 root wheel 72744 Aug 2 21:40 simplejson-2.0.9-py2.6- freebsd-7.2-RELEASE-p2-amd64.egg -r--r--r-- 1 root wheel 2362 Aug 2 21:40 site.py -rw-r--r-- 1 root wheel 1783 Aug 3 23:36 site.pyc -rw-r--r-- 1 root wheel 1783 Aug 3 23:36 site.pyo drwxr-xr-x 5 root wheel 512 Aug 3 13:02 telepathy -rw-r--r-- 1 root wheel 192 Aug 3 13:02 telepathy_python-0.15.10- py2.6.egg-info -rw-r--r-- 1 root wheel 26592 Aug 3 16:17 tpfarsight.a -rwxr-xr-x 1 root wheel 1368 Aug 3 16:17 tpfarsight.la -rwxr-xr-x 1 root wheel 33423 Aug 3 16:17 tpfarsight.so dns1# I am also getting a ?(possibly) related ? compile problem with boost-python- libs: In file included from ./boost/python/detail/wrap_python.hpp:142, from ./boost/python/detail/prefix.hpp:13, from ./boost/python/ssize_t.hpp:9, from ./boost/python/object.hpp:8, from ./boost/python/exec.hpp:8, from libs/python/src/exec.cpp:6: /usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory libs/python/src/exec.cpp: In function 'boost::python::api::object boost::python::exec_file(boost::python::str, boost::python::api::object, boost::python::api::object)': libs/python/src/exec.cpp:42: warning: deprecated conversion from string constant to 'char*' ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link- static/threading-multi/exec.o... gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link- static/threading-multi/object/function_doc_signature.o "c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall - pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi/object/function_doc_signature.o" "libs/python/src/object/function_doc_signature.cpp" In file included from ./boost/python/detail/wrap_python.hpp:142, from ./boost/python/detail/prefix.hpp:13, from ./boost/python/converter/registrations.hpp:8, from libs/python/src/object/function_doc_signature.cpp:6: /usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link- static/threading-multi/object/function_doc_signature.o... ...skipped libboost_python.a(clean) for lack of numeric.o... ...skipped libboost_python.a for lack of numeric.o... ...skipped libboost_python.a for lack of libboost_python.a... ...failed updating 56 targets... ...skipped 6 targets... ...updated 15 targets... *** Error code 1 Stop in /usr/ports/devel/boost-python-libs. *** Error code 1 Stop in /usr/ports/devel/boost-python-libs.