Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gedit, eog, epiphany won't compile [Solved]
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
Jamesbch
Apprentice
Apprentice


Joined: 30 Sep 2007
Posts: 185

PostPosted: Thu Jul 17, 2008 2:24 pm    Post subject: gedit, eog, epiphany won't compile [Solved] Reply with quote

Hello,

As usual I update my gentoo, it goes well until revdep is running. "Packages containing binaries and libraries broken by a package update will be emerged." So I let it continue. When Gedit is emerge, it give me an error.

revdep .

Code:
GJamesb jamesb # revdep-rebuild -i
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/eog (requires  libpython2.4.so.1.0)
  broken /usr/bin/epiphany (requires  libpython2.4.so.1.0)
  broken /usr/bin/gedit (requires  libpython2.4.so.1.0)
  broken /usr/bin/vmware-mount (requires  libfuse.so.2) # <=== Don't need to care about this one (was here before)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot  =www-client/epiphany-2.20.3 =media-gfx/eog-2.20.4 =app-editors/gedit-2.20.4-r1


Epiphany cannot be emerge, neither eog, and gedit !
In gnome I cannot open the image viewer, the text editor !

What is the probleme ?

Code:
GJamesb jamesb # emerge -pv epiphany eog gedit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] www-client/epiphany-2.20.3  USE="python -debug -doc -networkmanager -spell -xulrunner" 0 kB
[ebuild   R   ] media-gfx/eog-2.20.4  USE="jpeg python -dbus -debug -lcms" 0 kB
[ebuild   R   ] app-editors/gedit-2.20.4-r1  USE="python -debug -doc -spell -xattr" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB


Here is "/var/tmp/portage/media-gfx/eog-2.20.4/temp/environment":
http://pastebin.com/m67d5f9bf

Please help me, :?


Last edited by Jamesbch on Thu Jul 17, 2008 5:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
smerf
l33t
l33t


Joined: 06 Nov 2004
Posts: 778
Location: Polska

PostPosted: Thu Jul 17, 2008 2:39 pm    Post subject: Reply with quote

Do you have libxml2 with USE="python"?

Can you post error from gedit compilation? This one is from eog only.
_________________
Microsoft is not the answer, Microsoft is the question, the answer is no.
Back to top
View user's profile Send private message
Jamesbch
Apprentice
Apprentice


Joined: 30 Sep 2007
Posts: 185

PostPosted: Thu Jul 17, 2008 2:49 pm    Post subject: Reply with quote

Hello smerf,

1/ Yes, [ebuild R ] dev-libs/libxml2-2.6.31 USE="python readline -bootstrap -build -debug -doc -examples -ipv6 -test" 0 kB

2/ Yes, no probleme.
http://pastebin.com/m218d8bd7 (error file)
http://pastebin.com/m2bdff37b (emerge error)


Do you need anything else ?
Kernel:
Linux GJamesb 2.6.24-gentoo-r3 #7 SMP Thu May 1 14:51:46 Local time zone must be set--see zic m i686 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
smerf
l33t
l33t


Joined: 06 Nov 2004
Posts: 778
Location: Polska

PostPosted: Thu Jul 17, 2008 3:01 pm    Post subject: Reply with quote

Strange, this is why I asked about libxml2

Quote:
Traceback (most recent call last):
File "/usr/bin/xml2po", line 35, in <module>
import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/bin/xml2po", line 35, in <module>
import libxml2
ImportError: No module named libxml2



Code:
# python
Python 2.4.4 (#1, Jul  5 2008, 08:41:51)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libxml2
>>> libxml2.__file__
'/usr/lib/python2.4/site-packages/libxml2.py'
>>>
# equery belongs /usr/lib/python2.4/site-packages/libxml2.py
[ Searching for file(s) /usr/lib/python2.4/site-packages/libxml2.py in *... ]
dev-libs/libxml2-2.6.31 (/usr/lib/python2.4/site-packages/libxml2.py)


Perhaps rebuild app-text/gnome-doc-utils:

Code:
# equery belongs /usr/bin/xml2po
[ Searching for file(s) /usr/bin/xml2po in *... ]
app-text/gnome-doc-utils-0.6.1 (/usr/bin/xml2po)


Can you run this utility? Have you upgraded python recently?
_________________
Microsoft is not the answer, Microsoft is the question, the answer is no.
Back to top
View user's profile Send private message
Jamesbch
Apprentice
Apprentice


Joined: 30 Sep 2007
Posts: 185

PostPosted: Thu Jul 17, 2008 3:20 pm    Post subject: Reply with quote

Ok I found it !

This is the new version of Python 2.5.2-r5 (updated 1h ago). I masked it and emerged the old one: python-2.4.4-r13. I works now.

On Python 2.5.2-r5 I could not import libxml2 (not found). But now I can again.
The softwares which didn't work work again.
Gedit is compiling. After a `emerge gnome-doc-utils`, eog and epiphany are compiling.

I can continue to mask the new version of Python but ... I would know why there is this bug and when it will be fixed?

Thank you smerf ! Good job 8)
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Thu Jul 17, 2008 6:42 pm    Post subject: Reply with quote

Jamesbch wrote:
Ok I found it !

This is the new version of Python 2.5.2-r5 (updated 1h ago). I masked it and emerged the old one: python-2.4.4-r13. I works now.

On Python 2.5.2-r5 I could not import libxml2 (not found). But now I can again.
The softwares which didn't work work again.
Gedit is compiling. After a `emerge gnome-doc-utils`, eog and epiphany are compiling.

I can continue to mask the new version of Python but ... I would know why there is this bug and when it will be fixed?

Thank you smerf ! Good job 8)


Re-emerging gnome-doc-utils did the magic and everything compiles fine with Python 2.5. Gnome-doc-utils should be actually re-emerged by python-update, but it wasn't. It's a bug in python-update (I think).

J.
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