heltoupee
August 14th, 2007, 10:57 PM
OK, I'm running Sabayon (a gentoo variant), and am attempting to compile and install compiz-fusion from source (downloaded from http://releases.compiz-fusion.com/0.5.2/)
Compiz 5.2 installed fine after I figured out to do ./configure --prefix=/usr.
I then compiled bcop, libcompizconfig, the kconfig backend, emerald, emerald-themes. All with no errors.
next, I tried the plugins-main, and got compiler errors on make:
Making all in opacify
make[3]: Entering directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0 .5.2/src/opacify'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/co mpiz -DDATADIR='"/usr/share/compiz"' -DLIBDIR='"/usr/lib"' -DLOCALEDIR="\"/usr/s hare/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT opacify_options.lo -MD -MP -MF .deps/o pacify_options.Tpo -c -o opacify_options.lo opacify_options.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-n otification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share/compiz\" -DLIBDIR=\ "/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" - I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-protot ypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT opacify_op tions.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: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
make[3]: *** [opacify_options.lo] Error 1
make[3]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0. 5.2/src/opacify'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0. 5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0. 5.2'
make: *** [all] Error 2
I check in opacify_options.c and sure enough, there are 2 copies of the case blocks referenced in the errors that do the exact same thing. is bcop stuttering? Any ideas (short of going into the code and culling it myself?)
Oh, I also tried to do the plugins-extra and was greeted with the same type of errors:
Making all in cubecaps
make[3]: Entering directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2/src/cubecaps'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR='""' -DLIBDIR='"/usr/lib"' -DLOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT cubecaps_options.lo -MD -MP -MF .deps/cubecaps_options.Tpo -c -o cubecaps_options.lo cubecaps_options.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT cubecaps_options.lo -MD -MP -MF .deps/cubecaps_options.Tpo -c cubecaps_options.c -fPIC -DPIC -o .libs/cubecaps_options.o
cubecaps_options.c: In function 'cubecapsOptionsSetScreenOption':
cubecaps_options.c:551: error: duplicate case value
cubecaps_options.c:543: error: previously used here
cubecaps_options.c:567: error: duplicate case value
cubecaps_options.c:559: error: previously used here
cubecaps_options.c:583: error: duplicate case value
cubecaps_options.c:575: error: previously used here
cubecaps_options.c:599: error: duplicate case value
cubecaps_options.c:591: error: previously used here
cubecaps_options.c:615: error: duplicate case value
cubecaps_options.c:607: error: previously used here
cubecaps_options.c:631: error: duplicate case value
cubecaps_options.c:623: error: previously used here
cubecaps_options.c:647: error: duplicate case value
cubecaps_options.c:639: error: previously used here
cubecaps_options.c:663: error: duplicate case value
cubecaps_options.c:655: error: previously used here
cubecaps_options.c:679: error: duplicate case value
cubecaps_options.c:671: error: previously used here
cubecaps_options.c:695: error: duplicate case value
cubecaps_options.c:687: error: previously used here
cubecaps_options.c:711: error: duplicate case value
cubecaps_options.c:703: error: previously used here
cubecaps_options.c:727: error: duplicate case value
cubecaps_options.c:719: error: previously used here
make[3]: *** [cubecaps_options.lo] Error 1
make[3]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2/src/cubecaps'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2'
make: *** [all] Error 2
Please help! Thanks!
EDIT:
More info on my system. nvidia 7600GT. I'm running in dual-head mode. If that could have anything to do with this, I'll be glad to post my xorg.conf as well.
Thanks again!
Compiz 5.2 installed fine after I figured out to do ./configure --prefix=/usr.
I then compiled bcop, libcompizconfig, the kconfig backend, emerald, emerald-themes. All with no errors.
next, I tried the plugins-main, and got compiler errors on make:
Making all in opacify
make[3]: Entering directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0 .5.2/src/opacify'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/co mpiz -DDATADIR='"/usr/share/compiz"' -DLIBDIR='"/usr/lib"' -DLOCALEDIR="\"/usr/s hare/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT opacify_options.lo -MD -MP -MF .deps/o pacify_options.Tpo -c -o opacify_options.lo opacify_options.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-n otification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share/compiz\" -DLIBDIR=\ "/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" - I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-protot ypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT opacify_op tions.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: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
make[3]: *** [opacify_options.lo] Error 1
make[3]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0. 5.2/src/opacify'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0. 5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-main-0. 5.2'
make: *** [all] Error 2
I check in opacify_options.c and sure enough, there are 2 copies of the case blocks referenced in the errors that do the exact same thing. is bcop stuttering? Any ideas (short of going into the code and culling it myself?)
Oh, I also tried to do the plugins-extra and was greeted with the same type of errors:
Making all in cubecaps
make[3]: Entering directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2/src/cubecaps'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR='""' -DLIBDIR='"/usr/lib"' -DLOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT cubecaps_options.lo -MD -MP -MF .deps/cubecaps_options.Tpo -c -o cubecaps_options.lo cubecaps_options.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT cubecaps_options.lo -MD -MP -MF .deps/cubecaps_options.Tpo -c cubecaps_options.c -fPIC -DPIC -o .libs/cubecaps_options.o
cubecaps_options.c: In function 'cubecapsOptionsSetScreenOption':
cubecaps_options.c:551: error: duplicate case value
cubecaps_options.c:543: error: previously used here
cubecaps_options.c:567: error: duplicate case value
cubecaps_options.c:559: error: previously used here
cubecaps_options.c:583: error: duplicate case value
cubecaps_options.c:575: error: previously used here
cubecaps_options.c:599: error: duplicate case value
cubecaps_options.c:591: error: previously used here
cubecaps_options.c:615: error: duplicate case value
cubecaps_options.c:607: error: previously used here
cubecaps_options.c:631: error: duplicate case value
cubecaps_options.c:623: error: previously used here
cubecaps_options.c:647: error: duplicate case value
cubecaps_options.c:639: error: previously used here
cubecaps_options.c:663: error: duplicate case value
cubecaps_options.c:655: error: previously used here
cubecaps_options.c:679: error: duplicate case value
cubecaps_options.c:671: error: previously used here
cubecaps_options.c:695: error: duplicate case value
cubecaps_options.c:687: error: previously used here
cubecaps_options.c:711: error: duplicate case value
cubecaps_options.c:703: error: previously used here
cubecaps_options.c:727: error: duplicate case value
cubecaps_options.c:719: error: previously used here
make[3]: *** [cubecaps_options.lo] Error 1
make[3]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2/src/cubecaps'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/Desktop/c-f/compiz-fusion-plugins-extra-0.5.2'
make: *** [all] Error 2
Please help! Thanks!
EDIT:
More info on my system. nvidia 7600GT. I'm running in dual-head mode. If that could have anything to do with this, I'll be glad to post my xorg.conf as well.
Thanks again!