Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-wm/compiz-9999 ignores the -kde flag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
PCalitrack
n00b
n00b


Joined: 05 Aug 2007
Posts: 20
Location: Berkeley, CA

PostPosted: Fri Aug 17, 2007 7:27 pm    Post subject: x11-wm/compiz-9999 ignores the -kde flag Reply with quote

Hi,

I'm trying to rebuild compiz-fusion after an upgrade to gnome-2.18 and the libexpat fiasco. However, for some reason compiz-9999 seems to want to install for KDE when I have all gnome flags and have explicitly disabled the kde flag. Here's the output of emerge compiz-9999

Code:
kconfig.cpp:20:21: error: kglobal.h: No such file or directory
kconfig.cpp:21:27: error: kstandarddirs.h: No such file or directory
kconfig.cpp:22:26: error: kapplication.h: No such file or directory
kconfig.cpp:23:27: error: ksimpleconfig.h: No such file or directory
kconfig.cpp:24:19: error: qfile.h: No such file or directory
kconfig.cpp:30: error: expected initializer before '*' token
kconfig.cpp:43: error: ISO C++ forbids declaration of 'KConfig' with no type
kconfig.cpp:43: error: expected ';' before '*' token
kconfig.cpp: In function 'int kconfigRcSync(void*)':
kconfig.cpp:80: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp: At global scope:
kconfig.cpp:103: error: 'QString' does not name a type
kconfig.cpp: In function 'void kconfigSetOption(CompDisplay*, CompOption*, const char*, const char*)':
kconfig.cpp:186: error: 'QString' was not declared in this scope
kconfig.cpp:186: error: expected `;' before 'group'
kconfig.cpp:190: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:190: error: 'group' was not declared in this scope
kconfig.cpp:195: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:199: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:202: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:210: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:211: error: 'kconfigValueToString' was not declared in this scope
kconfig.cpp:218: error: 'QValueList' was not declared in this scope
kconfig.cpp:218: error: expected primary-expression before 'int'
kconfig.cpp:218: error: expected `;' before 'int'
kconfig.cpp:221: error: 'list' was not declared in this scope
kconfig.cpp:223: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:223: error: 'list' was not declared in this scope
kconfig.cpp:234: error: 'QStringList' was not declared in this scope
kconfig.cpp:234: error: expected `;' before 'list'
kconfig.cpp:237: error: 'list' was not declared in this scope
kconfig.cpp:241: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:241: error: 'list' was not declared in this scope
kconfig.cpp: At global scope:
kconfig.cpp:258: error: 'QString' has not been declared
kconfig.cpp: In function 'int kconfigStringToValue(CompDisplay*, int, CompOptionType, CompOptionValue*)':
kconfig.cpp:264: error: request for member 'toInt' in 'str', which is of non-class type 'int'
kconfig.cpp:267: error: request for member 'toFloat' in 'str', which is of non-class type 'int'
kconfig.cpp:270: error: request for member 'ascii' in 'str', which is of non-class type 'int'
kconfig.cpp:270: error: 'strdup' was not declared in this scope
kconfig.cpp:275: error: request for member 'ascii' in 'str', which is of non-class type 'int'
kconfig.cpp:279: error: request for member 'ascii' in 'str', which is of non-class type 'int'
kconfig.cpp:282: error: request for member 'ascii' in 'str', which is of non-class type 'int'
kconfig.cpp:285: error: request for member 'ascii' in 'str', which is of non-class type 'int'
kconfig.cpp:288: error: request for member 'toInt' in 'str', which is of non-class type 'int'
kconfig.cpp:292: error: request for member 'ascii' in 'str', which is of non-class type 'int'
kconfig.cpp: At global scope:
kconfig.cpp:319: error: 'KConfig' has not been declared
kconfig.cpp: In function 'int kconfigReadOptionValue(CompDisplay*, int*, CompOption*, CompOptionValue*)':
kconfig.cpp:328: error: request for member 'readBoolEntry' in '* config', which is of non-class type 'int'
kconfig.cpp:331: error: request for member 'readNumEntry' in '* config', which is of non-class type 'int'
kconfig.cpp:334: error: request for member 'readDoubleNumEntry' in '* config', which is of non-class type 'int'
kconfig.cpp:342: error: request for member 'readEntry' in '* config', which is of non-class type 'int'
kconfig.cpp:355: error: 'QValueList' was not declared in this scope
kconfig.cpp:355: error: expected primary-expression before 'int'
kconfig.cpp:355: error: expected `;' before 'int'
kconfig.cpp:357: error: 'list' was not declared in this scope
kconfig.cpp:357: error: request for member 'readIntListEntry' in '* config', which is of non-class type 'int'
kconfig.cpp:382: error: 'QStringList' was not declared in this scope
kconfig.cpp:382: error: expected `;' before 'list'
kconfig.cpp:384: error: 'list' was not declared in this scope
kconfig.cpp:384: error: request for member 'readListEntry' in '* config', which is of non-class type 'int'
kconfig.cpp: In function 'void kconfigGetDisplayOption(CompDisplay*, CompOption*, const char*)':
kconfig.cpp:430: error: 'QString' was not declared in this scope
kconfig.cpp:430: error: expected `;' before 'group'
kconfig.cpp:431: error: 'QString' does not name a type
kconfig.cpp:435: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:435: error: 'group' was not declared in this scope
kconfig.cpp:437: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:437: error: 'name' was not declared in this scope
kconfig.cpp:441: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:443: error: 'strcmp' was not declared in this scope
kconfig.cpp: In function 'void kconfigGetScreenOption(CompScreen*, CompOption*, const char*, const char*)':
kconfig.cpp:463: error: 'QString' was not declared in this scope
kconfig.cpp:463: error: expected `;' before 'group'
kconfig.cpp:464: error: 'QString' does not name a type
kconfig.cpp:468: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:468: error: 'group' was not declared in this scope
kconfig.cpp:470: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:470: error: 'name' was not declared in this scope
kconfig.cpp:474: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:476: error: 'strcmp' was not declared in this scope
kconfig.cpp: In function 'int kconfigRcReload(void*)':
kconfig.cpp:501: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:519: error: 'QString' was not declared in this scope
kconfig.cpp:519: error: expected `;' before 'screen'
kconfig.cpp:523: error: 'screen' was not declared in this scope
kconfig.cpp:533: error: 'screen' was not declared in this scope
kconfig.cpp: In function 'void kconfigRcChanged(const char*, void*)':
kconfig.cpp:550: error: 'strcmp' was not declared in this scope
kconfig.cpp: In function 'int kconfigSetScreenOption(CompScreen*, const char*, CompOptionValue*)':
kconfig.cpp:639: error: 'QString' was not declared in this scope
kconfig.cpp:639: error: expected `;' before 'screen'
kconfig.cpp:641: error: 'screen' was not declared in this scope
kconfig.cpp:641: error: 'QString' is not a class or namespace
kconfig.cpp: In function 'int kconfigSetScreenOptionForPlugin(CompScreen*, const char*, const char*, CompOptionValue*)':
kconfig.cpp:680: error: 'QString' was not declared in this scope
kconfig.cpp:680: error: expected `;' before 'screen'
kconfig.cpp:682: error: 'screen' was not declared in this scope
kconfig.cpp:682: error: 'QString' is not a class or namespace
kconfig.cpp: In function 'int kconfigInitPluginForScreen(CompPlugin*, CompScreen*)':
kconfig.cpp:737: error: 'QString' was not declared in this scope
kconfig.cpp:737: error: expected `;' before 'screen'
kconfig.cpp:739: error: 'screen' was not declared in this scope
kconfig.cpp:739: error: 'QString' is not a class or namespace
kconfig.cpp: In function 'int kconfigInitDisplay(CompPlugin*, CompDisplay*)':
kconfig.cpp:755: error: 'QString' was not declared in this scope
kconfig.cpp:755: error: expected `;' before 'dir'
kconfig.cpp:761: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:761: error: expected type-specifier before 'KConfig'
kconfig.cpp:761: error: expected `;' before 'KConfig'
kconfig.cpp:762: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:771: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp:780: error: 'dir' was not declared in this scope
kconfig.cpp:780: error: 'KGlobal' has not been declared
kconfig.cpp:780: error: 'QString' is not a class or namespace
kconfig.cpp:782: error: 'QFile' has not been declared
kconfig.cpp: In function 'void kconfigFiniDisplay(CompPlugin*, CompDisplay*)':
kconfig.cpp:826: error: 'struct _KconfigDisplay' has no member named 'config'
kconfig.cpp: In function 'int kconfigInit(CompPlugin*)':
kconfig.cpp:878: error: 'kInstance' was not declared in this scope
kconfig.cpp:878: error: expected type-specifier before 'KInstance'
kconfig.cpp:878: error: expected `;' before 'KInstance'
kconfig.cpp: In function 'void kconfigFini(CompPlugin*)':
kconfig.cpp:894: error: 'kInstance' was not declared in this scope
make[2]: *** [kconfig.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999'
make: *** [all] Error 2

!!! ERROR: x11-wm/compiz-9999 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  compiz-9999.ebuild, line 73:   Called die


As far as I can tell, those KConfig files are specific to KDE. I'm not sure what to do at this point.

Thanks.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Fri Aug 17, 2007 7:58 pm    Post subject: Reply with quote

emerge -pv compiz

let's see what the command line says...
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
PCalitrack
n00b
n00b


Joined: 05 Aug 2007
Posts: 20
Location: Berkeley, CA

PostPosted: Fri Aug 17, 2007 8:14 pm    Post subject: Reply with quote

Here we go. I should have submitted this from the beginning. Sorry.

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-wm/compiz-9999  USE="dbus gnome gtk svg -fuse -kde" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/layman/xeffects
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Aug 18, 2007 2:38 am    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software, software is in XEffects overlay.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
PCalitrack
n00b
n00b


Joined: 05 Aug 2007
Posts: 20
Location: Berkeley, CA

PostPosted: Sat Aug 18, 2007 3:24 am    Post subject: Reply with quote

I just think if I could use the --disable-kconfig compiler flag then this might solve the problem. However, there is no USE flag for this, so I can't. I'm not sure where the package is getting the idea to use kconfig instead of gconf
Back to top
View user's profile Send private message
Kytrix
n00b
n00b


Joined: 11 Jul 2006
Posts: 13

PostPosted: Sat Aug 18, 2007 12:21 pm    Post subject: Reply with quote

Hi,

I have the same problem here.

Kytrix
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Sat Aug 18, 2007 12:26 pm    Post subject: Reply with quote

PCalitrack wrote:
I just think if I could use the --disable-kconfig compiler flag then this might solve the problem. However, there is no USE flag for this, so I can't. I'm not sure where the package is getting the idea to use kconfig instead of gconf
you could try EXTRA_ECONF="--disable-kconfig" emerge compiz
Back to top
View user's profile Send private message
Kytrix
n00b
n00b


Joined: 11 Jul 2006
Posts: 13

PostPosted: Sat Aug 18, 2007 12:41 pm    Post subject: Reply with quote

pussi wrote:
PCalitrack wrote:
I just think if I could use the --disable-kconfig compiler flag then this might solve the problem. However, there is no USE flag for this, so I can't. I'm not sure where the package is getting the idea to use kconfig instead of gconf
you could try EXTRA_ECONF="--disable-kconfig" emerge compiz


It seems to compile a little more but i get that:
Code:
make[2]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999/po'
Making all in metadata
make[2]: Entering directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999/metadata'
make[2]: *** No rule to make target `compiz-core.schemas', needed by `all-am'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999/metadata'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999'
make: *** [all] Error 2
 *
 * ERROR: x11-wm/compiz-9999 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   compiz-9999.ebuild, line 73:   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-wm/compiz-9999/temp/build.log'.
 *
Back to top
View user's profile Send private message
link1305
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 168
Location: Cleveland, Ohio

PostPosted: Sat Aug 18, 2007 11:10 pm    Post subject: Reply with quote

It seems a lot of us are having issues when compiz is trying to compile the metadata directory. I wonder if something is wrong with the code/make file...

https://forums.gentoo.org/viewtopic-t-576647.html

http://forums.gentoo-xeffects.org/viewtopic.php?f=3&t=600
Back to top
View user's profile Send private message
Mantaar
Apprentice
Apprentice


Joined: 17 May 2007
Posts: 219

PostPosted: Sun Aug 19, 2007 12:27 am    Post subject: Reply with quote

Yes - it's definitely something wrong with the ebuild as I managed to compile (though not to get fully to work) compiz-fusion 0.5.2 outside portage...

All this seems to be in a very immature state...
_________________
Error compiling committee.c: too many arguments to function.
Back to top
View user's profile Send private message
PCalitrack
n00b
n00b


Joined: 05 Aug 2007
Posts: 20
Location: Berkeley, CA

PostPosted: Sun Aug 19, 2007 4:14 am    Post subject: Reply with quote

I received the same error as Kytix when I used the EXTRA_ECONF="--disable-kconfig" flag. Definitely something wrong with this package, but then again it is in the unstable categories.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Sun Aug 19, 2007 6:42 am    Post subject: Reply with quote

Mantaar wrote:
Yes - it's definitely something wrong with the ebuild as I managed to compile (though not to get fully to work) compiz-fusion 0.5.2 outside portage...

All this seems to be in a very immature state...


Well, if the people are using the live ebuild (which is the case here) then yes - it's going to break and break often. People need to understand this. If this is not something you can live with, there are ebuilds for the release 0.5.2. Use that one instead. It's in the overlay :)

It's not that it's in a "immature" state. These people are accessing a live ebuild. This is tantamount to "trying to drive a car with the mechanic still working on the engine as you drive" - you wouldn't do this in real life and certainly not if you expect any good to come of it. Only developers or people with a death wish should use live ebuilds :P

Oh, and what is wrong with the ebuild? It seems to me the break is in the source upstream. Perhaps the change upstream may require a fix in the ebuild, but I am unsure at this point. If anyone has a suggestion...
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sun Aug 19, 2007 9:44 am    Post subject: Reply with quote

roderick wrote:
Oh, and what is wrong with the ebuild? It seems to me the break is in the source upstream. Perhaps the change upstream may require a fix in the ebuild, but I am unsure at this point. If anyone has a suggestion...


Code:
--- compiz-9999.ebuild.orig     2007-08-19 11:36:52.000000000 +0200
+++ compiz-9999.ebuild  2007-08-19 11:39:45.000000000 +0200
@@ -65,6 +65,7 @@
                $(use_enable gnome) \
                $(use_enable gnome metacity) \
                $(use_enable kde) \
+               $(use_enable kde kconfig) \
                $(use_enable svg librsvg) \
                $(use_enable dbus) \
                $(use_enable dbus dbus-glib) \


The other error is a gconf schemas install problem. EXTRA_CONF="--disable-gconf" gets you behind this error.
EXTRA_CONF="--disable-schemas-install" should also work.
But:
Quote:
CREATED ini.xml
LC_ALL=C ../intltool-merge -x -u -c ../po/.intltool-merge-cache ../po inotify.xml.in inotify.xml
Found cached translation database
Merging translations into inotify.xml.
CREATED inotify.xml
make[2]: *** No rule to make target `kconfig.xml', needed by `all-am'. Stop.
make[2]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999/metadata'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz-9999'
make: *** [all] Error 2

So upstream is indeed a bit broken atm. I tried with EXTRA_CONF="--disable-kconfig --disable-gconf"
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
link1305
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 168
Location: Cleveland, Ohio

PostPosted: Sun Aug 19, 2007 3:46 pm    Post subject: Reply with quote

Quote:
If this is not something you can live with, there are ebuilds for the release 0.5.2


Thanks, I wasn't aware of this. Every FAQ I've read on compiz just talks about 9999.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Sun Aug 19, 2007 4:53 pm    Post subject: Reply with quote

link1305 wrote:
Quote:
If this is not something you can live with, there are ebuilds for the release 0.5.2


Thanks, I wasn't aware of this. Every FAQ I've read on compiz just talks about 9999.


0.5.2 was just recently released. Though, if you wanted something stable, there was compiz in portage and beryl. :)

Anyway, 0.5.2 should be fine for you.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum