Andrew Benton wrote:
> On Fri, 16 Dec 2011 00:46:48 -0600
> Bruce Dubbs <[email protected]> wrote:
> 
>> This is getting complicated.  I can build and install dbus-1.4.16.tar.gz 
>> without noticing any problems.
>>
>> In order to run the tests, I need:
>>
>> D-Bus GLib Bindings (update to 0.98)
>> D-Bus Python Bindings (update to 0.84.0)
>>    which now needs
>>      PyGObject (update to 2.28.6)
>>        which needs
>>          gobject-introspection (update to 1.31.1)
>>          pycairo (update to 1.10.0_
>>            which fails with "The python version is too old, expecting 
>> (3, 1, 0)" (I do have python3 installed, but 'python' is 2.7.2).
> 
> You need py2cairo:
> http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2

Thanks Andy.  I get:

configure: error: cannot find install-sh, install.sh, or shtool in "." 
"./.." "./../..

however,
   ./waf configure --prefix=/usr
   ./waf build
   ./waf install
works.  It does not seem to honor DESTDIR though.

alternatively I can do:
autoreconf -i
./configure --prefix=/usr
make
make DESTDIR=/tmp/py2 install

It installs:
include/pycairo/pycairo.h
lib/pkgconfig/pycairo.pc

lib/python2.7/site-packages/cairo:
__init__.py  __init__.pyc  __init__.pyo  _cairo.la  _cairo.so


---------------
PyGObject fails though.  It gives me
   error: 'GI_INFO_TYPE_ERROR_DOMAIN' undeclared
in three places.  :(

gobject-introspection-1.31.1 is too new.
   ./configure --prefix=/usr --disable-introspection
works.

At least I can get the dbus tests to work now (all pass).

Investigating gobject-introspection-1.31.1, I see:

typedef enum {
...
GI_INFO_TYPE_INVALID_0,    /* 10 */  /** DELETED - used to be 
ERROR_DOMAIN **/
...
}

GI_INFO_TYPE_ERROR_DOMAIN is present in gobject-introspection-1.29.17, 
but not in 1.30.0.

I'll get all this updated a little later today.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to