Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error When Emergeing Metacity
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Sun Sep 10, 2006 11:15 pm    Post subject: Error When Emergeing Metacity Reply with quote

Ok so this is an off the wall crazy thing that I am doing here. I am a kde user and I want to mess around with the new metacity that came out with gnome 2.16. So I unmasked it and emerged it. Then I set KDEWM=metacity in /etc/env.d/99kde-env. It worked. But it disabled the composite stuff so I made an ebuild and enabled it. Now when I emerge I get this:
Code:
Building with libstartup-notification
checking Xcomposite >= 0.2... yes
CompositeExt support forced on
Building with CompositeExt
checking Xcursor... yes
Building with Xcursor
checking for METACITY... configure: error: Package requirements (gtk+-2.0 >= 2.10.0 pango >= 1.2.0 gconf-2.0 >= 1.2.0 libstartup-notification-1.0 >= 0.7 xcomposite >= 0.2 xfixes xrender xdamage cm xcursor) were not met:

No package 'cm' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables METACITY_CFLAGS
and METACITY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/metacity-2.16.0-r1/work/metacity-2.16.0/config.log

!!! ERROR: x11-wm/metacity-2.16.0-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--disable-xinerama' '--enable-compositor' '--disable-gtk-doc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'

I didnt have cm installed so I tried installing it and metacity gave the same error. Anyone have an idea of why and how to fix it? Thank you.
Back to top
View user's profile Send private message
xion
n00b
n00b


Joined: 03 May 2005
Posts: 5
Location: Hamburg, Germany

PostPosted: Mon Sep 11, 2006 2:39 pm    Post subject: Reply with quote

Quote:
I didnt have cm installed so I tried installing it and metacity gave the same error.

Do you mean "media-sound/cm-2.4.2"?

Correct me if I am wrong but that package has actually nothing to do with metacity's composite-capabilities. You need
libcm from glx-overlay as discribed in http://gentoo-wiki.com/HOWTO_AIGLX

Please tell us if you got it working. I really like to see it.
_________________
The universe is a spheroid region, 705 meters in diameter.
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Mon Sep 11, 2006 7:44 pm    Post subject: Reply with quote

I knew a sound thing was something wierd it would want... I added the hanno overlay and added libcm and it compiled.
(a side note: libcm needed a diff mesa from the overlay and I think it is messing up my World of Warcraft... :-P)
So no I wnet about tring to get the compsite stuff to work. I installed gconf-editor and figured out how to change themes. That got me excited :). But more on-topic, when i check the compositing_manager my desktop freezes. At this point I almost cried. I have no clue where to go from here but if you guys want to try compiling it it isn't that hard. Here is a list of things I did:
Made a copy of the 2.16 ebuild and made a 2.16-r1 ebuild in my local overlay
added the dependancy of libcm
changed the line at the bottom to enable-compsitor isntead of disable
added the hanno overlay from http://gentoo-wiki.com/HOWTO_AIGLX
emerge metacity (had to add a bunch of stuff to package.unmaks and package.keywords)
Any more ideas? :-D
Back to top
View user's profile Send private message
xion
n00b
n00b


Joined: 03 May 2005
Posts: 5
Location: Hamburg, Germany

PostPosted: Mon Sep 11, 2006 8:02 pm    Post subject: Reply with quote

After all my curiosity outplayed my patience so I tried everything as discribed in the AIGXL-Howto. Works perfectly with masked Gnome-2.16 packages from the main portage tree (I installed yesterday) and it looks damn great. :o

Since I have a Samsung X20 notebook with Intel GMA915 shared memory graphics adapter I always thought this would be overkill for my CPU and slow down the entire workflow. But no, it's quite the opposite. It became even faster than before because of the GPU-usage.

p.s. I need to use compiz while ctually metacity should be able to natively use the composite-extension if I understood the whole thing right?
_________________
The universe is a spheroid region, 705 meters in diameter.


Last edited by xion on Mon Sep 11, 2006 8:18 pm; edited 2 times in total
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Mon Sep 11, 2006 8:03 pm    Post subject: Reply with quote

Ok so I just looked into things a little more after my post... I checked my glxinfo (it used to work...) and I dont have direct rendering anymore. I think the mesa I installed sux.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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