Summary: | app-misc/gramps-3.0.1-r1: configure fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bartłomiej Syryjczyk <guzik> |
Component: | Current packages | Assignee: | Steve Dibb (RETIRED) <beandog> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrex, fauli, gengor, write2David |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
config.log build.log write2david Build.log |
Description
Bartłomiej Syryjczyk
2008-06-16 10:22:16 UTC
Please provide both the output of emerge --info, the build log and the config.log that the build system mentioned. Created attachment 157183 [details]
emerge --info
Created attachment 157185 [details]
config.log
Created attachment 157187 [details]
build.log
same failure here but on a 32bit system checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages checking for sh... /bin/sh checking Python bindings for gtk2.10 (pygtk2>=2.10.0)... configure: error: **** The python bindings for gtk 2.4 (pygtk2>=2.10.0) could not be found. (In reply to comment #0) > app-misc/gramps-3.0.1-r1: failed to build / upgrade > > Reproducible: Always > > Steps to Reproduce: > 1. emerge app-misc/gramps > or > 1. emerge -u app-misc/gramps > Actual Results: > [...] > checking for python extension module directory... > ${exec_prefix}/lib64/python2.5/site-packages > checking for sh... /bin/sh > checking Python bindings for gtk2.10 (pygtk2>=2.10.0)... configure: error: > > **** The python bindings for gtk 2.4 (pygtk2>=2.10.0) could not be found. > [...] > > > I've got dev-python/pygtk-2.12.0 installed > same failure here but on 32bit system python2.4 and python 2.5 is installed but .. checking for a Python interpreter with version >= 2.5... python checking for python... /usr/bin/python checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages checking for sh... /bin/sh checking Python bindings for gtk2.10 (pygtk2>=2.10.0)... configure: error: **** The python bindings for gtk 2.4 (pygtk2>=2.10.0) could not be found. (In reply to comment #0) > app-misc/gramps-3.0.1-r1: failed to build / upgrade > > Reproducible: Always > > Steps to Reproduce: > 1. emerge app-misc/gramps > or > 1. emerge -u app-misc/gramps > Actual Results: > [...] > checking for python extension module directory... > ${exec_prefix}/lib64/python2.5/site-packages > checking for sh... /bin/sh > checking Python bindings for gtk2.10 (pygtk2>=2.10.0)... configure: error: > > **** The python bindings for gtk 2.4 (pygtk2>=2.10.0) could not be found. > [...] > > > I've got dev-python/pygtk-2.12.0 installed > For those still having issues: update to python-2.5 (now stable) if you haven't already, run python-updater, then re-merge pygtk. gramps should then emerge ok. WFM at least. Thanks for the idea, but it did not fix the "python bindings" error for me. idea is nice - but error still remains .. Python bindings for gtk could not be found . on x86 the suggestion fixed the problem but on amd64 unfortunately not .. Please try adding "sqlite" USE flag (and maybe even sqlite3?), re-merge python and then try emerging gramps again. Created attachment 162634 [details]
write2david Build.log
After fixing pygtk/symlink emerge error, now my gramps error changes.
Sorry, should have included this note with the build.log attachment I just added: Trying the suggestion of "sqlite" to fix the "Python bindings for gtk2" error: On x86, I added the "sqlite" USE flag to python, re-emerged python, attempted to emerge gramps, and it failed with the same error. BUT, I noticed that whenever I re-emerge pygtk, I get "unable to establish symlink" errors. Using this* site, I fixed that, re-emerged python as well, and now I get a different error when emerging gramps (see build.log attachment). *http://forums.gentoo.org/viewtopic-t-575963-start-0-postdays-0-postorder-asc-highlight-pygtk.html (In reply to comment #11) > Created an attachment (id=162634) [edit] > write2david Build.log > > After fixing pygtk/symlink emerge error, now my gramps error changes. Okay, I started with the "python bindings for gtk2..." error (on an x86), and Gramps finally emerges/runs now. 1) Following Gordon's suggestion (above) I added the "sqlite" USE flag to python (in /etc/portage/package.use) 2) Then do some reinstalls to fix the "pygtk symlink errors" noted above: emerge -avN pygobject pygtk python 3) Then update: python-updater 4) Compile/install gramps: emerge -avN gramps 5) Gramps emerges, but fails to run, showing an error that ends with: "Import error: no module named cairo" 6) So: emerge -av pycairo 7) Gramps now runs. I suppose I should have added a "-1" to each emerge command above (except for emerging gramps itself). Dunno how many of the above steps are absolutely necessary or are related to issues/problems unique to my system. Adding myself as I am a maintainer and were never added. My guess is that most problems have to do with the upgrade of Python to 2.5. Has everybody run python-updater and still have the problems? What about the way David suggested. Please put your hands up if you still have problems. Meanwhile I added a check for USE=sqlite on Python. (In reply to comment #15) > Meanwhile I added a check for USE=sqlite on Python. After adding this check the error messages on lines 33-36 in app-misc/gramps-3.0.1-r1 ebuild also need updating. When dev-lang/python is built with berkdb and without sqlite USE flags (as was the case on my test machine) the build process currently fails with a bit misleading message. Maybe a better wording for the message would be: eerror "You need to install python with Berkely Database and sqlite support." eerror "Add 'dev-lang/python berkdb sqlite' to /etc/portage/package.use " eerror "and then re-emerge python." die "berkdb or sqlite support missing from dev-lang/python" Other than that, re-emerging dev-lang/python with sqlite USE flag was enough to get app-misc/gramps-3.0.1-r1 installed and running on my x86 system.
> Maybe a better wording for the message would be:
Fixed, thanks for the note. Closing this bug now.
|