View previous topic :: View next topic |
Author |
Message |
frinholp n00b
Joined: 21 Aug 2007 Posts: 46
|
Posted: Tue Aug 21, 2007 10:02 am Post subject: Error compiling libcompizconfig |
|
|
I am trying to install compiz-fusion using the guide at http://gentoo-wiki.com/HOWTO_compiz-fusion. I am compiling the packages required in the exact order suggested.
I get the following error when emerging libcompizconfig:
Quote: | ccp.c: In function 'ccpSameType':
ccp.c:392: error: 'CompOptionTypeKey' undeclared (first use in this function)
ccp.c:392: error: (Each undeclared identifier is reported only once
ccp.c:392: error: for each function it appears in.)
ccp.c:394: error: 'CompOptionTypeButton' undeclared (first use in this function)
ccp.c:396: error: 'CompOptionTypeEdge' undeclared (first use in this function)
ccp.c:398: error: 'CompOptionTypeBell' undeclared (first use in this function)
ccp.c: In function 'ccpSetOptionFromContext':
ccp.c:441: warning: passing argument 1 of 'findActivePlugin' discards qualifiers from pointer target type
ccp.c:488: warning: passing argument 3 of 'compFindOption' discards qualifiers from pointer target type
ccp.c:509: warning: passing argument 2 of 's->setScreenOptionForPlugin' discards qualifiers from pointer target type
ccp.c:509: warning: passing argument 3 of 's->setScreenOptionForPlugin' discards qualifiers from pointer target type
ccp.c:511: warning: passing argument 2 of 'd->setDisplayOptionForPlugin' discards qualifiers from pointer target type
ccp.c:511: warning: passing argument 3 of 'd->setDisplayOptionForPlugin' discards qualifiers from pointer target type
ccp.c:516: warning: passing argument 2 of 's->setScreenOption' discards qualifiers from pointer target type
ccp.c:518: warning: passing argument 2 of 'd->setDisplayOption' discards qualifiers from pointer target type
ccp.c: In function 'ccpSetContextFromOption':
ccp.c:543: warning: passing argument 1 of 'findActivePlugin' discards qualifiers from pointer target type
ccp.c:590: warning: passing argument 3 of 'compFindOption' discards qualifiers from pointer target type
ccp.c: In function 'ccpSetDisplayOption':
ccp.c:619: warning: passing argument 2 of 'd->setDisplayOption' discards qualifiers from pointer target type
ccp.c:620: warning: assignment from incompatible pointer type
ccp.c: In function 'ccpSetDisplayOptionForPlugin':
ccp.c:641: warning: passing argument 2 of 'd->setDisplayOptionForPlugin' discards qualifiers from pointer target type
ccp.c:641: warning: passing argument 3 of 'd->setDisplayOptionForPlugin' discards qualifiers from pointer target type
ccp.c:642: warning: assignment from incompatible pointer type
ccp.c: In function 'ccpSetScreenOption':
ccp.c:662: warning: passing argument 2 of 's->setScreenOption' discards qualifiers from pointer target type
ccp.c:663: warning: assignment from incompatible pointer type
ccp.c: In function 'ccpSetScreenOptionForPlugin':
ccp.c:688: warning: passing argument 2 of 's->setScreenOptionForPlugin' discards qualifiers from pointer target type
ccp.c:688: warning: passing argument 3 of 's->setScreenOptionForPlugin' discards qualifiers from pointer target type
ccp.c:689: warning: assignment from incompatible pointer type
ccp.c: In function 'ccpInitDisplay':
ccp.c:825: warning: assignment from incompatible pointer type
ccp.c:826: warning: assignment from incompatible pointer type
ccp.c: In function 'ccpInitScreen':
ccp.c:907: warning: assignment from incompatible pointer type
ccp.c:908: warning: assignment from incompatible pointer type
make[2]: *** [ccp.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libcompizconfig-9999/work/libcompizconfig/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libcompizconfig-9999/work/libcompizconfig'
make: *** [all] Error 2
!!! ERROR: x11-libs/libcompizconfig-9999 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
libcompizconfig-9999.ebuild, line 31: Called die
!!! make failed |
I have compiled compiz, compiz-bcop and emerald already but did notice the following errors when compiling emerald:
Quote: | libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libwnck-1.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libgtk-x11-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libstartup-notification-1.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libgdk-x11-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libatk-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libgdk_pixbuf-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libdecoration.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libXrender.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libX11.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libpangocairo-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libpango-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libcairo.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../..//libglib-2.0.la' seems to be moved
|
Here are the use variables I am using in my make.conf:
Quote: |
USE="3dnow a52 acc aalib alsa acpi apache2 arts asf audiofile avi bash-completion bonobo bzip2 cairo cdr debug cups devmap dbus dga directfb divx4linux dri dts dv dvb dvd dvdr dvdread flac flash emul-linux-x86 encode esd fam fbcon ffmpeg gd gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick jack java javascript joystick jpeg kde libwww lirc mad mime mp3 mp4 mjpeg mmx mpeg multilib mysql nls mythtv nptl nsplugin nvidia oav offensive ogg oggvorbis openal opengl oss pam perl php png ping ppds python qt quicktime readline real samba sdl spl sse2 ssl startup-notification svga svg tcltk theora threads tiff trannset truetype uk_bleb uk_rt unicode usb userlocales utf8 v4l v4l2 vcl vcd video videos vidix visualization vorbis win32codecs wxwindows x264 xanim xcomposite xine xinerama xml xmms xmlprint xscreensaver xv xvmc xvid X yv12"
|
My package.keywords
Quote: | media-gfx/qingy-themes
x11-misc/karamba
kde-misc/kmatrix3d
x11-misc/kcometen3
x11-misc/rss-kde
x11-misc/kdeasciiquarium
x11-misc/transset
app-emulation/wine
app-mobilephone/kmobiletools
dev-python/compizconfig-python **
<x11-wm/compiz-9999 **
x11-wm/compiz-fusion **
x11-plugins/compiz-fusion-plugins-main **
x11-plugins/compiz-fusion-plugins-extra **
x11-plugins/compiz-fusion-plugins-unsupported **
x11-plugins/compiz-fusion-plugins-gears **
x11-wm/emerald **
x11-themes/emerald-themes **
x11-apps/ccsm **
x11-libs/libcompizconfig **
x11-libs/compizconfig-backend-gconf **
x11-libs/compizconfig-backend-kconfig **
x11-libs/compiz-bcop **
x11-apps/fusion-icon ** |
My package.use:
Quote: | media-tv/mythtv alsa opengl vorbis dvb dvd ieee1394 lirc mmx xvmc xv
dev-java/blackdown-jre nsplugin
dev-java/sun-jre-bin nsplugin
app-admin/gkrellm gnutls lm_sensors
app-emulation/wine lcms ldap nas
dev-lang/python tk
x11-libs/cairo glitz svg png
x11-libs/libX11 xcb |
Anybody any ideas??
Thanks in advance |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Tue Aug 21, 2007 2:04 pm Post subject: |
|
|
the 9999 (aka developement) branch of compiz-fusion is under going major changes to the configuration system. it will be broken for some time.
That wiki is out of date, there is now a "stable" release of compiz-fusion 0.5.2. Remove any compiz-fusion components you've already emerged. Modify you package.keywords file by removing the '**' parts the wiki told you to add, that will tell portage to pull the ~ARCH ebuild from xeffects instead of the unkeyworded 9999 ebuilds.
then try emerge -av compiz-fusion. That should try to bring on the 0.5.2 version instead of the git based 9999 ebuild. |
|
Back to top |
|
|
redwoolf n00b
Joined: 10 Aug 2007 Posts: 56
|
Posted: Tue Aug 21, 2007 3:16 pm Post subject: |
|
|
thanks for the advice, libcompizconfig wouldn't compile for me either. _________________ ....though I am already in my pajamas. |
|
Back to top |
|
|
frinholp n00b
Joined: 21 Aug 2007 Posts: 46
|
Posted: Tue Aug 21, 2007 4:46 pm Post subject: |
|
|
thanks jonnevers
Problem Sorted |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Tue Aug 21, 2007 6:30 pm Post subject: |
|
|
frinholp wrote: | thanks jonnevers
Problem Sorted |
fyi, fusion-icon is still keywordless (i.e. needs '**' in package.keywords) but it now works with compiz-fusion 0.5.2. So if you liked using fusion-icon to manage compiz, you can use fusion-icon-9999 with the 0.5.2 stuffs. |
|
Back to top |
|
|
|