Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[SOLVED] Compiz-fusion-plugins-extra-9999 does not compile

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
54 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
Hammett
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Wed Jan 26, 2005 10:37 pm
Location: Barcelona, Catalonia

[SOLVED] Compiz-fusion-plugins-extra-9999 does not compile

  • Quote

Post by Hammett » Fri Jul 06, 2007 11:35 pm

Hi all

I'm having real difficulties while trying to install compiz-fusion on my box. I've managed to get through many problems, but that one seems unbreakable.
I'm having this error

Code: Select all

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -O2 -march=pentium4 -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftracer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT gotovp.lo -MD -MP -MF .deps/gotovp.Tpo -c gotovp.c  -fPIC -DPIC -o .libs/gotovp.o
gotovp.c:17: error: `XK_0' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][0]')
gotovp.c:17: error: `XK_1' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][1]')
gotovp.c:17: error: `XK_2' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][2]')
gotovp.c:17: error: `XK_3' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][3]')
gotovp.c:17: error: `XK_4' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][4]')
gotovp.c:17: error: `XK_5' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][5]')
gotovp.c:17: error: `XK_6' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][6]')
gotovp.c:17: error: `XK_7' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][7]')
gotovp.c:17: error: `XK_8' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][8]')
gotovp.c:17: error: `XK_9' undeclared here (not in a function)
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0][9]')
gotovp.c:17: error: initializer element is not constant
gotovp.c:17: error: (near initialization for `numberKeySyms[0]')
gotovp.c:19: error: `XK_KP_0' undeclared here (not in a function)
gotovp.c:19: error: initializer element is not constant
gotovp.c:19: error: (near initialization for `numberKeySyms[1][0]')
gotovp.c:19: error: `XK_KP_1' undeclared here (not in a function)
gotovp.c:19: error: initializer element is not constant
gotovp.c:19: error: (near initialization for `numberKeySyms[1][1]')
gotovp.c:19: error: `XK_KP_2' undeclared here (not in a function)
gotovp.c:19: error: initializer element is not constant
gotovp.c:19: error: (near initialization for `numberKeySyms[1][2]')
gotovp.c:19: error: `XK_KP_3' undeclared here (not in a function)
gotovp.c:19: error: initializer element is not constant
gotovp.c:19: error: (near initialization for `numberKeySyms[1][3]')
gotovp.c:19: error: `XK_KP_4' undeclared here (not in a function)
gotovp.c:19: error: initializer element is not constant
gotovp.c:19: error: (near initialization for `numberKeySyms[1][4]')
gotovp.c:20: error: `XK_KP_5' undeclared here (not in a function)
gotovp.c:20: error: initializer element is not constant
gotovp.c:20: error: (near initialization for `numberKeySyms[1][5]')
gotovp.c:20: error: `XK_KP_6' undeclared here (not in a function)
gotovp.c:20: error: initializer element is not constant
gotovp.c:20: error: (near initialization for `numberKeySyms[1][6]')
gotovp.c:20: error: `XK_KP_7' undeclared here (not in a function)
gotovp.c:20: error: initializer element is not constant
gotovp.c:20: error: (near initialization for `numberKeySyms[1][7]')
gotovp.c:20: error: `XK_KP_8' undeclared here (not in a function)
gotovp.c:20: error: initializer element is not constant
gotovp.c:20: error: (near initialization for `numberKeySyms[1][8]')
gotovp.c:20: error: `XK_KP_9' undeclared here (not in a function)
gotovp.c:20: error: initializer element is not constant
gotovp.c:20: error: (near initialization for `numberKeySyms[1][9]')
gotovp.c:20: error: initializer element is not constant
gotovp.c:20: error: (near initialization for `numberKeySyms[1]')
gotovp.c:22: error: `XK_KP_Insert' undeclared here (not in a function)
gotovp.c:22: error: initializer element is not constant
gotovp.c:22: error: (near initialization for `numberKeySyms[2][0]')
gotovp.c:22: error: `XK_KP_End' undeclared here (not in a function)
gotovp.c:22: error: initializer element is not constant
gotovp.c:22: error: (near initialization for `numberKeySyms[2][1]')
gotovp.c:22: error: `XK_KP_Down' undeclared here (not in a function)
gotovp.c:22: error: initializer element is not constant
gotovp.c:22: error: (near initialization for `numberKeySyms[2][2]')
gotovp.c:22: error: `XK_KP_Next' undeclared here (not in a function)
gotovp.c:22: error: initializer element is not constant
gotovp.c:22: error: (near initialization for `numberKeySyms[2][3]')
gotovp.c:22: error: `XK_KP_Left' undeclared here (not in a function)
gotovp.c:22: error: initializer element is not constant
gotovp.c:22: error: (near initialization for `numberKeySyms[2][4]')
gotovp.c:23: error: `XK_KP_Begin' undeclared here (not in a function)
gotovp.c:23: error: initializer element is not constant
gotovp.c:23: error: (near initialization for `numberKeySyms[2][5]')
gotovp.c:23: error: `XK_KP_Right' undeclared here (not in a function)
gotovp.c:23: error: initializer element is not constant
gotovp.c:23: error: (near initialization for `numberKeySyms[2][6]')
gotovp.c:23: error: `XK_KP_Home' undeclared here (not in a function)
gotovp.c:23: error: initializer element is not constant
gotovp.c:23: error: (near initialization for `numberKeySyms[2][7]')
gotovp.c:23: error: `XK_KP_Up' undeclared here (not in a function)
gotovp.c:23: error: initializer element is not constant
gotovp.c:23: error: (near initialization for `numberKeySyms[2][8]')
gotovp.c:23: error: `XK_KP_Prior' undeclared here (not in a function)
gotovp.c:23: error: initializer element is not constant
gotovp.c:23: error: (near initialization for `numberKeySyms[2][9]')
gotovp.c:23: error: initializer element is not constant
gotovp.c:23: error: (near initialization for `numberKeySyms[2]')
make[3]: *** [gotovp.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/goto-viewport'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2

!!! ERROR: x11-plugins/compiz-fusion-plugins-extra-9999 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  compiz-fusion-plugins-extra-9999.ebuild, line 48:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/portage'
But I can't understand what may be the causing of this error.
I'd appretiate if someone could guide me through this error.

Thanks a lot in advance
Last edited by Hammett on Wed Jul 18, 2007 10:17 am, edited 1 time in total.
I don't fear the people. I fear the demon inside them.
Top
trolley
Apprentice
Apprentice
User avatar
Posts: 292
Joined: Wed Jun 12, 2002 4:24 pm
Location: Canada

  • Quote

Post by trolley » Sat Jul 07, 2007 12:14 am

It's not compiling for me either, but I get this:

Code: Select all

scalefilter.c:38:18: error: text.h: No such file or directory
scalefilter.c: In function 'scalefilterRenderFilterText':
scalefilter.c:119: error: 'CompTextAttrib' undeclared (first use in this function)
scalefilter.c:119: error: (Each undeclared identifier is reported only once
scalefilter.c:119: error: for each function it appears in.)
scalefilter.c:119: error: expected ';' before 'tA'
scalefilter.c:159: error: 'tA' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_BOLD' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_NORMAL' undeclared (first use in this function)
scalefilter.c:173: error: 'TextRenderNormal' undeclared (first use in this function)
scalefilter.c:176: error: 'TEXT_ID' undeclared (first use in this function)
scalefilter.c: At top level:
scalefilter.c:322: warning: no previous prototype for 'scalefilterUpdateFilter'
make[3]: *** [scalefilter.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/scalefilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Sat Jul 07, 2007 4:03 am

Moved from Desktop Environments to Unsupported Software.
www.gentoo.org.au || #gentoo-au
Top
Telexen
Apprentice
Apprentice
Posts: 189
Joined: Sun Oct 09, 2005 4:24 pm

  • Quote

Post by Telexen » Sat Jul 07, 2007 8:36 am

I can't remember which error I had, but I looked on the Xeffects forums and found that re-emerging 'compiz' could work...worked for me.
Top
Hammett
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Wed Jan 26, 2005 10:37 pm
Location: Barcelona, Catalonia

  • Quote

Post by Hammett » Sat Jul 07, 2007 2:11 pm

It does not work re-compiling compiz. In fact, I had to compile compiz without dbus, otherwise the compilation would break.

Any hint?
I don't fear the people. I fear the demon inside them.
Top
Zepp
Veteran
Veteran
User avatar
Posts: 1246
Joined: Mon Mar 15, 2004 9:43 pm
Location: Ontario, Canada

  • Quote

Post by Zepp » Sat Jul 07, 2007 9:28 pm

trolley wrote:It's not compiling for me either, but I get this:

Code: Select all

scalefilter.c:38:18: error: text.h: No such file or directory
scalefilter.c: In function 'scalefilterRenderFilterText':
scalefilter.c:119: error: 'CompTextAttrib' undeclared (first use in this function)
scalefilter.c:119: error: (Each undeclared identifier is reported only once
scalefilter.c:119: error: for each function it appears in.)
scalefilter.c:119: error: expected ';' before 'tA'
scalefilter.c:159: error: 'tA' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_BOLD' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_NORMAL' undeclared (first use in this function)
scalefilter.c:173: error: 'TextRenderNormal' undeclared (first use in this function)
scalefilter.c:176: error: 'TEXT_ID' undeclared (first use in this function)
scalefilter.c: At top level:
scalefilter.c:322: warning: no previous prototype for 'scalefilterUpdateFilter'
make[3]: *** [scalefilter.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/scalefilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
Getting this as well.
Top
trolley
Apprentice
Apprentice
User avatar
Posts: 292
Joined: Wed Jun 12, 2002 4:24 pm
Location: Canada

  • Quote

Post by trolley » Sun Jul 08, 2007 12:07 am

I gave up on it for now...I'm running that ATI proprietary drivers and it was unbelievably slow, so I rolled back to normal xorg for now.
Top
Zepp
Veteran
Veteran
User avatar
Posts: 1246
Joined: Mon Mar 15, 2004 9:43 pm
Location: Ontario, Canada

  • Quote

Post by Zepp » Sun Jul 08, 2007 12:26 am

trolley wrote:I gave up on it for now...I'm running that ATI proprietary drivers and it was unbelievably slow, so I rolled back to normal xorg for now.
But you got the above to compile? how?
Top
djhomeless
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Wed Dec 31, 2003 2:36 am
Location: Hanover, NH

  • Quote

Post by djhomeless » Sun Jul 08, 2007 12:35 am

Zepp wrote:
trolley wrote:It's not compiling for me either, but I get this:

Code: Select all

scalefilter.c:38:18: error: text.h: No such file or directory
scalefilter.c: In function 'scalefilterRenderFilterText':
scalefilter.c:119: error: 'CompTextAttrib' undeclared (first use in this function)
scalefilter.c:119: error: (Each undeclared identifier is reported only once
scalefilter.c:119: error: for each function it appears in.)
scalefilter.c:119: error: expected ';' before 'tA'
scalefilter.c:159: error: 'tA' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_BOLD' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_NORMAL' undeclared (first use in this function)
scalefilter.c:173: error: 'TextRenderNormal' undeclared (first use in this function)
scalefilter.c:176: error: 'TEXT_ID' undeclared (first use in this function)
scalefilter.c: At top level:
scalefilter.c:322: warning: no previous prototype for 'scalefilterUpdateFilter'
make[3]: *** [scalefilter.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/scalefilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
Getting this as well.

I am having the same issue... I will update if I figure it out.
Top
djhomeless
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Wed Dec 31, 2003 2:36 am
Location: Hanover, NH

  • Quote

Post by djhomeless » Sun Jul 08, 2007 12:39 am

djhomeless wrote:
Zepp wrote:
trolley wrote:It's not compiling for me either, but I get this:

Code: Select all

scalefilter.c:38:18: error: text.h: No such file or directory
scalefilter.c: In function 'scalefilterRenderFilterText':
scalefilter.c:119: error: 'CompTextAttrib' undeclared (first use in this function)
scalefilter.c:119: error: (Each undeclared identifier is reported only once
scalefilter.c:119: error: for each function it appears in.)
scalefilter.c:119: error: expected ';' before 'tA'
scalefilter.c:159: error: 'tA' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_BOLD' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_NORMAL' undeclared (first use in this function)
scalefilter.c:173: error: 'TextRenderNormal' undeclared (first use in this function)
scalefilter.c:176: error: 'TEXT_ID' undeclared (first use in this function)
scalefilter.c: At top level:
scalefilter.c:322: warning: no previous prototype for 'scalefilterUpdateFilter'
make[3]: *** [scalefilter.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/scalefilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
Getting this as well.

I am having the same issue... I will update if I figure it out.
I got it to compile...try emerging compiz-fusion-plugins-main first
that seemed to fix it for me.
Top
Zepp
Veteran
Veteran
User avatar
Posts: 1246
Joined: Mon Mar 15, 2004 9:43 pm
Location: Ontario, Canada

  • Quote

Post by Zepp » Sun Jul 08, 2007 12:55 am

djhomeless wrote:
djhomeless wrote:
Zepp wrote:
trolley wrote:It's not compiling for me either, but I get this:

Code: Select all

scalefilter.c:38:18: error: text.h: No such file or directory
scalefilter.c: In function 'scalefilterRenderFilterText':
scalefilter.c:119: error: 'CompTextAttrib' undeclared (first use in this function)
scalefilter.c:119: error: (Each undeclared identifier is reported only once
scalefilter.c:119: error: for each function it appears in.)
scalefilter.c:119: error: expected ';' before 'tA'
scalefilter.c:159: error: 'tA' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_BOLD' undeclared (first use in this function)
scalefilter.c:168: error: 'TEXT_STYLE_NORMAL' undeclared (first use in this function)
scalefilter.c:173: error: 'TextRenderNormal' undeclared (first use in this function)
scalefilter.c:176: error: 'TEXT_ID' undeclared (first use in this function)
scalefilter.c: At top level:
scalefilter.c:322: warning: no previous prototype for 'scalefilterUpdateFilter'
make[3]: *** [scalefilter.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/scalefilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
Getting this as well.

I am having the same issue... I will update if I figure it out.
I got it to compile...try emerging compiz-fusion-plugins-main first
that seemed to fix it for me.
Hmm I already emerged the other stuff actually but I didn't think to retry...

That worked, thanks :D.
Top
KCE
n00b
n00b
User avatar
Posts: 38
Joined: Wed Jul 04, 2007 3:04 am
Location: Los Angeles

  • Quote

Post by KCE » Sun Jul 08, 2007 6:47 am

I was having this problem also. Actually first problem was I missing gconf from gnome because I don't use gnome. Then I got this problem. And now even worse, whenever I try to build plugins-main it says the clock is skewed and refuses to build properly). I'm wondering though - does the order that you list the files in /etc/portage/package.keywords also designate the order in which they will be installed or is that in the build file itself?
Top
mallchin
l33t
l33t
User avatar
Posts: 655
Joined: Tue Jan 21, 2003 9:59 pm
Location: United Kingdom
Contact:
Contact mallchin
Website

  • Quote

Post by mallchin » Sun Jul 08, 2007 12:25 pm

KCE wrote:I was having this problem also. Actually first problem was I missing gconf from gnome because I don't use gnome. Then I got this problem. And now even worse, whenever I try to build plugins-main it says the clock is skewed and refuses to build properly). I'm wondering though - does the order that you list the files in /etc/portage/package.keywords also designate the order in which they will be installed or is that in the build file itself?
No, the order in package.keywords is not important.
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Top
Hammett
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Wed Jan 26, 2005 10:37 pm
Location: Barcelona, Catalonia

  • Quote

Post by Hammett » Sun Jul 08, 2007 12:33 pm

It seems I can't even compile compiz-fusion-plugins-main

Code: Select all

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -O2 -march=pentium4 -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftracer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT opacify_options.lo -MD -MP -MF .deps/opacify_options.Tpo -c opacify_options.c  -fPIC -DPIC -o .libs/opacify_options.o
opacify_options.c: In function `opacifyOptionsSetScreenOption':
opacify_options.c:353: error: duplicate case value
opacify_options.c:345: error: previously used here
opacify_options.c:369: error: duplicate case value
opacify_options.c:361: error: previously used here
opacify_options.c:385: error: duplicate case value
opacify_options.c:377: error: previously used here
opacify_options.c:401: error: duplicate case value
opacify_options.c:393: error: previously used here
opacify_options.c:417: error: duplicate case value
opacify_options.c:409: error: previously used here
opacify_options.c:425: error: duplicate case value
opacify_options.c:417: error: previously used here
opacify_options.c:441: error: duplicate case value
opacify_options.c:433: error: previously used here
opacify_options.c:449: error: duplicate case value
opacify_options.c:441: error: previously used here
make[3]: *** [opacify_options.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/work/plugins-main/src/opacify'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/work/plugins-main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/work/plugins-main'
make: *** [all] Error 2

!!! ERROR: x11-plugins/compiz-fusion-plugins-main-9999 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  compiz-fusion-plugins-main-9999.ebuild, line 48:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/portage'
I don't fear the people. I fear the demon inside them.
Top
kornshell
n00b
n00b
Posts: 16
Joined: Tue Feb 28, 2006 5:03 pm

  • Quote

Post by kornshell » Sun Jul 08, 2007 2:32 pm

Hammett wrote:It seems I can't even compile compiz-fusion-plugins-main

Code: Select all

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR="/usr/share" -DLIBDIR="/usr/lib" -DLOCALEDIR="/usr/share/locale" -DIMAGEDIR="/usr/share/compiz" -I../../include -O2 -march=pentium4 -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftracer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT opacify_options.lo -MD -MP -MF .deps/opacify_options.Tpo -c opacify_options.c  -fPIC -DPIC -o .libs/opacify_options.o
opacify_options.c: In function `opacifyOptionsSetScreenOption':
opacify_options.c:353: error: duplicate case value
opacify_options.c:345: error: previously used here
opacify_options.c:369: error: duplicate case value
opacify_options.c:361: error: previously used here
opacify_options.c:385: error: duplicate case value
opacify_options.c:377: error: previously used here
opacify_options.c:401: error: duplicate case value
opacify_options.c:393: error: previously used here
opacify_options.c:417: error: duplicate case value
opacify_options.c:409: error: previously used here
opacify_options.c:425: error: duplicate case value
opacify_options.c:417: error: previously used here
opacify_options.c:441: error: duplicate case value
opacify_options.c:433: error: previously used here
opacify_options.c:449: error: duplicate case value
opacify_options.c:441: error: previously used here
make[3]: *** [opacify_options.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/work/plugins-main/src/opacify'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/work/plugins-main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/work/plugins-main'
make: *** [all] Error 2

!!! ERROR: x11-plugins/compiz-fusion-plugins-main-9999 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  compiz-fusion-plugins-main-9999.ebuild, line 48:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-plugins/compiz-fusion-plugins-main-9999/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/portage'
I'm getting that error aswell, not only on plugins-main but also on plugins-extra (only that on extra it fails on the "mblur_options" part).
Top
CrouchingTigger
n00b
n00b
Posts: 17
Joined: Sun Sep 04, 2005 2:36 pm

  • Quote

Post by CrouchingTigger » Sun Jul 08, 2007 3:21 pm

Hello,

Recompile x11-libs/libcompizconfig, x11-libs/compiz-bcop (possibly also x11-libs/compizconfig-backend-gconf).
Worked for me (amd64).
Top
kornshell
n00b
n00b
Posts: 16
Joined: Tue Feb 28, 2006 5:03 pm

  • Quote

Post by kornshell » Sun Jul 08, 2007 3:33 pm

Still getting the same error :(

Might it have something to do with the previous compcomm installation? The ebuilds are no longer available on the overlay, so I cannot unmerge that (well I guess I can, but I don't know how). Maybe there's some kind of conflict with those old packages?
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun Jul 08, 2007 4:53 pm

kornshell wrote:Still getting the same error :(

Might it have something to do with the previous compcomm installation? The ebuilds are no longer available on the overlay, so I cannot unmerge that (well I guess I can, but I don't know how). Maybe there's some kind of conflict with those old packages?
just uninstall them:

Code: Select all

emerge genlop
then

Code: Select all

genlop -l | less
(lists installed apps)

see where the compiz stuff starts, then just

Code: Select all

emerge --unmerge foo1 foo2 foo3 foo4 
...

then emerge compiz-fusion
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
Hammett
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Wed Jan 26, 2005 10:37 pm
Location: Barcelona, Catalonia

  • Quote

Post by Hammett » Sun Jul 08, 2007 10:25 pm

Recompiling the packages didn't work for me either.... :S
I don't fear the people. I fear the demon inside them.
Top
kornshell
n00b
n00b
Posts: 16
Joined: Tue Feb 28, 2006 5:03 pm

  • Quote

Post by kornshell » Sun Jul 08, 2007 10:50 pm

The packages are listed by genlop, but emerge doesn't find them:

Code: Select all

# emerge --unmerge '=x11-plugins/compcomm-plugins-extra-9999'

--- Couldn't find '=x11-plugins/compcomm-plugins-extra-9999' to unmerge.

>>> No packages selected for removal by unmerge

Code: Select all

# emerge --unmerge '=x11-plugins/compcomm-plugins-extra-9999'

--- Couldn't find '=x11-plugins/compcomm-plugins-extra-9999' to unmerge.

>>> No packages selected for removal by unmerge
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun Jul 08, 2007 11:37 pm

try plain:

Code: Select all

emerge --unmerge compcomm-plugins-extra
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
KCE
n00b
n00b
User avatar
Posts: 38
Joined: Wed Jul 04, 2007 3:04 am
Location: Los Angeles

  • Quote

Post by KCE » Mon Jul 09, 2007 12:31 am

You could also try

Code: Select all

emerge --search compiz
It'll show any packages with compiz in the name and show whether it's installed. From there you can just --unmerge each one. It's weird building compiz-fusion because first time I tried to emerge compiz-fusion it wouldn't compile, second time after a complete reformat it did work, now again it doesn't.

BTW, anyone know when the first official version of compiz-fusion will be released?

EDIT: Ah might've found another solution with the scale filter which I think might also explain rebuilding main first http://forums.opencompositing.org/viewt ... =48&t=1333
The file text.h is normally installed by the plugins-main package into $PREFIX/compiz/include/. Might that package have been improperly built?
EDIT2: After somemore searching, some more help:
http://gentoo-xeffects.org/forums/viewt ... c3701a6859
encountered a problem while emerging compiz-fusion, which has a very simple fix; but first the problem.

On a fresh install, if you issue an 'emerge -av compiz' compiz-fusion-plugins-extra-9999 is listed to be installed before compiz-fusion-plugins-main which will cause the compile to fail complaining it can't find text.h, which it can't because that hasn't been installed yet. The solution to this is just to make sure that compiz-fusion-plugins-main is installed first using portage's dependency features. After installing compiz-fusion-plugins-main, the extra plugins installed no problems.

Hope this helps
EDIT3: Some more suggestions:
http://gentoo-xeffects.org/forums/viewt ... c924807185
try to recompile these packages in this order : (and at each update , paste it in a bash) after all demasking

Code: Select all

emerge -v1a compiz compiz-bcop emerald libcompizconfig compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-fusion-plugins-unsupported compiz-fusion-plugins-gears compizconfig-backend-kconfig compizconfig-python emerald-themes ccsm compiz-fusion
Ps: I use USE="kde dbus -gnome -gtk" , if you use gnome , try with 'compizconfig-backend-gconf' instead of 'compizconfig-backend-kconfig'
EDIT4: Auto-update script
http://gentoo-xeffects.org/forums/viewt ... e6cb2e3749

Might also want to change the order to the order above. Also switched extra and main in the below code.

Code: Select all

#!/bin/bash
# Horrible script by HTS

compiz_git_packages="compizconfig-python \
compiz-bcop \
compizconfig-backend-gconf \
compizconfig-backend-kconfig \
libcompizconfig \
compiz-fusion-plugins-main \
compiz-fusion-plugins-extra \
compiz-fusion-plugins-unsupported \
compiz \
x11-apps/ccsm \
compiz-fusion"

update_overlay() {
   layman -s xeffects
}

case "$1" in
        "merge")
                echo -e "Updating xeffects overlay"
      update_overlay
                echo -e "Purging packages"
                emerge -C ${compiz_git_packages}
                echo -e "Emerging packages"
                emerge --oneshot --ask --verbose ${compiz_git_packages}
                ;;

        "backup")
                echo "Making binary package backups of currently emerged compiz-fusion packages."
                quickpkg ${compiz_git_packages}
                ;;

        "revert")
                echo "Reverting to the most recent binary backups of the compiz-fusion git packages."
                emerge --oneshot --ask --verbose --usepkgonly  ${compiz_git_packages}
                ;;

   "purge_git")
                echo "Cleaning all files downloaded from git."
      rm -rf /usr/portage/distfiles/git-src/*
      ;;

        *)
                echo -e "`basename ${0}` usage:\n"
                echo -e "`basename ${0}` backup"
                echo -e "Make binary packages out of the currently merged compiz-fusion packages.\n"
                echo -e "`basename ${0}` merge"
                echo -e "Remerge compiz-fusion packages.\n"
                echo -e "`basename ${0}` revert"
                echo -e "Revert to the most recent binary backups of the compiz-fusion git packages.\n"
                echo -e "`basename ${0}` purge_git"
                echo -e "Purge all files downloaded from git.\n"
                ;;
esac

exit 0
EDIT5:
Just installed successfully with no problems!! I installed in the order posted above:

Code: Select all

emerge -v1a compiz compiz-bcop emerald libcompizconfig compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-fusion-plugins-unsupported compiz-fusion-plugins-gears compizconfig-backend-kconfig compizconfig-python emerald-themes ccsm compiz-fusion
What I did was merge all the dependencies first and then the order above. (btw emerald and emerald themes can be merged in succession with emerald first). Now if I did a full world recompile how would I maintain this order above?

EDIT6:
Got the compiz-manager script as instructed in the gentoo wiki. At first the window decorations didn't show and I checked my xorg.conf to make sure all the options were there and they were. So I just played around with compiz-manager in the terminal in xfce4. I did something like "compiz-manager -i" then "compiz-manager -if" and voila.

Should add these problems to the Wiki.

Just noticed why do people using xfce still need to use gnome's gconf?
data corruption is only a minor issue in filesystems.
lol
Top
Hammett
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Wed Jan 26, 2005 10:37 pm
Location: Barcelona, Catalonia

  • Quote

Post by Hammett » Mon Jul 09, 2007 8:05 am

Awesome post KCE.

I'll try your suggestions when I get home and I'll post results. What I know for sure (I already tried it) is that I can't compile either plugins-main package either with another error (can't recall right now), bu t I'll try the other suggestions.

I'll let you know if it works.
I don't fear the people. I fear the demon inside them.
Top
kornshell
n00b
n00b
Posts: 16
Joined: Tue Feb 28, 2006 5:03 pm

  • Quote

Post by kornshell » Mon Jul 09, 2007 8:43 am

kernelOfTruth wrote:try plain:

Code: Select all

emerge --unmerge compcomm-plugins-extra
I tried that already, and got the same output :( portage just thinks those packages don't exist. The thing is compcomm is running, so I've certainly not uninstalled it.

Doing an emerge --search returns nothing about compcomm... which kinda makes sense since once I sync'ed the xeffects overlay and the compiz-fusion stuff was fetched, compcomm related ebuilds were probably removed.

I'll try to manually delete any potentially conflicting file later when I get home :?
Top
lucapost
Veteran
Veteran
User avatar
Posts: 1420
Joined: Thu Nov 24, 2005 4:33 pm
Location: <ud|me|ts> - Italy
Contact:
Contact lucapost
Website

  • Quote

Post by lucapost » Mon Jul 09, 2007 9:03 am

I solved this problem! First, I emerge compiz-fusion with no compiz-fusion-plugins-extra depends, I used this ebuild:

Code: Select all

# Copyright 1999-2007 Gentoo Foundationp
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Compiz Fusion (meta)"
HOMEPAGE="http://opencompositing.org"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="gnome kde"

RDEPEND="~x11-wm/compiz-${PV}
    ~x11-plugins/compiz-fusion-plugins-main-${PV}
    ~x11-wm/emerald-${PV}
    ~x11-apps/ccsm-${PV}
    gnome? ( ~x11-libs/compizconfig-backend-gconf-${PV} )
    kde? ( ~x11-libs/compizconfig-backend-kconfig-${PV} )"

pkg_postinst() {
    ewarn "DO NOT report bugs to Gentoo's bugzilla"
    einfo "Please report all bugs to nesl247@gmail.com"
    einfo "Thank you on behalf of the Gentoo Xeffects team"
}
Now, after compiz-fusion emerged succesfully, I emerge compiz-fusion with original ebuild from layman. And it works!
LP
Top
Post Reply

54 posts
  • 1
  • 2
  • 3
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic