gramps and python issues

Yves de Champlain yves at
Wed Mar 7 18:37:39 PST 2007

Le 07-03-07 à 16:52, Paul Beard a écrit :

> Hash: SHA1
> On Mar 5, 2007, at 12:10 PM, Richard Taylor wrote:
>> I had exactly the same problem. I eventually came to the  
>> conclusion that the
>> pygtk build on Mac OSX is broken. I don't believe that it is  
>> anything to do
>> with gramps. I think that it is a combination of the gcc/gtk/pygtk  
>> versions
>> but I was unable to verify the exact problem.
> I have gone round and round on this. No closer to resolution.
>> In the end I abandoned trying to get it to work (after a 4 complete
>> uninstall/rebuild everything sessions with darwinports and fink)  
>> with either
>> fink or darwinports and worked out a way to make it work with a  
>> native gtk
>> build.
> If you are the maintainer, can that be rolled into a Portfile? It  
> would be a lot better of the py-gtk2/py-gnome stuff could be  
> resolved but I don't know how to get that going. It looks like  
> gramps is crapping on a failed test for py-gnome, but the actual  
> failure is a failure to run the test.
> checking for sh... /bin/sh
> checking Python bindings for gtk2.4 (pygtk2>=2.3.4)... ok
> checking Python bindings for gnome... ./configure: line 2324:  2894  
> Bus error               $PYTHON
> cat: conftest.out: No such file or directory
> configure: error:
> **** The python bindings for gnome 2.0 (gnome-python2) could not be  
> found.
> Line 2324 is the first line of this block:
> has_pygnome=`cat conftest.out`
> rm -f conftest.out
> if test YES != "$has_pygnome"
> then
>    { { echo "$as_me:$LINENO: error:
> **** The python bindings for gnome 2.0 (gnome-python2) could not be  
> found." >&5
> echo "$as_me: error:
> **** The python bindings for gnome 2.0 (gnome-python2) could not be  
> found." >&2;}
>    { (exit 1); exit 1; }; }
> fi
> The file doesn't exist in the ported version (2.0.10)  
> or the latest stable version (2.2.6): is it reasonable to expect it  
> there or should it part of some other tarball?

the conftest stuff is not a file, the code is in configure.  If you  
look around, in configure or config.log, you should find how the  
check for py-gnome is done.

At this point, it might be a good idea to notify the gramps  
developers.  They are the ones who actually wrote that stuff and  
developers usually welcome the opportunity to make their software  
easier to use for everyone.


More information about the macports-users mailing list