metalzelot
December 27th, 2007, 03:16 AM
Hey,
I've just spent one whole day trying to install Compiz Fusion on my PC. I'm not using any kind of Distribution, I've set up my computer from scratch (LFS). So the only way for me to install software is to do so by source.
I've been using beryl before and the installation worked out quite well. But I just can't get Compiz Fusion installed.
After spending hours to figure out how to start ccsm properly I'm now stuck at the last step, installing the main plugins.
ccsm took some time because I had to renew many packages (pango, cairo, gtk, pygtk, pycairo, libglade, pygobject, libsexy, sexypython, glib) because ccsm didn't start up with the existing old versions. Is there a chance that ccsm will get rewritten in c?
Now to my problems with the main plugins. With the 0.6.0 version I get the error that in every *_options.c there are duplicate case entries:
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:409: 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:433: error: previously used here
In the file opacify_options.c really are many identical case items:
switch (index)
{
case OpacifyScreenOptionOnlyIfBlock:
if (compSetScreenOption (s, o, value))
{
if (os->notify[OpacifyScreenOptionOnlyIfBlock])
(*os->notify[OpacifyScreenOptionOnlyIfBlock]) (s, o, OpacifyScreenOptionOnlyIfBlock);
return TRUE;
}
break;
case OpacifyScreenOptionOnlyIfBlock:
if (compSetScreenOption (s, o, value))
{
if (os->notify[OpacifyScreenOptionOnlyIfBlock])
(*os->notify[OpacifyScreenOptionOnlyIfBlock]) (s, o, OpacifyScreenOptionOnlyIfBlock);
return TRUE;
}
break;
After correcting this file the next broken file with the same problem occured. So I decided to try the git version.
If I only get the git version of the main-plugins I get thousands of errors in animation.c.
animation.c:1103: warning: initialization makes integer from pointer without a cast
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1104: warning: braces around scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: initialization makes integer from pointer without a cast
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
....
animation.c:4029: error: syntax error before ')' token
animation.c:4029: error: syntax error before ')' token
animation.c:4029: error: syntax error before ')' token
animation.c:4034: error: 'CompWindowTypeDropdownMenuMask' undeclared (first use in this function)
animation.c:4035: error: 'CompWindowTypePopupMenuMask' undeclared (first use in this function)
animation.c:4036: error: 'CompWindowTypeMenuMask' undeclared (first use in this function)
animation.c:4037: error: 'CompWindowTypeTooltipMask' undeclared (first use in this function)
animation.c:4038: error: 'CompWindowTypeNotificationMask' undeclared (first use in this function)
animation.c:4039: error: 'CompWindowTypeComboMask' undeclared (first use in this function)
animation.c:4040: error: 'CompWindowTypeDndMask' undeclared (first use in this function)
animation.c:4051: error: 'TRUE' undeclared (first use in this function)
animation.c:4065: error: 'dx' undeclared (first use in this function)
animation.c:4065: error: 'dy' undeclared (first use in this function)
animation.c:4065: error: 'dwidth' undeclared (first use in this function)
animation.c:4065: error: 'dheight' undeclared (first use in this function)
animation.c: At top level:
animation.c:4070: error: syntax error before '*' token
animation.c:4071: warning: function declaration isn't a prototype
animation.c: In function 'animWindowMoveNotify':
animation.c:4072: error: 'as' undeclared (first use in this function)
animation.c:4072: error: syntax error before ')' token
animation.c:4072: error: 'w' undeclared (first use in this function)
animation.c:4072: error: syntax error before ')' token
animation.c:4073: error: 'aw' undeclared (first use in this function)
animation.c:4073: error: syntax error before ')' token
animation.c:4073: error: syntax error before ')' token
animation.c:4073: error: syntax error before ')' token
animation.c:4075: error: 'immediate' undeclared (first use in this function)
animation.c:4081: error: 'CompWindow' undeclared (first use in this function)
animation.c:4081: error: 'w2' undeclared (first use in this function)
animation.c:4093: error: syntax error before 'animStillInProgress'
animation.c:4096: error: 'aw2' undeclared (first use in this function)
animation.c:4098: error: syntax error before ')' token
....
animation.c:4544: warning: nested extern declaration of 'compAddMetadataFromFile'
animation.c: At top level:
animation.c:4551: error: syntax error before '*' token
animation.c:4552: warning: function declaration isn't a prototype
animation.c: In function 'animFini':
animation.c:4553: warning: implicit declaration of function 'freeDisplayPrivateIndex'
animation.c:4553: warning: nested extern declaration of 'freeDisplayPrivateIndex'
animation.c: At top level:
animation.c:4557: error: syntax error before '*' token
animation.c:4558: error: syntax error before '*' token
animation.c:4559: warning: return type defaults to 'int'
animation.c:4559: warning: function declaration isn't a prototype
animation.c:4563: error: syntax error before 'animVTable'
animation.c:4563: warning: type defaults to 'int' in declaration of 'animVTable'
animation.c:4564: warning: initialization makes integer from pointer without a cast
animation.c:4565: warning: excess elements in scalar initializer
animation.c:4565: warning: (near initialization for 'animVTable')
animation.c:4566: warning: excess elements in scalar initializer
animation.c:4566: warning: (near initialization for 'animVTable')
animation.c:4567: warning: excess elements in scalar initializer
animation.c:4567: warning: (near initialization for 'animVTable')
animation.c:4568: warning: excess elements in scalar initializer
animation.c:4568: warning: (near initialization for 'animVTable')
animation.c:4569: warning: excess elements in scalar initializer
animation.c:4569: warning: (near initialization for 'animVTable')
animation.c:4570: warning: excess elements in scalar initializer
animation.c:4570: warning: (near initialization for 'animVTable')
animation.c:4571: warning: excess elements in scalar initializer
animation.c:4571: warning: (near initialization for 'animVTable')
animation.c:4572: warning: data definition has no type or storage class
animation.c:4574: error: syntax error before '*' token
animation.c:4576: warning: return type defaults to 'int'
animation.c:4576: warning: no previous prototype for 'getCompPluginInfo20070830'
make[3]: *** [animation.lo] Error 1
make[3]: Leaving directory `/home/jonathan/archives/compiz/plugins-main/src/animation'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jonathan/archives/compiz/plugins-main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathan/archives/compiz/plugins-main'
make: *** [all] Error 2
If I try the explained way from http://wiki.compiz-fusion.org/Get_Compiz_Fusion#line-56 I always get in trouble because I dont use gconfig because I'm a KDE-only user. This method doesn't give any possibility to set --dibable-gconf.
The last thing I tried was to install all the git versions from sources. My problem with this method is that my X11 isn't configured with xcb support so I get this error: No package 'x11-xcb' found
Will x11-xcb be required in future stable releases? If so, I have to reinstall my X11 anyway sooner or later.
Thats all I tried so far and I lost hope :( If someone of you have an idea, please share it.
greetings,
Jonathan
I've just spent one whole day trying to install Compiz Fusion on my PC. I'm not using any kind of Distribution, I've set up my computer from scratch (LFS). So the only way for me to install software is to do so by source.
I've been using beryl before and the installation worked out quite well. But I just can't get Compiz Fusion installed.
After spending hours to figure out how to start ccsm properly I'm now stuck at the last step, installing the main plugins.
ccsm took some time because I had to renew many packages (pango, cairo, gtk, pygtk, pycairo, libglade, pygobject, libsexy, sexypython, glib) because ccsm didn't start up with the existing old versions. Is there a chance that ccsm will get rewritten in c?
Now to my problems with the main plugins. With the 0.6.0 version I get the error that in every *_options.c there are duplicate case entries:
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:409: 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:433: error: previously used here
In the file opacify_options.c really are many identical case items:
switch (index)
{
case OpacifyScreenOptionOnlyIfBlock:
if (compSetScreenOption (s, o, value))
{
if (os->notify[OpacifyScreenOptionOnlyIfBlock])
(*os->notify[OpacifyScreenOptionOnlyIfBlock]) (s, o, OpacifyScreenOptionOnlyIfBlock);
return TRUE;
}
break;
case OpacifyScreenOptionOnlyIfBlock:
if (compSetScreenOption (s, o, value))
{
if (os->notify[OpacifyScreenOptionOnlyIfBlock])
(*os->notify[OpacifyScreenOptionOnlyIfBlock]) (s, o, OpacifyScreenOptionOnlyIfBlock);
return TRUE;
}
break;
After correcting this file the next broken file with the same problem occured. So I decided to try the git version.
If I only get the git version of the main-plugins I get thousands of errors in animation.c.
animation.c:1103: warning: initialization makes integer from pointer without a cast
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1103: warning: excess elements in scalar initializer
animation.c:1103: warning: (near initialization for 'animScreenOptionInfo[88]')
animation.c:1104: warning: braces around scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: initialization makes integer from pointer without a cast
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
animation.c:1104: warning: excess elements in scalar initializer
animation.c:1104: warning: (near initialization for 'animScreenOptionInfo[89]')
....
animation.c:4029: error: syntax error before ')' token
animation.c:4029: error: syntax error before ')' token
animation.c:4029: error: syntax error before ')' token
animation.c:4034: error: 'CompWindowTypeDropdownMenuMask' undeclared (first use in this function)
animation.c:4035: error: 'CompWindowTypePopupMenuMask' undeclared (first use in this function)
animation.c:4036: error: 'CompWindowTypeMenuMask' undeclared (first use in this function)
animation.c:4037: error: 'CompWindowTypeTooltipMask' undeclared (first use in this function)
animation.c:4038: error: 'CompWindowTypeNotificationMask' undeclared (first use in this function)
animation.c:4039: error: 'CompWindowTypeComboMask' undeclared (first use in this function)
animation.c:4040: error: 'CompWindowTypeDndMask' undeclared (first use in this function)
animation.c:4051: error: 'TRUE' undeclared (first use in this function)
animation.c:4065: error: 'dx' undeclared (first use in this function)
animation.c:4065: error: 'dy' undeclared (first use in this function)
animation.c:4065: error: 'dwidth' undeclared (first use in this function)
animation.c:4065: error: 'dheight' undeclared (first use in this function)
animation.c: At top level:
animation.c:4070: error: syntax error before '*' token
animation.c:4071: warning: function declaration isn't a prototype
animation.c: In function 'animWindowMoveNotify':
animation.c:4072: error: 'as' undeclared (first use in this function)
animation.c:4072: error: syntax error before ')' token
animation.c:4072: error: 'w' undeclared (first use in this function)
animation.c:4072: error: syntax error before ')' token
animation.c:4073: error: 'aw' undeclared (first use in this function)
animation.c:4073: error: syntax error before ')' token
animation.c:4073: error: syntax error before ')' token
animation.c:4073: error: syntax error before ')' token
animation.c:4075: error: 'immediate' undeclared (first use in this function)
animation.c:4081: error: 'CompWindow' undeclared (first use in this function)
animation.c:4081: error: 'w2' undeclared (first use in this function)
animation.c:4093: error: syntax error before 'animStillInProgress'
animation.c:4096: error: 'aw2' undeclared (first use in this function)
animation.c:4098: error: syntax error before ')' token
....
animation.c:4544: warning: nested extern declaration of 'compAddMetadataFromFile'
animation.c: At top level:
animation.c:4551: error: syntax error before '*' token
animation.c:4552: warning: function declaration isn't a prototype
animation.c: In function 'animFini':
animation.c:4553: warning: implicit declaration of function 'freeDisplayPrivateIndex'
animation.c:4553: warning: nested extern declaration of 'freeDisplayPrivateIndex'
animation.c: At top level:
animation.c:4557: error: syntax error before '*' token
animation.c:4558: error: syntax error before '*' token
animation.c:4559: warning: return type defaults to 'int'
animation.c:4559: warning: function declaration isn't a prototype
animation.c:4563: error: syntax error before 'animVTable'
animation.c:4563: warning: type defaults to 'int' in declaration of 'animVTable'
animation.c:4564: warning: initialization makes integer from pointer without a cast
animation.c:4565: warning: excess elements in scalar initializer
animation.c:4565: warning: (near initialization for 'animVTable')
animation.c:4566: warning: excess elements in scalar initializer
animation.c:4566: warning: (near initialization for 'animVTable')
animation.c:4567: warning: excess elements in scalar initializer
animation.c:4567: warning: (near initialization for 'animVTable')
animation.c:4568: warning: excess elements in scalar initializer
animation.c:4568: warning: (near initialization for 'animVTable')
animation.c:4569: warning: excess elements in scalar initializer
animation.c:4569: warning: (near initialization for 'animVTable')
animation.c:4570: warning: excess elements in scalar initializer
animation.c:4570: warning: (near initialization for 'animVTable')
animation.c:4571: warning: excess elements in scalar initializer
animation.c:4571: warning: (near initialization for 'animVTable')
animation.c:4572: warning: data definition has no type or storage class
animation.c:4574: error: syntax error before '*' token
animation.c:4576: warning: return type defaults to 'int'
animation.c:4576: warning: no previous prototype for 'getCompPluginInfo20070830'
make[3]: *** [animation.lo] Error 1
make[3]: Leaving directory `/home/jonathan/archives/compiz/plugins-main/src/animation'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jonathan/archives/compiz/plugins-main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathan/archives/compiz/plugins-main'
make: *** [all] Error 2
If I try the explained way from http://wiki.compiz-fusion.org/Get_Compiz_Fusion#line-56 I always get in trouble because I dont use gconfig because I'm a KDE-only user. This method doesn't give any possibility to set --dibable-gconf.
The last thing I tried was to install all the git versions from sources. My problem with this method is that my X11 isn't configured with xcb support so I get this error: No package 'x11-xcb' found
Will x11-xcb be required in future stable releases? If so, I have to reinstall my X11 anyway sooner or later.
Thats all I tried so far and I lost hope :( If someone of you have an idea, please share it.
greetings,
Jonathan