Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2010 12:33:16 -0500
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Chris Brennan <xaero@xaerolimit.net>
Cc:        gnome@freebsd.org, FreeBSD Questions <freebsd-questions@freebsd.org>, freebsd-gnome@freebsd.org
Subject:   Re: py26-dbus
Message-ID:  <4D177C5C.1050402@freebsd.org>
In-Reply-To: <AANLkTi=gSJgNM-j86a%2BLeGQKmOAVBujsy4GFMU=rxa8d@mail.gmail.com>
References:  <AANLkTi=gSJgNM-j86a%2BLeGQKmOAVBujsy4GFMU=rxa8d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/26/10 11:11 AM, Chris Brennan wrote:
> While upgrading python to 2.6.x (by following /usr/src/UPDATING and running
> 'cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER')
> I get the following error msg from devel/py-dbus. Attached is the config
> file from the build-process. I can reproduce this by independently running
> make in the portdir (devel/py-dbus). The tree is current as of a few days
> ago. I've been getting this error for several weeks now and been unable to
> figure it out. /usr/src/UPDATING has nothing specific to py(26)-dbus. Just
> Python, which is what I was following.

You need to reinstall devel/pth.

Joe

> 
> FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun
> Oct 2401:53:03 EDT 2010 root@ziggy.xaerolimit.net:/usr/obj/usr/src/sys/ZIGGY
> i386
> 
> 
> [root@Ziggy [~]# cd /usr/ports/lang/python && make upgrade-site-packages
> -DUSE_PORTMASTER
> [..]
> ===>  License check disabled, port has not defined LICENSE
> ===>  Extracting for py26-dbus-0.83.2
> => SHA256 Checksum OK for dbus-python-0.83.2.tar.gz.
> ===>  Patching for py26-dbus-0.83.2
> ===>   py26-dbus-0.83.2 depends on file: /usr/local/bin/python2.6 - found
> ===>   py26-dbus-0.83.2 depends on executable: gmake - found
> ===>   py26-dbus-0.83.2 depends on package: libtool>=2.2 - found
> ===>   py26-dbus-0.83.2 depends on shared library: dbus-glib-1.2 - found
> ===>   py26-dbus-0.83.2 depends on shared library: intl - found
> ===>  Configuring for py26-dbus-0.83.2
> [..]
> checking whether /usr/local/bin/python2.6 version >= 2.4.0... 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 Python headers using /usr/local/bin/python2.6-config
> --includes... -I
> /usr/local/include/python2.6 -I/usr/local/include/python2.6
> checking whether those headers are sufficient... no
> configure: error: could not find Python headers
> ===>  Script "configure" failed unexpectedly.
> Please run the gnomelogalyzer, available from
> "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
> problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
> solve the problem, report the build failure to the FreeBSD GNOME team at
> gnome@FreeBSD.org, and attach (a)
> "/usr/ports/devel/py-dbus/work/dbus-python-0.83.2/config.log", (b) the
> output
> of the failed make command, and (c) the gnomelogalyzer output. Also, it
> might
> be a good idea to provide an overview of all packages installed on your
> system
> (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
> copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1)
> with
> the attachment. Try to avoid sending any attachments to the mailing list
> (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
> usually discarded by the mailing list software.
> *** Error code 1
> 
> Stop in /usr/ports/devel/py-dbus.
> [root@Ziggy [/usr/ports/devel/py-dbus]#
> 
> 
> Of the errror message, this is what stuck out the most for me;
> 
> [..]
> checking whether those headers are sufficient... no
> [..]
> 
> This tells me something is missing, but what? How do I figure out what
> headers aren't sufficient? Incidentally could this be the cause?
> 
> [..]
> [root@Ziggy [/usr/ports/lang/python]# lsl
> /usr/local/lib/python2.6/site-packages/
> total 20
>  2 drwxr-xr-x   3 root  wheel   512B Dec 18 14:55 .
> 14 drwxr-xr-x  28 root  wheel    14K Dec 18 14:45 ..
>  2 -r--r--r--   1 root  wheel   119B Dec 18 14:44 README
>  2 drwxr-xr-x   2 root  wheel   512B Dec 18 14:55 xcbgen
> [root@Ziggy [/usr/ports/lang/python]# lsl
> /usr/local/lib/python2.5/site-packages/
> total 350
>   2 drwxr-xr-x  3 root  wheel   512B Oct 14 14:47 .
>  14 drwxr-xr-x  3 root  wheel    13K Sep  8  2009 ..
> 178 -rw-r--r--  1 root  wheel   178K Mar 20  2009 _dbus_bindings.a
>   2 -rwxr-xr-x  1 root  wheel   910B Mar 20  2009 _dbus_bindings.la
> 130 -rwxr-xr-x  1 root  wheel   130K Mar 20  2009 _dbus_bindings.so
>   6 -rw-r--r--  1 root  wheel   4.5K Mar 20  2009 _dbus_glib_bindings.a
>   2 -rwxr-xr-x  1 root  wheel   1.1K Mar 20  2009 _dbus_glib_bindings.la
>   8 -rwxr-xr-x  1 root  wheel   7.2K Mar 20  2009 _dbus_glib_bindings.so
>   2 drwxr-xr-x  3 root  wheel   1.5K Mar 20  2009 dbus
>   2 -rw-r--r--  1 root  wheel    33B Mar 20  2009 dbus_bindings.py
>   2 -rw-r--r--  1 root  wheel   191B Mar 20  2009 dbus_bindings.pyc
>   2 -rw-r--r--  1 root  wheel   191B Mar 20  2009 dbus_bindings.pyo
> [root@Ziggy [/usr/ports/lang/python]#
> [..]
> 
> If I've missed anything, by all means, let me know and I shall provide it.
> 
> P.S. I cross-posted this to 'gnome at' as well as 'freebsd-gnome at' as I
> was unsure/unclear if they were the same list or not.
> 
> 
> 
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D177C5C.1050402>