Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
another compiz compile issue (Solved)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Wed Jul 06, 2011 7:17 pm    Post subject: Reply with quote

keenblade wrote:

These are april 1 jokes.

Yep. I knew i could brighten things up around here.
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Jul 06, 2011 7:32 pm    Post subject: Reply with quote

Jupiter1TX wrote:
...
I'm no code monkey but i have worked with compiz since the beginning and used
to help write ebuilds, so i do know a little as to what i speak of.

Ok, maybe you have an idea of what compizconfig-backend-kconfig4-0.9.4 emerge faill at comment 22 that I filled. That's the only package that fails from v 0.9.4 ebuilds of compiz-fusion set. Probably a cmake fix needed.
Any idea?
Edit: Sorry, the failing ebuild is compizconfig-backend-kconfig4-0.9.4 not compiz-0.9.4. Corrected.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"


Last edited by keenblade on Wed Jul 06, 2011 8:21 pm; edited 2 times in total
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Wed Jul 06, 2011 7:46 pm    Post subject: Reply with quote

keenblade wrote:
Jupiter1TX wrote:
...
I'm no code monkey but i have worked with compiz since the beginning and used
to help write ebuilds, so i do know a little as to what i speak of.

Ok, maybe you have an idea of what x11-wm/compiz-0.9.4 emerge faill at comment 22 that I filled. That's the only package that fails from v 0.9.4 ebuilds of compiz-fusion set. Probably a cmake fix needed.
Any idea?

Unfortunately i have del. my local experimental compiz overlay
but if i remember correctly i had to add a source statement
because the new compiz make is looking for 'compiz-core' rather
then 'compiz'.
Code:
S="${WORKDIR}/compiz-core-${PV}"

And yes i think ALL of the compiz components had
cmake issues finding 'CMakeCache.txt'. That can be overcome
inserting a src_test after src_install
Code:
src_test() {
   :
}

_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Jul 06, 2011 8:19 pm    Post subject: Reply with quote

I am tired of this compile errors. Manual compiling works, but portage fails :(
I'll wait for jmbsvicetto or another dev to update the overlay for compiz.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Wed Jul 06, 2011 10:31 pm    Post subject: Reply with quote

keenblade wrote:
I am tired of this compile errors. Manual compiling works, but portage fails :(
I'll wait for jmbsvicetto or another dev to update the overlay for compiz.


Ah and here i thought... never mind.
Anyway i went and looked at the ebuilds in the bug report.
I made a few changes and everything compiles except
compizconfig-backend-kconfig4 because of a phonon error
in the CMakeCache.txt. Anyhow i uploaded the modded
ebuilds if you want to try them. Also i'm sure your getting
stuck because the need to use 'MAKEOPTS="-j1"'.
Try that. Am sure it will put a smile on your face to make
progress.
I Uploaded the modded ebuilds here
http://ompldr.org/iOWR2dA
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Wed Jul 06, 2011 10:59 pm    Post subject: Reply with quote

@jmbsvicetto
I'll be around the rest of the week 'vacation' and can help
somewhat if you need it. Kinda staying busy trying to get
my bird cleaned up for a car show this weekend. As can be
seen it's a lot more fun then working on ebuilds... LOL
http://transam.planetjupiter.com/
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Jul 07, 2011 12:14 am    Post subject: Reply with quote

Jupiter1TX wrote:

Ah and here i thought... never mind.
Anyway i went and looked at the ebuilds in the bug report.
I made a few changes and everything compiles except
compizconfig-backend-kconfig4 because of a phonon error
in the CMakeCache.txt. Anyhow i uploaded the modded
ebuilds if you want to try them. Also i'm sure your getting
stuck because the need to use 'MAKEOPTS="-j1"'.
Try that. Am sure it will put a smile on your face to make
progress.
I Uploaded the modded ebuilds here
http://ompldr.org/iOWR2dA

For me the same. Everything compiles except compizconfig-backend-kconfig4. Ayyway, I'll take a look at your ebuilds. Thanks.
Btw, who needs compiz, if you have such a bird for a car show. Nice red thing, really.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Thu Jul 07, 2011 9:52 am    Post subject: Reply with quote

no go,

it seems that the ebuild download the same package than the other. ho and it reemerge perl with ithread

Code:
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-libs/compizconfig-backend-kconfig4-0.9.4 from redspot-cofu
>>> Downloading 'http://distfiles.gentoo.org/distfiles/compiz-compizconfig-backend-kconfig4-0.9.4.tar.bz2'
--2011-07-07 11:35:38--  http://distfiles.gentoo.org/distfiles/compiz-compizconfig-backend-kconfig4-0.9.4.tar.bz2
Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.233.100, 64.50.236.52, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-07-07 11:35:38 ERROR 404: Not Found.

>>> Downloading 'http://releases.compiz.org/0.9.4/compiz-compizconfig-backend-kconfig4-0.9.4.tar.bz2'
--2011-07-07 11:35:38--  http://releases.compiz.org/0.9.4/compiz-compizconfig-backend-kconfig4-0.9.4.tar.bz2
Resolving releases.compiz.org... 195.114.19.35
Connecting to releases.compiz.org|195.114.19.35|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22015 (21K) [application/octet-stream]
Saving to: `/usr/portage/distfiles/compiz-compizconfig-backend-kconfig4-0.9.4.tar.bz2'

100%[========================================================>] 22,015      --.-K/s   in 0.1s   
..........
..........
izconfig-backend-kconfig4-0.9.4_build"
make -j1
CMake Error: Parse error in cache file /var/tmp/portage/x11-libs/compizconfig-backend-kconfig4-0.9.4/work/compizconfig-backend-kconfig4-0.9.4_build/CMakeCache.txt. Offending entry: ()]
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found Threads: TRUE (found version "0.9.4")
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "0.9.4")
CMake Error at /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:188 (MESSAGE):
  Could NOT find Phonon: Found version "0.9.4", but required is at least
  "4.3.80" (found /usr/include)




so maybe I do something wrong here, ebuild are not my strength but it is all logic.

I located all compiz-backend-kconfig4 on my computer and removed them, to force a new download, you can see it takes it from distfiles.gentoo.org

I had to re-digest all the ebuild by the way
_________________
reup

"Don't wiggle the tail of the frog in the oil of the frying peanuts"
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sat Jul 09, 2011 11:32 am    Post subject: Reply with quote

well, I have pass the Phonon error, but I do not know how

I think this is important because it could fix some bug, but I have been playing with different system, emerge, cmake, editing the files... so if someone has an idea how to collect the info from my system, I will be happy to share this solution

first I try to emerge from different ebuild, 0.9.2.1, 0.9.4, 9999
all return the same error :
Code:
CMake Error at /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:188 (MESSAGE):
  Could NOT find Phonon: Found version "0.9.4", but required is at least
  "4.3.80" (found /usr/include)


so I have linked /usr/include/phonon to qt4 (found in a bug from fedora) but still had the same error, I remove the link
then I remember I had a package downloaded from compiz webgit site in my homedir, so I try to cmake this package but with the same error
Code:
build #   
build # cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found Automoc4: /usr/bin/automoc4
CMake Error at /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:188 (MESSAGE):
  Could NOT find Phonon: Found version "0.9.4", but required is at least
  "4.3.80" (found /usr/include)
Call Stack (most recent call first):
  /usr/share/apps/cmake/modules/FindPhonon.cmake:35 (find_package_handle_standard_args)
  /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:705 (find_package)
  /usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  src/CMakeLists.txt:1 (find_package)


-- Configuring incomplete, errors occurred!

build #


so I modify the /home/reup/Computer/compizconfig-backend-kconfig4/build/CMakeCache.txt to change request version of phonon from 4.x.x to 0.9.4 (trying to please the compiler)

same error while doing the cmake

Code:
mv /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmakebpp

still same error
then I did an emerge compizconfig-backend-kconfig4 to see, and it worked

I hope someone will find something useful in this, I am not sure I can :-)

by the way, compiz still load and replace kwin but no decoration, no modules are loaded, no eyecandy, basically, no compiz

could this be link to nouveau ? I will try to switch to nvidia and see if it works



AARG ! I just found out in a bug from Fedora : compiz does not work with NOUVEAU !!!!!
_________________
reup

"Don't wiggle the tail of the frog in the oil of the frying peanuts"
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Sun Jul 10, 2011 9:27 pm    Post subject: Reply with quote

Guys i just talked to smspillaz and the error is an outdated macro in the
CMakeLists.txt file. He did say he would try and fix it in the next few days,
time permitting.
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
TimeManx
n00b
n00b


Joined: 11 Jul 2011
Posts: 55

PostPosted: Sun Jul 31, 2011 12:25 am    Post subject: Reply with quote

keenblade wrote:
If you emerge x11-wm/compiz-0.9.4 with "kde" useflag, you can use compiz with kwin decorator. I use it like that. Everything works here desktop cube, etc. Only compizconfig-backend-kconfig4 is v0.9.2.1, all the others are v0.9.4.

How did u make it work? I've tried all versions from 0.9.2 to 0.9.5.2 (from git). All of them fail to create the window decorations.
Maybe you've done something that i havn't. And about compiling compiz with the gtk useflag, what version of gtk+ are you using?
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sun Jul 31, 2011 12:05 pm    Post subject: Reply with quote

TimeManx wrote:
How did u make it work? I've tried all versions from 0.9.2 to 0.9.5.2 (from git). All of them fail to create the window decorations.
Maybe you've done something that i havn't. And about compiling compiz with the gtk useflag, what version of gtk+ are you using?

Actually, currently ccsm does not work, so you need to login to kde and use its "System Settings" (systemsettings) to activate desktop cube, etc.
I use gtk+9999 from gnome overlay. But I also have installed gtk+2.24.5-r1 in portage tree.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Fri Feb 03, 2012 6:00 am    Post subject: Reply with quote

andrewthomas wrote:
It has to do with: Use __cinit__ instead of __new__ since its removed in Cython 0.14

I haven't tried this since I am still using 0.8.6, but it may work:


Code:
commit 53d5da274e4d6327b75ed233d3e6f74c8b123296
Author: Sam Spilsbury <sam.spilsbury@canonical.com>
Date:   Sat Feb 12 23:13:08 2011 +0800

    Use __cinit__ instead of __new__ since its removed in Cython 0.14

diff --git a/src/compizconfig.pyx b/src/compizconfig.pyx
index d31f372..146f02b 100644
--- a/src/compizconfig.pyx
+++ b/src/compizconfig.pyx
@@ -570,7 +570,7 @@ cdef class Setting:
     cdef object extendedStrRestrictions
     cdef object baseStrRestrictions
 
-    def __new__ (self, Plugin plugin, name):
+    def __cinit__ (self, Plugin plugin, name):
         cdef CCSSettingType t
         cdef CCSSettingInfo * i
 
@@ -674,7 +674,7 @@ cdef class Setting:
 cdef class SSGroup:
     cdef object screen
 
-    def __new__ (self, screen):
+    def __cinit__ (self, screen):
         self.screen = screen
 
     property Screen:
@@ -692,7 +692,7 @@ cdef class Plugin:
     cdef object ranking
     cdef object hasExtendedString
     
-    def __new__ (self, Context context, name):
+    def __cinit__ (self, Context context, name):
         self.ccsPlugin = ccsFindPlugin (context.ccsContext, name)
         self.context = context
         self.screen = {}
@@ -1007,7 +1007,7 @@ cdef class Profile:
     cdef Context context
     cdef char * name
 
-    def __new__ (self, Context context, name):
+    def __cinit__ (self, Context context, name):
         self.context = context
         self.name = strdup (name)
 
@@ -1029,7 +1029,7 @@ cdef class Backend:
     cdef Bool profileSupport
     cdef Bool integrationSupport
 
-    def __new__ (self, Context context, info):
+    def __cinit__ (self, Context context, info):
         self.context = context
         self.name = strdup (info[0])
         self.shortDesc = strdup (info[1])
@@ -1072,7 +1072,7 @@ cdef class Context:
     cdef object currentBackend
     cdef Bool integration
 
-    def __new__ (self, screenNum = 0, plugins = [], basic_metadata = False):
+    def __cinit__ (self, screenNum = 0, plugins = [], basic_metadata = False):
         cdef CCSPlugin * pl
         cdef CCSList * pll
         if basic_metadata:


Thanks for this patch, it worked for me :-)
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
Goto page Previous  1, 2
Page 2 of 2

 
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