From: Don A. <don...@co...> - 2007-07-18 16:11:56
|
My guess is that the problem is a combination of pygtk and pycairo. These should usually be upgraded together in accordance to the guidelines setup by the pygtk group. pygtk 2.10 + pycairo 1.2.0 works just fine. pygtk 2.10 + pycairo 1.2.4 may not. Requiring users to use 1.2.6 or greater because 1.2.4 does work is not the right thing to do. 1.2.0 works just fine. Don On Wed, 2007-07-18 at 16:31 +0200, J=C3=A9r=C3=B4me wrote: > Don, >=20 > > I am running under 7.04. As far as I know, everything works okay with p= ython-cairo-1.2.0. I'm not sure, but I think this requirement might be a bi= t too aggressive.=20 >=20 >=20 > Previously, I used py(cairo) 1.2.4 : >=20 > python gramps.py > Traceback (most recent call last): > File "gramps.py", line 50, in ? > import gtk.gdk > File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line > 48, in ? > from gtk import _gtk > File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1, in= ? > from _cairo import * > ImportError: /usr/lib/python2.4/site-packages/cairo/_cairo.so: undefined > symbol: cairo_pdf_surface_set_dpi >=20 >=20 > update to cairo and py(cairo) 1.2.6 fix this issue ... >=20 > Maybe just avoid python-cairo 1.2.4 !!! > Or it is the set python 4.1 + py(gtk) 2.10 + py(cairo) 1.2.4 ? >=20 > > For the time being, until Alex and I clear this up >=20 > I asked for a possible rule for cairo binding to avoid error, > like rules for Windows OS installer:=20 > http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/windows/nsis/gcheck= .py?view=3Dmarkup >=20 >=20 >=20 > Don Allingham a =C3=A9crit : > > St=C3=A9phane, > >=20 > > I am running under 7.04. As far as I know, everything works okay with > > python-cairo-1.2.0. I'm not sure, but I think this requirement might be > > a bit too aggressive.=20 > >=20 > > For the time being, until Alex and I clear this up, edit the > > configure.in file, and change line 106 from: > >=20 > > if version >=3D (1,2,6): > >=20 > > to: > >=20 > > if version >=3D (1,2,0): > >=20 > > Don > >=20 > >=20 > > On Wed, 2007-07-18 at 01:08 -0700, St=C3=A9phane Charette wrote: > >> SHORT VERSION: Anyone else running Gramps v3 on Ubuntu v7.04? > >> > >> If so... > >> > >> LONG VERSION: > >> > >> I've checked out version 3.0 from subversion using the following comma= nd: > >> > >> svn co https://gramps.svn.sourceforge.net/svnroot/gramps/trunk trunk > >> > >> I'd like to run it from the same directory as I've checked out. This > >> page helps: > >> > >> http://www.gramps-project.org/wiki/index.php?title=3DInstallation_alte= rnatives > >> > >> I've installed about a dozen dependencies needed by autogen.sh, > >> including M4, gnome-common, and many more. However, I'm blocked at > >> the following: > >> > >> checking Python bindings for gtk2.10 (pygtk2>=3D2.10.0)... 2.12.3 > >> checking Python bindings for cairo (python-cairo>=3D1.2.6)... configur= e: error: > >> **** The python bindings for cairo (python-cairo>=3D1.2.6) could not b= e found. > >> > >> Looking through Synaptic Package Manager, the most recent version of > >> python-cairo I see is 1.2.0-1ubuntu2, which is what I have installed. > >> Going directly to http://cairographics.org/, I see that the most > >> recent version is 1.4.10. > >> > >> Has anyone else had to deal with this? Was there an easy solution? > >> > >> (Easy would mean a way to get Synaptic/apt-get to download and install > >> a newer version of Cairo. I suspect the solution will be along the > >> lines of "download-the-source-and-build/install-it-yourself".) > >> > >> St=C3=A9phane |