-----BEGIN PGP SIGNED MESSAGE----- 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 conftest.py 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: $PYTHON conftest.py has_pygnome=`cat conftest.out` rm -f conftest.out conftest.py 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 conftest.py 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? - -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF7zQufHLPwpj1/JQRAhIpAKC8HWg1nfQu8uYqBMxXNo/fzBiUaQCcCdDI qGRoJ5DvsuDuD4haLY6COwA= =DWos -----END PGP SIGNATURE-----
Le 07-03-07 à 16:52, Paul Beard a écrit :
-----BEGIN PGP SIGNED MESSAGE----- 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 conftest.py 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: $PYTHON conftest.py has_pygnome=`cat conftest.out` rm -f conftest.out conftest.py 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 conftest.py 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. yves
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 7, 2007, at 6:37 PM, Yves de Champlain wrote:
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.
yeah, I looked into it: pretty opaque to me ;-)
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.
I have done that. I'll see if anything comes of it. Thanks. - -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF74NYfHLPwpj1/JQRAqwXAKC6CjPKjdlwrHXQztsB7TEfZKN9DgCeMo/v WOaVM0ASFHlbP0sKFANFE9A= =MTCN -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 7, 2007, at 6:37 PM, Yves de Champlain wrote:
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.
Well, sort of. there's code in configure that creates a file, then runs it, capturing the output. I'm including the maintainer of py-gnome on this, since that seems to be the latest sticking point.
checking Python bindings for gnome... ./configure: line 6025: 819 Bus error $PYTHON conftest.py cat: conftest.out: No such file or directory
checking Python bindings for gconf... ^C./configure: line 6052: 824 Bus error $PYTHON conftest.py cat: conftest.out: No such file or directory
checking Python bindings for gnome vfs... gnomevfs checking Python bindings for glade... configure: error:
**** The python bindings for glade (pygtk2-libglade) could not be found. tichy:~/gramps-2.2.6 root# port info py-gnome py-gnome 2.16.2, python/py-gnome (Variants: universal) http://www.daa.com.au/~james/software/pygtk/
- -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF74aafHLPwpj1/JQRAu9fAJ41CGwRjJBI95bToC+9HPnMe2YOJwCgrFu8 FwR4v8DzvngMHRp3vXbK93Y= =2BoH -----END PGP SIGNATURE-----
Le 07-03-07 à 22:44, Paul Beard a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mar 7, 2007, at 6:37 PM, Yves de Champlain wrote:
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.
Well, sort of. there's code in configure that creates a file, then runs it, capturing the output.
I'm including the maintainer of py-gnome on this, since that seems to be the latest sticking point.
checking Python bindings for gnome... ./configure: line 6025: 819 Bus error $PYTHON conftest.py cat: conftest.out: No such file or directory
checking Python bindings for gconf... ^C./configure: line 6052: 824 Bus error $PYTHON conftest.py cat: conftest.out: No such file or directory
checking Python bindings for gnome vfs... gnomevfs checking Python bindings for glade... configure: error:
**** The python bindings for glade (pygtk2-libglade) could not be found.
There is a problem here too, py-gtk2 is supposed to provide the glade bindings too. yves
participants (2)
-
Paul Beard
-
Yves de Champlain