PDA

View Full Version : building libcompizconfig ...Urge to kill....rising....rising....


charger
December 18th, 2007, 04:51 PM
Hi All....

I'm just about ready to give up on compiz-fusion for slackware12...

I simply wish to build v0.5.2.

Trying to build libcompizconfig.

Slackware12
KDE
freerock gnome

./configure --prefix=/usr

no problem

make

...

gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DLIBDIR=\"/usr/lib\" -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT ccp.lo -MD -MP -MF .deps/ccp.Tpo -c ccp.c -fPIC -DPIC -o .libs/ccp.o
ccp.c: In function 'ccpSetOptionFromContext':
ccp.c:448: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:448: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:448: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c:453: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:453: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:453: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpSetContextFromOption':
ccp.c:550: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:550: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:550: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c:555: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:555: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:555: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpInitPluginForDisplay':
ccp.c:700: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:700: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:700: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpInitPluginForScreen':
ccp.c:728: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:728: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:728: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c: At top level:
ccp.c:942: warning: initialization from incompatible pointer type
ccp.c:944: warning: initialization from incompatible pointer type
ccp.c:945: warning: initialization from incompatible pointer type
ccp.c:946: warning: initialization from incompatible pointer type
ccp.c:947: warning: initialization from incompatible pointer type
ccp.c:948: warning: initialization from incompatible pointer type
ccp.c:949: warning: initialization from incompatible pointer type
ccp.c:962: fatal error: opening dependency file .deps/ccp.Tpo: Permission denied
compilation terminated.
make[2]: *** [ccp.lo] Error 1
make[2]: Leaving directory `/home/mike/download/srcpkgs/compiz-fusion/libcompizconfig-0.5.2/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mike/download/srcpkgs/compiz-fusion/libcompizconfig-0.5.2'
make: *** [all] Error 2


Any help?

Thanks

M

adamk
December 18th, 2007, 05:37 PM
Just a thought, but is the version of compiz you have installed also 0.5.2?

cyberorg
December 19th, 2007, 06:30 AM
You need matching versions of bcop and compiz manually compiled and installed.

some-guy
December 19th, 2007, 02:04 PM
try http://www.linuxpackages.net/search_view.php?by=name&name=compiz&ver=12.0
get:
compiz
compiz-bcop
compiz-fusion (contains compiz-manager)
compiz-fusion-plugins-extra
compiz-fusion-plugins-main
compizconfig-backend-kconfig
compizconfig-python
libcompizconfig

That will give you c-f 0.6.0 which is newer than c-f 0.5.2