PDA

View Full Version : [solved]Errors in compizconfig.c


p1c2u
June 24th, 2007, 02:59 PM
Hi,
I've tried change beryl to compiz-fusion, but while compiling compizconfig.c i have:
[code:67ee3]compizconfig.c: In function '__pyx_f_12compizconfig_7Setting___new__':
compizconfig.c:1246: error: invalid lvalue in assignment
compizconfig.c: In function '__pyx_f_12compizconfig_6Plugin___new__':
compizconfig.c:1989: error: invalid lvalue in assignment
compizconfig.c: In function '__pyx_f_12compizconfig_7Profile___new__':
compizconfig.c:3160: error: invalid lvalue in assignment
compizconfig.c: In function '__pyx_f_12compizconfig_7Backend___new__':
compizconfig.c:3261: error: invalid lvalue in assignment
[/code:67ee3]

[code:67ee3]
1246: ((PyObject *)((struct __pyx_obj_12compizconfig_Setting *)__pyx_v_self)->plugin) = ((PyObject *)__pyx_v_plugin);
1989: ((PyObject *)((struct __pyx_obj_12compizconfig_Plugin *)__pyx_v_self)->context) = ((PyObject *)__pyx_v_context);
3160: ((PyObject *)((struct __pyx_obj_12compizconfig_Profile *)__pyx_v_self)->context) = ((PyObject *)__pyx_v_context);
3261: ((PyObject *)((struct __pyx_obj_12compizconfig_Backend *)__pyx_v_self)->context) = ((PyObject *)__pyx_v_context);
[/code:67ee3]

gcc
[code:67ee3]stargate # gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,objc,obj-c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
[/code:67ee3]
Is it gcc version problem? Any help will be pleased.

Jupiter
June 26th, 2007, 12:26 AM
Make sure to remove all previous compiz install and emerald.
Also read http://gentoo-xeffects.org/ for updated info.

p1c2u
June 26th, 2007, 10:23 AM
unfortunately it doesn't help

Jupiter
June 27th, 2007, 02:16 AM
unfortunately it doesn't help
Compile compiz without the "--as-needed" LDFLAG

p1c2u
June 27th, 2007, 07:07 PM
I don't have this flag. I unemerged beryl, but still the same.

EDIT
Finally I found solution. The reason was pyrex old version. After update 0.9.3.1 -> 0.9.5.1a compizconfig-python emerged successful. Thanks for help.