View previous topic :: View next topic |
Author |
Message |
Raoul Tux's lil' helper
Joined: 30 Jul 2006 Posts: 108 Location: Adelaide, Aust.
|
Posted: Wed Nov 14, 2007 12:40 pm Post subject: SOLVED - Evince emerge fails |
|
|
Hi Folks,
Hoping someone out there can help with an emerge problem with evince. I'm not quite sure how to go about fixing the following failure.
Code: |
make[3]: Leaving directory `/var/tmp/portage/app-text/evince-2.20.1/work/evince-2.20.1/help'
if [ -f "C/evince.xml" ]; then d="../"; else d="/var/tmp/portage/app-text/evince-2.20.1/work/evince-2.20.1/help/"; fi; \
(cd en_GB/ && \
`which xml2po` -e -p \
"${d}en_GB/en_GB.po" \
"${d}C/evince.xml" > evince.xml.tmp && \
cp evince.xml.tmp evince.xml && rm -f evince.xml.tmp)
xsltproc -o evince-C.omf --stringparam db2omf.basename evince --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/app-text/evince-2.20.1/work/evince-2.20.1/help/evince.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/evince.xml || { rm -f "evince-C.omf"; exit 1; }
Traceback (most recent call last):
File "/usr/bin/xml2po", line 35, in <module>
import libxml2
ImportError: No module named libxml2
make[2]: *** [en_GB/evince.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/app-text/evince-2.20.1/work/evince-2.20.1/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/evince-2.20.1/work/evince-2.20.1'
make: *** [all] Error 2
*
* ERROR: app-text/evince-2.20.1 failed.
|
Any assistance appreciated.
Regards
Raoul
Last edited by Raoul on Thu Nov 15, 2007 7:29 pm; edited 1 time in total |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Nov 14, 2007 2:20 pm Post subject: |
|
|
xml2po is part of app-text/gnome-doc-utils...
Code: |
$ equery belongs xml2po
[ Searching for file(s) xml2po in *... ]
app-text/gnome-doc-utils-0.12.0 (/usr/share/xml2po)
app-text/gnome-doc-utils-0.12.0 (/usr/bin/xml2po)
|
Checking the ebuild for app-text/evince-2.20.1 shows that this is a dependency of the ebuild...
Code: |
$ grep gnome-doc-utils /usr/portage/app-text/evince/evince-2.20.1.ebuild -A3 -B2
DEPEND="${RDEPEND}
app-text/scrollkeeper
>=app-text/gnome-doc-utils-0.3.2
>=dev-util/pkgconfig-0.9
>=sys-devel/automake-1.9
>=dev-util/intltool-0.35"
|
So it should have been pulled in as a dependency. Check that >=app-text/gnome-docu-utils-0.3.2 is installed ('genlop gnome-doc-utils' will tell you if and when it was installed, if genlop isn't installed emerge it, its very handy). Try re-emerging >=app-text/gnome-docu-utils-0.3.2 if everything looks okay. |
|
Back to top |
|
|
Raoul Tux's lil' helper
Joined: 30 Jul 2006 Posts: 108 Location: Adelaide, Aust.
|
Posted: Wed Nov 14, 2007 9:14 pm Post subject: SOLVED-Evince won't emerge |
|
|
Hi slack---line,
Thanks for giving me some tools to help me diagnose problems. I tried what you said, but the emerge still failed. What I have done now is re-emerged libxml2 and everything has worked just fine.
Thanks again for the pointers. Really appreciated.
Cheers
Raoul |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Nov 14, 2007 9:34 pm Post subject: |
|
|
Not a problem, glad you got it sorted.
Would be useful to others searching the forums if you edit the title to include [SOLVED]
Have fun,
slack |
|
Back to top |
|
|
Raoul Tux's lil' helper
Joined: 30 Jul 2006 Posts: 108 Location: Adelaide, Aust.
|
Posted: Wed Nov 14, 2007 10:24 pm Post subject: |
|
|
I thought I had. I typed a new subject heading like this:
SOLVED-Evince won't emerge
It seems it only applied it to my return post . Can you please advise how I get it into the thread subject?
[/topic]
Regards
Raoul |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Thu Nov 15, 2007 8:15 am Post subject: |
|
|
If you go to your original post and click on the "Edit" button there you can change the title of the thread.
Cheers
slack |
|
Back to top |
|
|
|