Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED - Evince emerge fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Nov 14, 2007 12:40 pm    Post subject: SOLVED - Evince emerge fails Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed Nov 14, 2007 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Nov 14, 2007 9:14 pm    Post subject: SOLVED-Evince won't emerge Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed Nov 14, 2007 9:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Nov 14, 2007 10:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Thu Nov 15, 2007 8:15 am    Post subject: Reply with quote

If you go to your original post and click on the "Edit" button there you can change the title of the thread.

Cheers :D

slack
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum