PDA

View Full Version : Script to install Compiz Fusion From Source on gnome


Pages : [1] 2

some-guy
October 25th, 2007, 02:16 PM
This script has been discontinued and a new one is currently in the process of being reviewed! here (http://forum.compiz-fusion.org/showthread.php?p=48771#post48771)

Note that the version numbers will NOT change until a new version of Compiz Fusion is Released!
================================================== =============
There are 5 scripts:
| 1. Install Compiz Fusion 0.6.0 and Dependencies on SuSE Gnome
| 2. Install Compiz Fusion 0.6.0 and Dependencies on Debian/Ubuntu Gnome
| 3. Install Compiz Fusion 0.6.0 and Dependencies on Fedora Gnome (Experimental!)
| 4. Install Additional Plugins for people using my script or distros other than Ubuntu
| 5. Install Additional Plugins and Dependencies for Gutsy/Amarath's Gutsy Backports repo which also installs Tile and Snow (Gutsy Users please use this!)
================================================== =============

================================================== =============
Download:
[1] makecompiz8-gsuse-0.6.0 (http://somelinuxguy94.googlepages.com/makecompiz8-gsuse-0.6.0.tar.gz)
[2] makecompiz8-gdeb-0.6.0 (http://somelinuxguy94.googlepages.com/makecompiz8-gdeb-0.6.0.tar.gz)
[3] makecompiz8-gfedora-0.6.0 (http://somelinuxguy94.googlepages.com/makecompiz8-gfedora-0.6.0.zip)
[4] makeplugins8-0.6.0 (http://somelinuxguy94.googlepages.com/makeplugins8-0.6.0.tar.gz)
[5] makegutsyplugins-0.6.0 (http://somelinuxguy94.googlepages.com/makegutsyplugins-0.6.0.tar.gz)
================================================== =============

----------------------------------------------------------------------------------------------------------------------------------------
Instructions are in the READMEs
compiz-manager [to start compiz, or]
compiz-manager-nvidia [to start compiz on nvidia cards]
fusion-icon [to start the tray icon]
NOTE: Additional Plugins means:
3D Windows, Stars, Atlantis, Screensaver, Anaglyph, Wallpaper, Freewins, Fireflies, and Photowheel
----------------------------------------------------------------------------------------------------------------------------------------


----------------------------------------------------------------------------------------------------------------------------------------
Old Versions:
1st Stable Version (http://somelinuxguy94.googlepages.com/makecompiz-gnome-0.6.0.tar.gz)
2nd Stable Version (http://somelinuxguy94.googlepages.com/makecompiz2-gnome-0.6.0.tar.gz)
3rd Stable Version (http://somelinuxguy94.googlepages.com/makecompiz3-gnome-0.6.0.tar.gz)
4th Stable Version (http://somelinuxguy94.googlepages.com/makecompiz4-gnome-0.6.0.tar.gz)
5th Stable Version (http://somelinuxguy94.googlepages.com/makecompiz5-gnome-0.6.0-usr-local.tar.gz)
6th Stable Version (http://somelinuxguy94.googlepages.com/makecompiz6-gnome-0.6.0-usr-local.tar.gz)
7th Stable Version (http://somelinuxguy94.googlepages.com/makecompiz7-gnome-0.6.0-usr.tar.gz)
----------------------------------------------------------------------------------------------------------------------------------------
================================================== =============
UPDATED: It WILL remove all beryl/compiz-related packages and install all of the dependencies, on suse and debian
UPDATED: You can now install additional plugins, just take a look at the README ;)
UPDATED: Now it is using variables rather than hardcoded values :D
UPDATED: It should now be usable
UPDATED: Includes other-tools now cds and filtersmanager should work, it would be helpful if some could tell whether or not simple-ccsm works ;)
UPDATED: Now automatically installs screensaver dependencies
UPDATED: Now is using freewins-0.3-0.6
UPDATED: Lots of internal fixes, it should compile more easily
UPDATED: Using official compiz-manager again
UPDATED: Added star and wallpaper plugins
UPDATED: Fixed building error
UPDATED: There is now an experimental version , the only difference is that this version hides the extract, configure, and make output and stores them in logs.
UPDATED: Experimental goes stable!
UPDATED: Additional Plugins Updated and fixed typo
UPDATED: Anaglyph and Photowheel added :D
UPDATED: change from exporting the PKG_CONFIG_PATH to declaring it when configure is run
UPDATED: New Experimental has an ubuntufix script!
UPDATED: New Experimental installs to /usr rather than /usr/local, once it goes stable there will be to scripts being maintained :D
UPDATED: Fixed PKG_CONFIG call
UPDATED: Fixed Some Bugs...
UPDATED: Should now be functional again
UPDATED: Added atlantis2 to additional plugins
UPDATED: New Experimental version, there is no more su error on debian :D
UPDATED: Experimental goes stable!
UPDATED: New Version is Realeased and /usr/local version is dropped!
UPDATED: Much nicer code, and better logging, not 2 mention fusion-icon install problem fixed.
UPDATED: Get atlantis instead of atlantis2 (too many problems), and added fireflies
UPDATED: Added autumn plugin
UPDATED: More Fixes and compiz-manager mod for nvidia also added, as well as the old one :D
UPDATED: Added makegutsyplugins-0.6.0
UPDATED: Changed all PKG_CONFIG to PKG_CONFIG_PATH
UPDATED: NEW! fedora install script! (took me forever to find the right deps, hopefully it will work!)
UPDATED: Added Atlantis2, works but might require adjusting some values ;)
UPDATED: Added Snowglobe!

HMartinho
October 25th, 2007, 11:04 PM
That is really unexpected (;)) and great.
Just one question, should we purge all compiz related stuff before running the script?
Once again thank you, I'll keep you posted.

Cheers.

some-guy
October 26th, 2007, 02:25 PM
see the edits ;)

HMartinho
October 28th, 2007, 01:51 PM
Just one more (probably stupid) question, do I need to stop cf before running this scrip?
How do I do that?

THX, so much.

EDIT:

I think I've done it.
CSSM does displays version 0.6.0, I think it showed 0.5.2 before, but... there are no new plugins available, in fact it even used my last config.
How can i know for sure I have the latest installed on if so can I use some other script to get the unsupported plugins?

Cheers.

EDIT2:

I've wrote compiz --version in terminal and it shows 0.6.2, so thats settled.
Now, about the unsuported plugins like screensaver , 3d windows and atlantis???

some-guy
October 28th, 2007, 07:50 PM
see the updates :D

HMartinho
October 29th, 2007, 12:56 AM
Booooommmm!!!
Something went wrong:
...
rotatingcube.h:9: error: expected `)' before '*' token
rotatingcube.h:17: error: 'Bool' does not name a type
screensaver.cpp:36: error: variable or field 'screenSaverEffectInstance' declared void
screensaver.cpp:36: error: template declaration of 'int screenSaverEffectInstance'
screensaver.cpp:36: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:36: error: 'd' was not declared in this scope
screensaver.cpp:58: error: variable or field 'screenSaverEnableEffect' declared void
screensaver.cpp:58: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:58: error: 'd' was not declared in this scope
screensaver.cpp:59: error: expected ',' or ';' before '{' token
screensaver.cpp:83: error: variable or field 'screenSaverDisableEffect' declared void
screensaver.cpp:83: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:83: error: 'd' was not declared in this scope
screensaver.cpp:84: error: expected ',' or ';' before '{' token
screensaver.cpp:97: error: variable or field 'screenSaverCleanEffect' declared void
screensaver.cpp:97: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:97: error: 'd' was not declared in this scope
screensaver.cpp:98: error: expected ',' or ';' before '{' token
screensaver.cpp:103: error: variable or field 'screenSaverSetState' declared void
screensaver.cpp:103: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:103: error: 'd' was not declared in this scope
screensaver.cpp:103: error: 'Bool' was not declared in this scope
screensaver.cpp:103: error: initializer expression list treated as compound expression
screensaver.cpp:104: error: expected ',' or ';' before '{' token
screensaver.cpp:114: error: 'Bool' does not name a type
screensaver.cpp:126: error: variable or field 'screenSaverGetRotation' declared void
screensaver.cpp:126: error: redefinition of 'int screenSaverGetRotation'
screensaver_internal.h:103: error: 'int screenSaverGetRotation' previously defined here
screensaver.cpp:126: error: 'CompScreen' was not declared in this scope
screensaver.cpp:126: error: 's' was not declared in this scope
screensaver.cpp:126: error: expected primary-expression before 'float'
screensaver.cpp:126: error: expected primary-expression before 'float'
screensaver.cpp:132: error: 'Bool' does not name a type
screensaver.cpp:142: error: 'Bool' does not name a type
screensaver.cpp:153: error: variable or field 'screenSaverPreparePaintScreen' declared void
screensaver.cpp:153: error: redefinition of 'int screenSaverPreparePaintScreen'
screensaver_internal.h:104: error: 'int screenSaverPreparePaintScreen' previously defined here
screensaver.cpp:153: error: 'CompScreen' was not declared in this scope
screensaver.cpp:153: error: 's' was not declared in this scope
screensaver.cpp:154: error: expected primary-expression before 'int'
screensaver.cpp:160: error: variable or field 'screenSaverPaintTransformedOutput' declared void
screensaver.cpp:160: error: redefinition of 'int screenSaverPaintTransformedOutput'
screensaver_internal.h:106: error: 'int screenSaverPaintTransformedOutput' previously defined here
screensaver.cpp:160: error: 'CompScreen' was not declared in this scope
screensaver.cpp:160: error: 's' was not declared in this scope
screensaver.cpp:161: error: expected primary-expression before 'const'
screensaver.cpp:162: error: expected primary-expression before 'const'
screensaver.cpp:163: error: 'Region' was not declared in this scope
screensaver.cpp:163: error: 'CompOutput' was not declared in this scope
screensaver.cpp:163: error: 'output' was not declared in this scope
screensaver.cpp:164: error: expected primary-expression before 'unsigned'
screensaver.cpp:170: error: variable or field 'screenSaverDonePaintScreen' declared void
screensaver.cpp:170: error: redefinition of 'int screenSaverDonePaintScreen'
screensaver_internal.h:105: error: 'int screenSaverDonePaintScreen' previously defined here
screensaver.cpp:170: error: 'CompScreen' was not declared in this scope
screensaver.cpp:170: error: 's' was not declared in this scope
screensaver.cpp:176: error: variable or field 'screenSaverHandleEvent' declared void
screensaver.cpp:176: error: redefinition of 'int screenSaverHandleEvent'
screensaver_internal.h:102: error: 'int screenSaverHandleEvent' previously defined here
screensaver.cpp:176: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:176: error: 'd' was not declared in this scope
screensaver.cpp:176: error: 'XEvent' was not declared in this scope
screensaver.cpp:176: error: 'event' was not declared in this scope
screensaver.cpp:203: error: variable or field 'screenSaverPaintBackground' declared void
screensaver.cpp:203: error: redefinition of 'int screenSaverPaintBackground'
screensaver_internal.h:117: error: 'int screenSaverPaintBackground' previously defined here
screensaver.cpp:203: error: 'CompScreen' was not declared in this scope
screensaver.cpp:203: error: 's' was not declared in this scope
screensaver.cpp:204: error: 'Region' was not declared in this scope
screensaver.cpp:205: error: expected primary-expression before 'unsigned'
screensaver.cpp:211: error: variable or field 'screenSaverSetXScreenSaver' declared void
screensaver.cpp:211: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:211: error: 'd' was not declared in this scope
screensaver.cpp:211: error: 'Bool' was not declared in this scope
screensaver.cpp:211: error: initializer expression list treated as compound expression
screensaver.cpp:212: error: expected ',' or ';' before '{' token
screensaver.cpp:251: error: variable or field 'screenSaverSetXScreenSaverNotify' declared void
screensaver.cpp:251: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:251: error: 'd' was not declared in this scope
screensaver.cpp:251: error: 'CompOption' was not declared in this scope
screensaver.cpp:251: error: 'opt' was not declared in this scope
screensaver.cpp:251: error: expected primary-expression before 'num'
screensaver.cpp:251: error: initializer expression list treated as compound expression
screensaver.cpp:252: error: expected ',' or ';' before '{' token
screensaver.cpp:257: error: 'Bool' does not name a type
screensaver.cpp:279: error: variable or field 'screenSaverFiniWindow' declared void
screensaver.cpp:279: error: 'CompPlugin' was not declared in this scope
screensaver.cpp:279: error: 'p' was not declared in this scope
screensaver.cpp:280: error: 'CompWindow' was not declared in this scope
screensaver.cpp:280: error: 'w' was not declared in this scope
screensaver.cpp:280: error: initializer expression list treated as compound expression
screensaver.cpp:281: error: expected ',' or ';' before '{' token
screensaver.cpp:287: error: 'Bool' does not name a type
screensaver.cpp:321: error: variable or field 'screenSaverFiniScreen' declared void
screensaver.cpp:321: error: 'CompPlugin' was not declared in this scope
screensaver.cpp:321: error: 'p' was not declared in this scope
screensaver.cpp:322: error: 'CompScreen' was not declared in this scope
screensaver.cpp:322: error: 's' was not declared in this scope
screensaver.cpp:322: error: initializer expression list treated as compound expression
screensaver.cpp:323: error: expected ',' or ';' before '{' token
screensaver.cpp:338: error: 'Bool' does not name a type
screensaver.cpp:372: error: variable or field 'screenSaverFiniDisplay' declared void
screensaver.cpp:372: error: 'CompPlugin' was not declared in this scope
screensaver.cpp:372: error: 'p' was not declared in this scope
screensaver.cpp:373: error: 'CompDisplay' was not declared in this scope
screensaver.cpp:373: error: 'd' was not declared in this scope
screensaver.cpp:373: error: initializer expression list treated as compound expression
screensaver.cpp:374: error: expected ',' or ';' before '{' token
screensaver.cpp:385: error: 'Bool' does not name a type
screensaver.cpp:396: error: variable or field 'screenSaverFini' declared void
screensaver.cpp:396: error: 'CompPlugin' was not declared in this scope
screensaver.cpp:396: error: 'p' was not declared in this scope
screensaver.cpp:397: error: expected ',' or ';' before '{' token
screensaver.cpp:403: error: 'CompPlugin' was not declared in this scope
screensaver.cpp:403: error: 'plugin' was not declared in this scope
screensaver.cpp:404: error: expected primary-expression before 'int'
screensaver.cpp:404: error: initializer expression list treated as compound expression
screensaver.cpp:405: error: expected ',' or ';' before '{' token
screensaver.cpp:409: error: 'CompPluginVTable' does not name a type
screensaver.cpp:428: error: expected constructor, destructor, or type conversion before '*' token
screensaver.cpp:58: warning: 'screenSaverEnableEffect' defined but not used
screensaver.cpp:83: warning: 'screenSaverDisableEffect' defined but not used
screensaver.cpp:97: warning: 'screenSaverCleanEffect' defined but not used
screensaver.cpp:103: warning: 'screenSaverSetState' defined but not used
screensaver.cpp:211: warning: 'screenSaverSetXScreenSaver' defined but not used
screensaver.cpp:251: warning: 'screenSaverSetXScreenSaverNotify' defined but not used
screensaver.cpp:279: warning: 'screenSaverFiniWindow' defined but not used
screensaver.cpp:321: warning: 'screenSaverFiniScreen' defined but not used
screensaver.cpp:372: warning: 'screenSaverFiniDisplay' defined but not used
screensaver.cpp:396: warning: 'screenSaverFini' defined but not used
screensaver.cpp:403: warning: 'screenSaverGetVersion' defined but not used
make: *** [build/screensaver.lo] Error 1

some-guy
October 29th, 2007, 01:25 AM
I told you there was no guarantee screensaver, and atlantis would work;)
I'll ask if there is a snapshot that works with 0.6.0 :)

some-guy
October 29th, 2007, 04:00 AM
Does anyone know the exact dependencies for compiling compiz/fusion on kde with NO gnome support? I have a kde version ready, I'm just missing the dependencies ;)

HMartinho
October 29th, 2007, 09:28 AM
Quick update:
3D windows makes compiz crash when activated.

Why doesn't the script get the absolute latest things, I've read that screensaver has been transfered to the latest branch.

Cheers.

EDIT:
I've been searching and have managed to get each side have its own wallpaper (the catch is I don't have icons on the desktop, doesn't matter since I've got Kiba-Dock with necessary launchers. :)), thanks so much to you and all the community.
I getting to like Ubuntu and Compiz even more than i figured I would.

EDIT2:
Maybe you could add on option to update.
It would check if newer stuff is available and if so uninstall and then get the newer stuff and install it.

Cheers.

some-guy
October 29th, 2007, 12:34 PM
the latest git branch is head but it requires xcb support, that is why the 0.6.0 branch is being used:D, 3D is the most recent version that 'should' work, it is no longer compatible with 0.6.0 after that snpashot(because of some major core changes.

HMartinho
October 29th, 2007, 03:06 PM
But even so , it works, your script is working, so this is good for me cause I'm able to use it to get CF and is also good for you (;)) helps you develop your scripting skills.
Thnka again and use me as you like for testing the scripts.

Cheers.

some-guy
October 29th, 2007, 08:02 PM
I updated it and all the plugins(maybe not freewins) should WORK!
Just run the uninstall-additional-plugins script and redownload the script overwrite all of the files, but keep the sources folder, you need it to uninstall, then run the install-additional-plugins script in a terminal, and check to see if there are any errors, and if they load in ccsm

HMartinho
October 30th, 2007, 09:27 AM
Working now!
Fantastic.
Thanks.

EDIT:
Can't find the screensaver.
Is it in the system screensavers or in cssm?
Cheers

some-guy
October 30th, 2007, 12:25 PM
it should be in ccsm

some-guy
October 30th, 2007, 12:37 PM
run sudo apt-get install x11proto-scrnsaver-dev libxss-dev I found that in the README;) I'll add it to the script later today:)

EDIT: Done

some-guy
October 31st, 2007, 09:10 PM
more updates

HMartinho
November 1st, 2007, 12:04 PM
I Have this out of my terminal while installing:
E: Impossível encontrar o pacote beryl*
./makecompiz: line 5: --disable-kde: command not found
./makecompiz: line 6: --disable-kde: command not found
Palavra passe:

Basicaaly it says can't find beryl package (???? why?? and what for??)
Then it asks for a password and when I put the sudo pass it says authentication failed.
But then compiles just fine.

How can I make it so compiz auto starts with session?

EDIT:

Never mind, just saw the Fusion Icon, I guess I can start it from there, screen saver plug in working great now, I got to say, probably there are others out there struggling to get this working and this is by far the easiest fastest way I saw, just double click on a file and you're done, fantastic.
Thank you once again so much.
If you wanna test some more stuff I'm happy to be your guinea pig and will report back.

Cheers.
Cheers

some-guy
November 1st, 2007, 01:22 PM
that is to uninstall beryl, and because i didn't want to make 2 scripts to install the additional plugins, i also included suse's command :D

But if thats the only thing then you have nothing to worry about
Maybe I should add the star plugin

HMartinho
November 1st, 2007, 03:49 PM
One strange little thingy, my file browser doesn't work now.
Any hints?

And it seems a bit more laggy now, it's not as fluid as it was.

Could I have some conflicting desktop issues?

Cheers.

some-guy
November 1st, 2007, 04:11 PM
are you starting it with fusion-icon, compiz-manager, or by compiz itself?
if your using fusion-icon just nable the loose binding option, and if by compiz, run it with the --loose-binding option

HMartinho
November 1st, 2007, 04:22 PM
Its a bit faster now but still there's no way to start my file browser.

Cheers.

some-guy
November 1st, 2007, 04:25 PM
try killall nautilus

HMartinho
November 1st, 2007, 04:30 PM
Hurray for some-guy!!!
U did it again.
Thanks.
About the stars plugin, its much like snow isn't it?
I have snow and downloaded some other images wich I use instead of the snow particles. I guess stars is just snow with stars images?

Cheers

HMartinho
November 1st, 2007, 04:36 PM
I don't know if I've mentioned this before, there's like a dead square in the middle of my screen where water effects don't show. however if I have a window in there, the water effect appears, i guess is because i have the gnome tweaked to not showing desktop so i can have one different wallpaper per cube side.
Do u use amsn? If yes, do u know how to get the water notification to work insted of making some sound it would produce a ripple effect.

Cheers.

EDIT:

You wanted some more to add?
http://forum.compiz-fusion.org/showthread.php?p=34943#post34943
Flash plugin.
Haven't seen it but the idea sound nice.

some-guy
November 1st, 2007, 06:00 PM
actually, stars, has images of stars coming from the middle of thescreen forward, like star travel :D, unfortunately it hasn't been ported to 0.6.0, yet

I know about flash, haven't tested in 0.6.0, yet
I used to have it installed though

I use gmail! No Msn for me :p

some-guy
November 1st, 2007, 06:03 PM
I'll see if I can about getting water effect notifications working in amsn

Unfortunately can't help you with that today :(

BTW, I highly recommend upgrading compiz manager to my mod of a mod :D
it autostarts fusion-icon as well

HMartinho
November 1st, 2007, 06:08 PM
Didn't quite get the "I highly recommend upgrading compiz manager to my mod of a mod" thing.
What and how must I do ?? ;)
I've posted a couple ideas in the atlantis plugin thread, maybe even a new plugin, in fact stars is different from what u say and would be nice to have in a such an easy to et way as yours.

Don't mind the amsn thingy, its more up to the amsn team to figure it out then to us really, but it would look nice and maybe could work for other apps, like mail notification or any other messaging software, I'd like to have any system alert to produce a ripple instead of a sound, and that much I have now, now I have to make notifications act like system alerts ;).

Cheers.

some-guy
November 2nd, 2007, 04:45 PM
See the updated first post, actually the real reason is because I need testers for, the only real difference between it and the original, should be that this one starts fusion-icon :D

HMartinho
November 3rd, 2007, 03:28 PM
Hi some guy;

Other than Flash and Stars, I've noticed Maximumize, it seems a really cool plugin to have.
One other thing, it seems atlantis does a couple more tricks now but requires latest from CF, anyway to get it all working with more recent versions?

Cheers.

unabatedshagie
November 4th, 2007, 11:51 AM
I'm having a few problems with this.

I download the script, extract it and run installcompizgnome-deb

The script doesn't throw up any errors when run.

After the script has finished if I type either ccsm or fusion-icon into the terminal I get the following error Traceback (most recent call last):
File "/usr/local/bin/ccsm", line 37, in <module>
import compizconfig
ImportError: No module named compizconfig

This is a fresh install of gutsy and I have used evny to download and install the nvidia driver.

Any ideas?

HMartinho
November 4th, 2007, 12:02 PM
Hi there;

The big chief doesn't seem to be around so I'll help as I can:
Try it with compiz-manager or search for the compiz icon on applications / system tools , this last one should for sure start CF as well as put an icon on tray bar.

Hope that does the trick.

Cheers.

some-guy
November 4th, 2007, 01:12 PM
I'm having a few problems with this.

I download the script, extract it and run installcompizgnome-deb

The script doesn't throw up any errors when run.

After the script has finished if I type either ccsm or fusion-icon into the terminal I get the following error Traceback (most recent call last):
File "/usr/local/bin/ccsm", line 37, in <module>
import compizconfig
ImportError: No module named compizconfigThis is a fresh install of gutsy and I have used evny to download and install the nvidia driver.

Any ideas?
are there any tarballs in the folder 'sources' ?
Sorry I'm replying so late, didn't have a chance to look at this site for 2 days :o

some-guy
November 4th, 2007, 01:19 PM
don't use my modded compiz-manager!
I'm gonna switch it back, soon

unabatedshagie
November 4th, 2007, 01:41 PM
This is all that's in the sources folder

http://img80.imageshack.us/img80/1612/screenshotsourcesfilebrln7.th.png (http://img80.imageshack.us/my.php?image=screenshotsourcesfilebrln7.png)

some-guy
November 4th, 2007, 01:47 PM
go to compizconfig-python and run ./autogen.sh --prefix=/usr/local && make && sudo make install

SmSpillaz
November 4th, 2007, 01:49 PM
the latest git branch is head but it requires xcb support, that is why the 0.6.0 branch is being used:D, 3D is the most recent version that 'should' work, it is no longer compatible with 0.6.0 after that snpashot(because of some major core changes.

/me starts working on porting 3D and screensaver to 0.6

... why are these things just not ported :-/ It's not that hard (-;

plun
November 4th, 2007, 01:57 PM
/me starts working on porting 3D and screensaver to 0.6

... why are these things just not ported :-/ It's not that hard (-;

Well... it must be easier to change GIT version so its possible to build
packages.... :p

0.7.0 ?

Or hack the GIT.... :o

I have never seen such a mess and this just kills this project...:rolleyes:

some-guy
November 4th, 2007, 02:33 PM
script should work again and I have added stars and wallpaper to the additional plugins script

some-guy
November 4th, 2007, 02:35 PM
/me starts working on porting 3D and screensaver to 0.6

... why are these things just not ported :-/ It's not that hard (-;
the old 3d is in there, an I already have a snapshot of screensaver that 'should' work (at least it compiles) ;)

HMartinho
November 4th, 2007, 02:47 PM
It sure does work, both 3D and screensaver work in this one.
Maybe I forgot to report you that. ;)

Cheers

unabatedshagie
November 4th, 2007, 02:55 PM
go to compizconfig-python and run ./autogen.sh --prefix=/usr/local && make && sudo make install

hmmm, I don't seem to have an autogen file, I do have an install-sh file though.

Just so I'm not being really dense, you want me to run that command in the compizconfig-python-0.6.0 folder?

some-guy
November 4th, 2007, 02:59 PM
yes, but there is another way...
uninstall, (using the script)

then reinstall.
the changes i made should fix your problem

unabatedshagie
November 4th, 2007, 06:07 PM
Still doesn't seem to be working.

I used the uninstallcompiz script to remove compiz then ran the installcompizgnome-deb script

No errors but when I type fusion-icon in a terminal I get Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig

some-guy
November 4th, 2007, 06:55 PM
sorry!!!! :(
I meant uninstall then remove the script, redownload the script as it has been updated then install :)

unabatedshagie
November 4th, 2007, 07:14 PM
I thought thats what I had done?

I used the uninstallcompiz script in the folder (is that what I'm supposed to do?)

Un-tarred the updated script and ran it and that's the error I got.

If I'm doing it incorrectly then could you provide detailed instructions that even the most dense individual (that would be me) could understand on how to uninstall compiz.

some-guy
November 4th, 2007, 07:16 PM
can you run the install script again, and post the output here in a text file?

unabatedshagie
November 4th, 2007, 07:52 PM
ok, I think I have done what you wanted.

I ran the command ./installcompizgnome-deb | tee log.txt

And this is the log file log (http://alex.paterson.googlepages.com/log.txt)

some-guy
November 4th, 2007, 09:54 PM
I think I figured it out, the script is running configure but not building or installing, I'm having a little trouble here, right now, I'll finish it in maybe 20 min?

some-guy
November 4th, 2007, 10:06 PM
Done :D
Just remove compiz, update the script, reinstall

Sorry that it is taking so much time!

unabatedshagie
November 5th, 2007, 01:02 PM
Still doesn't seem to be working.

I have just done a total fresh install of gutsy, installed the nvidia driver with envy.

Downloaded the newest version of the script from the first post.

This is the output from the terminal when I try and start fusion-icon alex@MysteryMachine:~/makecompiz2-gnome-0.6.0$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig

Was the log of the install I posted yesterday any use to you?

If not then what command would you like me to run to save the output of the script?

unabatedshagie
November 5th, 2007, 01:15 PM
One other thing I forgot to mention, when the script asks for a password, after I type it in the script says su: Authentication failureand then continues on.

HMartinho
November 5th, 2007, 02:54 PM
I would say that's on the beryl seek, some-guy forgot to take that off yet, he'll di it soon enought.

Cheers.

some-guy
November 5th, 2007, 06:29 PM
I don't think that i will remove that because it is needed for suse :D
and i dont want to have a duplicate of the whole thing, just for the su/sudo thing :rolleyes:

I still don't get why it wont work???
This should fix it though,

1)Open the compizconfig-python directory and run ./configure --prefix=/usr/local
make
sudo make install

2)Open the ccsm folder and run make
make install

3) try running fusion-icon again :D

some-guy
November 5th, 2007, 06:32 PM
I'll see if I can get the script to work right, tomarrow

unabatedshagie
November 5th, 2007, 06:33 PM
Nope, didn't work

This is the last few lines from the terminal checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CCS... configure: error: Package requirements (libcompizconfig >= 0.6.0 glib-2.0 >= 2.6 ) were not met:

No package 'libcompizconfig' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CCS_CFLAGS
and CCS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

some-guy
November 5th, 2007, 09:39 PM
go to the libcompizconfig folder run ./configure --prefix=/usr/local
make
sudo make install

then do the other ones

unabatedshagie
November 5th, 2007, 10:18 PM
I tried running that commmand in the libcompizconfig folder and it complained about there not being a package called compiz, so I entered the compiz folder and compiled it.

Compiled fine but when I ran make this is when I got

error message (http://alex.paterson.googlepages.com/log1.txt)

Deciare
November 5th, 2007, 11:19 PM
I tried running that commmand in the libcompizconfig folder and it complained about there not being a package called compiz, so I entered the compiz folder and compiled it.

Compiled fine but when I ran make this is when I got

error message (http://alex.paterson.googlepages.com/log1.txt)
That's normal make output. It looks like compiz had already been compiled, so there wasn't anything left to make. Did you try installing it with this command?
sudo make install

Your earlier post (http://forum.compiz-fusion.org/showthread.php?p=35837#post35765) suggests that you haven't been installing any of the packages because the system hasn't been accepting your password. You need to install each package in order before moving onto the next one.

unabatedshagie
November 6th, 2007, 05:25 AM
Yes I installed it.

some-guy asked me to run the commands in the compizconfig-python directory, I did and it wouldn't compile because it said there was no package called libcompizconfig found.

I then ran the same commands in the libcompzconfig directory, it wouldn't compile because it said there was no package compiz found.

So I ran the commands in the compiz folder and this (http://alex.paterson.googlepages.com/log.txt) is the output after I ran sudo make install which to me (and I'm probably wrong) doesn't look like it has installed.

Anyway, I then try the same commands in the libcompizconfig directory and it still says that there was no package compiz found.

some-guy
November 6th, 2007, 02:21 PM
I actually just reinstalled compiz via my script, and it did everything that it is supposed to....

Are you using kde or gnome? I the 'sudo make install' log of yours, it said kdecoration

unabatedshagie
November 6th, 2007, 02:41 PM
It's a fresh install of gutsy and I'm using gnome.

I don't understand it either.

Deciare
November 6th, 2007, 02:46 PM
Yes I installed it.

some-guy asked me to run the commands in the compizconfig-python directory, I did and it wouldn't compile because it said there was no package called libcompizconfig found.

I then ran the same commands in the libcompzconfig directory, it wouldn't compile because it said there was no package compiz found.

So I ran the commands in the compiz folder and this (http://alex.paterson.googlepages.com/log.txt) is the output after I ran sudo make install which to me (and I'm probably wrong) doesn't look like it has installed.

Anyway, I then try the same commands in the libcompizconfig directory and it still says that there was no package compiz found.
Thanks for posting make install's output. Seeing output is always helpful. :)

The output mentions several missing KDE header files, which you should be able to get by installing the kdelibs4-dev package from Ubuntu. If installing kdelibs4-dev still doesn't result in a proper build, keep posting make output and we'll keep poking at it until you have everything you need. :D

The other Compiz packages are complaining about not being able to find "compiz" because the make script is exiting with errors before it gets to the part where it installs /usr/lib/pkgconfig/compiz.pc. Once you've resolved your KDE-related compilation problems, the rest of the installation should proceed normally.

Deciare
November 6th, 2007, 02:50 PM
It's a fresh install of gutsy and I'm using gnome.

I don't understand it either.
Oh. Does some-guy's script give you access to the parameters that are passed to the autogen.sh script when compiling the "compiz" package? Just passing --disable-kde to autogen.sh will work around the KDE dependencies entirely by not trying to build anything KDE-related.

unabatedshagie
November 6th, 2007, 03:14 PM
ok, seem to be getting somewhere now :D

After building, compiz. libcompiz and compizconfig fusion-icon now starts.

Problem is I don't seem to be getting any window borders.

This is the terminal output * Detected Session: gnome
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Metacity is already running
* Launching Settings Manager
* Setting window manager to Compiz
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
compiz (core) - Warn: Unable to parse XML metadata from file "core.xml"
compiz (core) - Error: Couldn't load plugin 'ccp'I'm thinking that maybe some of my posts in this thread should be split into a separate thread because they are not strictly concerning this script.

some-guy
November 6th, 2007, 03:38 PM
try right clicking on fusion-icon, and under window decorators, select gtk-window-decorator, or emerald

EDIT:Also my script does pass --disable-kde ???

Deciare
November 6th, 2007, 03:47 PM
ok, seem to be getting somewhere now :D

After building, compiz. libcompiz and compizconfig fusion-icon now starts.

Problem is I don't seem to be getting any window borders.

This is the terminal output * Detected Session: gnome
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Metacity is already running
* Launching Settings Manager
* Setting window manager to Compiz
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
compiz (core) - Warn: Unable to parse XML metadata from file "core.xml"
compiz (core) - Error: Couldn't load plugin 'ccp'I'm thinking that maybe some of my posts in this thread should be split into a separate thread because they are not strictly concerning this script.
The "compiz" package is still not installing correctly. core.xml contains configuration data for the core plugin, which must be loaded before anything else can be. The error you posted is complaining that ccp, which allows Compiz to communicate with the compizconfig system, couldn't be loaded because core.xml is unreadable, missing, or otherwise corrupt.

As a result, all of your other configuration data, including the Window Decoration plugin which allows window decorators to draw borders around your windows, isn't being loaded.

Can we see compiz's "sudo make install" output again, please?

unabatedshagie
November 6th, 2007, 04:28 PM
Here's the output.

I ran the command sudo make install | tee compiz_install.txt and this (http://alex.paterson.googlepages.com/compiz_install.txt) is what's in the file

Deciare
November 6th, 2007, 05:54 PM
How strange. According to the output, Compiz did install fully. You should have every file you need.

Edit: Sorry, but I'm going to have to ask you for more output. ^^; Can you please provide the output of the following commands?
ls -al ~/.compiz/metadata/
ls -al /usr/share/compiz/

And also post the contents of the files ~/.compiz/metadata/core.xml and /usr/share/compiz/core.xml if you have them?

unabatedshagie
November 6th, 2007, 07:10 PM
ok, no problem

ls -al ~/.compiz/metadata/

No such file or directory

ls -al /usr/share/compiz/total 616
drwxr-xr-x 2 root root 4096 2007-11-06 16:24 .
drwxr-xr-x 297 root root 12288 2007-11-06 15:08 ..
-rw-r--r-- 1 root root 4817 2007-11-06 16:24 annotate.xml
-rw-r--r-- 1 root root 4913 2007-11-06 16:24 blur.xml
-rw-r--r-- 1 root root 1488 2007-11-06 16:24 clone.xml
-rw-r--r-- 1 root root 149016 2007-11-06 16:24 core.xml
-rw-r--r-- 1 root root 38188 2007-11-06 16:24 cube.xml
-rw-r--r-- 1 root root 152 2007-11-06 16:24 dbus.xml
-rw-r--r-- 1 root root 14080 2007-11-06 16:24 decoration.xml
-rw-r--r-- 1 root root 10746 2007-11-06 16:24 fade.xml
-rw-r--r-- 1 root root 30453 2007-11-06 16:24 freedesktop.png
-rw-r--r-- 1 root root 429 2007-11-06 16:24 fs.xml
-rw-r--r-- 1 root root 418 2007-11-06 16:24 gconf.xml
-rw-r--r-- 1 root root 154 2007-11-06 16:24 glib.xml
-rw-r--r-- 1 root root 529 2007-11-06 16:24 icon.png
-rw-r--r-- 1 root root 151 2007-11-06 16:24 ini.xml
-rw-r--r-- 1 root root 169 2007-11-06 16:24 inotify.xml
-rw-r--r-- 1 root root 8382 2007-11-06 16:24 minimize.xml
-rw-r--r-- 1 root root 11867 2007-11-06 16:24 move.xml
-rw-r--r-- 1 root root 6636 2007-11-06 16:24 place.xml
-rw-r--r-- 1 root root 5815 2007-11-06 16:24 plane.xml
-rw-r--r-- 1 root root 263 2007-11-06 16:24 png.xml
-rw-r--r-- 1 root root 222 2007-11-06 16:24 regex.xml
-rw-r--r-- 1 root root 8089 2007-11-06 16:24 resize.xml
-rw-r--r-- 1 root root 79891 2007-11-06 16:24 rotate.xml
-rw-r--r-- 1 root root 29269 2007-11-06 16:24 scale.xml
-rw-r--r-- 1 root root 19371 2007-11-06 16:24 schemas.xslt
-rw-r--r-- 1 root root 2590 2007-11-06 16:24 screenshot.xml
-rw-r--r-- 1 root root 267 2007-11-06 16:24 svg.xml
-rw-r--r-- 1 root root 32316 2007-11-06 16:24 switcher.xml
-rw-r--r-- 1 root root 458 2007-11-06 16:24 video.xml
-rw-r--r-- 1 root root 17773 2007-11-06 16:24 water.xml
-rw-r--r-- 1 root root 25260 2007-11-06 16:24 wobbly.xml
-rw-r--r-- 1 root root 13774 2007-11-06 16:24 zoom.xmlThe core.xml in .compiz doesn't exist (obviously :)) and here's (http://alex.paterson.googlepages.com/core.xml) the contents of the core.xml from /usr/share

Deciare
November 6th, 2007, 08:13 PM
*mind is blown* x.x

I'm sorry, I'm as confused as you are. As far as I can tell, everything looks like it should be working, so I'm out of ideas as to why it isn't.

Incidences of this problem in the past, on other forums and mailing lists, have usually been solved by a complete removal of all Compiz-related elements and a proper reinstall of all elements, but I think you've already shown that you have properly installed it. So I don't know.

Let's hope a developer shows up and helps us with this. ^^;

unabatedshagie
November 6th, 2007, 08:59 PM
Damn, and here I was thinking that this script would make installing compiz easy. :)

I'm going to do a fresh install tomorrow and try Fyda's guide (http://forum.compiz-fusion.org/showthread.php?t=1985) and see if I have better luck with that.

some-guy
November 6th, 2007, 09:27 PM
if you're going with that guide make sure you checkout the 0.5.2 version of emerald, and I'm still waiting for someone to make a good/decent/real script :D

Deciare
November 6th, 2007, 11:18 PM
Damn, and here I was thinking that this script would make installing compiz easy. :)

I'm going to do a fresh install tomorrow and try Fyda's guide (http://forum.compiz-fusion.org/showthread.php?t=1985) and see if I have better luck with that.
Are you still here? If you're reading, there's one more command whose output I'd like to see. :)
which compiz
It's remotely possible that you had more than one copy of Compiz installed somehow, and that the wrong version took precedence in your path...

some-guy
November 7th, 2007, 03:02 AM
that could be true, considering gutsy has compiz installed by default, though my script should remove it...

unabatedshagie
November 7th, 2007, 05:00 AM
Still here, output of which compiz is /usr/local/bin/compiz

Deciare
November 7th, 2007, 05:21 AM
Edit: Oops, nevermind. some-guy's script specifically installs into /usr/local.

Editmore: On the other hand, your make install output from earlier didn't make a single reference to /usr/local! I wonder if you're really using his script. ^^; Anyway, I'll put back the instructions I deleted earlier.

Please run this command to remove all traces of Compiz from /usr/local:
rm -rf /usr/local/bin/compiz /usr/local/bin/compiz.real /usr/local/bin/emerald /usr/local/bin/gtk-window-decorator /usr/local/bin/kde-window-decorator /usr/local/bin/ccsm /usr/local/lib/compiz/ /usr/local/lib/compizconfig /usr/local/share/compiz/ /usr/local/share/compizconfig /usr/local/lib/pkgconfig/compiz*

Then try starting Compiz again using fusion-icon or whichever command you were using before.

Editmost: I hope you don't have some pieces of Compiz in /usr and other pieces in /usr/local. That would be Bad.

unabatedshagie
November 7th, 2007, 07:40 AM
ok, my bad with my last few posts, I had been running the configure file with the --prefix=/usr instead of --prefix=/usr/local :p

Anyway, I have now freshly installed gutsy.

Installed the nvidia driver using envy, downloaded the experimental version and installed.

Installed fine except one time I was asked for a password and after entering it the script said authentication failure.

Ran fusion-icon from the terminal and here's the output To start the Tray Icon, run fusion-icon
alex@MysteryMachine:~/makecompiz3-gnome-0.6.0$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig
alex@MysteryMachine:~/makecompiz3-gnome-0.6.0$ here's (http://alex.paterson.googlepages.com/logs.tar.gz) the tarred log files.

some-guy
November 7th, 2007, 01:46 PM
go to the libcompizconfig, run ./configure --prefix=/usr/local
then post the output

from the log you sent, the configure script never finished, so no makefiles were made ...

some-guy
November 7th, 2007, 01:49 PM
Is there a problem with installing compiz to /usr/local on gutsy?
Because it works on feisty...

unabatedshagie
November 7th, 2007, 02:41 PM
go to the libcompizconfig, run ./configure --prefix=/usr/local
then post the output

from the log you sent, the configure script never finished, so no makefiles were made ...

When I try and run ./configure --prefix=/usr/local in libcompizconfig it says there is no package called compiz installed.

I cd'd into the compiz folder ran ./configure --prefix=/usr/local -disable-kde (I had to add disable-kde because make wouldn't work without it), compiled with no errors. Ran make && sudo make install.

Did the same in the libcompizconfig directory.

Ran fusion-icon and this is the result alex@MysteryMachine:~/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig
alex@MysteryMachine:~/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0$ Would it make any difference that the fusion-icon is located in /usr/bin and not /usr/local/bin?

some-guy
November 7th, 2007, 03:05 PM
try PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr/local

unabatedshagie
November 7th, 2007, 03:44 PM
nothing alex@MysteryMachine:~$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr/local
bash: ./configure: No such file or directory
alex@MysteryMachine:~$

Deciare
November 7th, 2007, 03:54 PM
nothing alex@MysteryMachine:~$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr/local
bash: ./configure: No such file or directory
alex@MysteryMachine:~$
I think he meant to say autogen.sh, but put configure out of habit. Try:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh --prefix=/usr/local

some-guy
November 7th, 2007, 04:30 PM
no I meant configure :D, it's a relese remember ;)
but i meant to do it in the libcompizconfig directory, not your home

Deciare
November 7th, 2007, 04:32 PM
I haven't actually used your script or installed any stable release versions of Compiz Fusion, so I wouldn't know. :p Sorry about that misleading interruption.

unabatedshagie
November 7th, 2007, 05:28 PM
Same again alex@MysteryMachine:~/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig
alex@MysteryMachine:~/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0$

some-guy
November 7th, 2007, 10:33 PM
sorry I meant post the configure output

HMartinho
November 8th, 2007, 01:39 PM
Hi there;

Just used your latest. :(
Stars isn't working, not compiling, will get more info later.

Cheers

HMartinho
November 8th, 2007, 02:01 PM
Error:
compiling : star.c -> build/star.lostar.c:43:31: error: compiz-compiz-0.6.h: No such file or directory
In file included from star.c:44:
build/star_options.h:15:27: error: compiz-common.h: No such file or directory
In file included from star.c:44:
build/star_options.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CompPluginVTable'
build/star_options.h:39: error: expected ')' before '*' token
build/star_options.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:48: error: expected ')' before '*' token
build/star_options.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:60: error: expected ')' before '*' token
build/star_options.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:62: error: expected ')' before '*' token
build/star_options.h:64: error: expected ')' before '*' token
build/star_options.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:66: error: expected ')' before '*' token
build/star_options.h:68: error: expected ')' before '*' token
build/star_options.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:70: error: expected ')' before '*' token
build/star_options.h:72: error: expected ')' before '*' token
build/star_options.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:74: error: expected ')' before '*' token
build/star_options.h:76: error: expected ')' before '*' token
build/star_options.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:78: error: expected ')' before '*' token
build/star_options.h:80: error: expected ')' before '*' token
build/star_options.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:82: error: expected ')' before '*' token
build/star_options.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'starGetSnowOverWindows'
build/star_options.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:86: error: expected ')' before '*' token
build/star_options.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'starGetSnowRotation'
build/star_options.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:90: error: expected ')' before '*' token
build/star_options.h:92: error: expected ')' before '*' token
build/star_options.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:94: error: expected ')' before '*' token
build/star_options.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:98: error: expected ')' before '*' token
build/star_options.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'starGetUseBlending'
build/star_options.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:102: error: expected ')' before '*' token
build/star_options.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'starGetUseTextures'
build/star_options.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:106: error: expected ')' before '*' token
build/star_options.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:109: error: expected ')' before '*' token
build/star_options.h:110: error: expected ')' before '*' token
build/star_options.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/star_options.h:112: error: expected ')' before '*' token
star.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
star.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowMetadata'
star.c:66: error: expected specifier-qualifier-list before 'Bool'
star.c:74: error: expected specifier-qualifier-list before 'CompTexture'
star.c:95: error: expected specifier-qualifier-list before 'CompScreen'
star.c:115: error: expected ')' before '*' token
star.c: In function 'GetRand':
star.c:120: warning: implicit declaration of function 'rand'
star.c:120: warning: nested extern declaration of 'rand'
star.c: At top level:
star.c:129: warning: no previous prototype for 'bezierCurve'
star.c: In function 'snowThink':
star.c:140: warning: implicit declaration of function 'starGetScreenBoxing'
star.c:140: warning: nested extern declaration of 'starGetScreenBoxing'
star.c:140: error: 'SnowScreen' has no member named 's'
star.c:142: error: 'SnowScreen' has no member named 's'
star.c:144: error: 'SnowScreen' has no member named 's'
star.c:145: warning: implicit declaration of function 'starGetScreenDepth'
star.c:145: warning: nested extern declaration of 'starGetScreenDepth'
star.c:145: error: 'SnowScreen' has no member named 's'
star.c:150: warning: implicit declaration of function 'snowMove'
star.c:150: warning: nested extern declaration of 'snowMove'
star.c:150: error: 'SnowScreen' has no member named 's'
star.c: At top level:
star.c:154: error: expected ')' before '*' token
star.c:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stepSnowPositions'
star.c:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowToggle'
star.c: In function 'setupDisplayList':
star.c:236: warning: implicit declaration of function 'starGetSnowSize'
star.c:236: warning: nested extern declaration of 'starGetSnowSize'
star.c:236: error: 'SnowScreen' has no member named 's'
star.c:238: error: 'SnowScreen' has no member named 'displayList'
star.c:238: warning: implicit declaration of function 'glGenLists'
star.c:238: warning: nested extern declaration of 'glGenLists'
star.c:240: warning: implicit declaration of function 'glNewList'
star.c:240: warning: nested extern declaration of 'glNewList'
star.c:240: error: 'SnowScreen' has no member named 'displayList'
star.c:240: error: 'GL_COMPILE' undeclared (first use in this function)
star.c:240: error: (Each undeclared identifier is reported only once
star.c:240: error: for each function it appears in.)
star.c:241: warning: implicit declaration of function 'glBegin'
star.c:241: warning: nested extern declaration of 'glBegin'
star.c:241: error: 'GL_QUADS' undeclared (first use in this function)
star.c:243: warning: implicit declaration of function 'glColor4f'
star.c:243: warning: nested extern declaration of 'glColor4f'
star.c:244: warning: implicit declaration of function 'glVertex3f'
star.c:244: warning: nested extern declaration of 'glVertex3f'
star.c:252: warning: implicit declaration of function 'glEnd'
star.c:252: warning: nested extern declaration of 'glEnd'
star.c:253: warning: implicit declaration of function 'glEndList'
star.c:253: warning: nested extern declaration of 'glEndList'
star.c: At top level:
star.c:258: error: expected declaration specifiers or '...' before 'CompScreen'
star.c: In function 'beginRendering':
star.c:260: warning: implicit declaration of function 'starGetUseBlending'
star.c:260: warning: nested extern declaration of 'starGetUseBlending'
star.c:260: error: 's' undeclared (first use in this function)
star.c:261: warning: implicit declaration of function 'glEnable'
star.c:261: warning: nested extern declaration of 'glEnable'
star.c:261: error: 'GL_BLEND' undeclared (first use in this function)
star.c:263: warning: implicit declaration of function 'glTexEnvf'
star.c:263: warning: nested extern declaration of 'glTexEnvf'

HMartinho
November 8th, 2007, 02:01 PM
Continuation:
star.c:263: error: 'GL_TEXTURE_ENV' undeclared (first use in this function)
star.c:263: error: 'GL_TEXTURE_ENV_MODE' undeclared (first use in this function)
star.c:263: error: 'GL_MODULATE' undeclared (first use in this function)
star.c:265: error: 'SnowScreen' has no member named 'displayListNeedsUpdate'
star.c:268: error: 'SnowScreen' has no member named 'displayListNeedsUpdate'
star.c:268: error: 'FALSE' undeclared (first use in this function)
star.c:272: error: 'SnowScreen' has no member named 'snowTexturesLoaded'
star.c:272: warning: implicit declaration of function 'starGetUseTextures'
star.c:272: warning: nested extern declaration of 'starGetUseTextures'
star.c:277: error: 'SnowScreen' has no member named 'snowTexturesLoaded'
star.c:280: warning: implicit declaration of function 'starGetNumSnowflakes'
star.c:280: warning: nested extern declaration of 'starGetNumSnowflakes'
star.c:281: error: 'SnowScreen' has no member named 'allSnowFlakes'
star.c:282: warning: implicit declaration of function 'enableTexture'
star.c:282: warning: nested extern declaration of 'enableTexture'
star.c:282: error: 'SnowScreen' has no member named 's'
star.c:282: error: 'SnowScreen' has no member named 'snowTex'
star.c:282: error: 'COMP_TEXTURE_FILTER_GOOD' undeclared (first use in this function)
star.c:286: error: 'SnowScreen' has no member named 'snowTex'
star.c:288: warning: implicit declaration of function 'glTranslatef'
star.c:288: warning: nested extern declaration of 'glTranslatef'
star.c:289: warning: implicit declaration of function 'glCallList'
star.c:289: warning: nested extern declaration of 'glCallList'
star.c:289: error: 'SnowScreen' has no member named 'snowTex'
star.c:294: warning: implicit declaration of function 'disableTexture'
star.c:294: warning: nested extern declaration of 'disableTexture'
star.c:294: error: 'SnowScreen' has no member named 's'
star.c:294: error: 'SnowScreen' has no member named 'snowTex'
star.c:326: error: 'SnowScreen' has no member named 'allSnowFlakes'
star.c:332: warning: implicit declaration of function 'glRotatef'
star.c:332: warning: nested extern declaration of 'glRotatef'
star.c:333: error: 'SnowScreen' has no member named 'displayList'
star.c:340: error: 'GL_REPLACE' undeclared (first use in this function)
star.c:343: warning: implicit declaration of function 'glDisable'
star.c:343: warning: nested extern declaration of 'glDisable'
star.c:344: warning: implicit declaration of function 'glBlendFunc'
star.c:344: warning: nested extern declaration of 'glBlendFunc'
star.c:344: error: 'GL_ONE' undeclared (first use in this function)
star.c:344: error: 'GL_ONE_MINUS_SRC_ALPHA' undeclared (first use in this function)
star.c: At top level:
star.c:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowPaintOutput'
star.c:385: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowDrawWindow'
star.c: In function 'initiateSnowFlake':
star.c:415: error: 'SnowScreen' has no member named 's'
star.c:424: error: 'SnowScreen' has no member named 's'
star.c:425: error: 'SnowScreen' has no member named 's'
star.c:415: warning: unused variable 'boxing'
star.c: In function 'setSnowflakeTexture':
star.c:472: error: 'SnowScreen' has no member named 'snowTexturesLoaded'
star.c:473: error: 'SnowScreen' has no member named 'snowTex'
star.c:473: error: 'SnowScreen' has no member named 'snowTexturesLoaded'
star.c: At top level:
star.c:477: error: expected ')' before '*' token
star.c:555: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowInitScreen'
star.c:596: error: expected ')' before '*' token
star.c:625: error: expected ')' before '*' token
star.c:704: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowInitDisplay'
star.c:735: error: expected ')' before '*' token
star.c:771: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowInit'
star.c:781: error: expected ')' before '*' token
star.c:786: error: expected ')' before '*' token
star.c:792: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
star.c:796: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snowVTable'
star.c:814: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [build/star.lo] Error 1


Sorry for triple posting, but character limit was reached so...
Anyway, then it compiles the rest of it ok, just not stars.

Cheers.

EDIT:

Using just the "get additional plugins" thingy does the same, same output.

some-guy
November 8th, 2007, 02:05 PM
I'll see if a more up to date version will work

some-guy
November 8th, 2007, 02:37 PM
UPDATED
Can Anyone tell me if it works?

HMartinho
November 8th, 2007, 03:11 PM
Hurray for some-guy, again!!!!!
Its all working just fine!

Thanks.

unabatedshagie
November 8th, 2007, 04:21 PM
sorry I meant post the configure output

Doh, right here's the terminal output http://pastebin.com/m24e2eb86

unabatedshagie
November 8th, 2007, 04:35 PM
some-guy what changes have you done to the script before you uploaded the newest version?

On the off chance I downloaded the most recent version and ran it and...it worked :confused::confused::confused:

I'm going to do a fresh install later on and try it again just to see if it's something you have changed in the script or if it's been something that either you or Deciare asked me to do to get the script working on my current install.

unabatedshagie
November 8th, 2007, 07:44 PM
cry Didn't work :(

however the error when I run fusion-icon is now different alex@MysteryMachine:~$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: libcompizconfig.so.0: cannot open shared object file: No such file or directory
alex@MysteryMachine:~$

Deciare
November 8th, 2007, 08:34 PM
I'm sorry to say that you have once again not installed libcompizconfig. ^^; Oh dear, back to square one? Please run updatedb on a console to update your file locations database, then paste the output of this command:
locate libcompizconfig.so

unabatedshagie
November 9th, 2007, 11:37 AM
I'm sorry to say that you have once again not installed libcompizconfig. ^^; Oh dear, back to square one? Please run updatedb on a console to update your file locations database, then paste the output of this command:
locate libcompizconfig.soI didn't not install libcompizconfig, the script doesn't seem to be installing it for some reason.

Like I said, I just tried running the script on a fresh install just to see if it was something that some-guy changed in the script or if it was something else that either of you suggested.

Anyway, here's the terminal output from locate libcompizconfig.so alex@MysteryMachine:~$ sudo updatedb
[sudo] password for alex:
alex@MysteryMachine:~$ locate libcompizconfig.so
/usr/local/lib/libcompizconfig.so
/usr/local/lib/libcompizconfig.so.0.0.0
/usr/local/lib/libcompizconfig.so.0
/home/alex/makecompiz3-gnome-0.6.0-old/sources/libcompizconfig-0.6.0/src/.libs/libcompizconfig.so
/home/alex/makecompiz3-gnome-0.6.0-old/sources/libcompizconfig-0.6.0/src/.libs/libcompizconfig.so.0.0.0
/home/alex/makecompiz3-gnome-0.6.0-old/sources/libcompizconfig-0.6.0/src/.libs/libcompizconfig.so.0
/home/alex/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0/src/.libs/libcompizconfig.so
/home/alex/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0/src/.libs/libcompizconfig.so.0.0.0
/home/alex/makecompiz3-gnome-0.6.0/sources/libcompizconfig-0.6.0/src/.libs/libcompizconfig.so.0
alex@MysteryMachine:~$

some-guy
November 9th, 2007, 01:15 PM
what my script does is run export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./ configure --prefix=/usr/localapparently that doesn't work on gutsy (atleast not all the time) so I'm going to change it to PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./ configure --prefix=/usr/localthat should make it work :D

some-guy
November 9th, 2007, 01:31 PM
UPDATED
the new one should make it work :D

unabatedshagie
November 9th, 2007, 02:03 PM
Seems to have worked some-guy.

Going to do another fresh install and fingers crossed it will work. :)

mattman
November 9th, 2007, 03:21 PM
I've been trying to get this script to work on Gutsy. When it gets to the point where I have to enter my password for SU just before it builds compiz-core it won't accept my password.

unabatedshagie
November 9th, 2007, 03:44 PM
This is almost making me want to start crying :)

Still not working.

Here's (http://alex.paterson.googlepages.com/logs.tar.gz) the install logs from my most recent effort.

Running fusion-icon from terminal givesalex@MysteryMachine:~$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfigEntering the compizconfig-python folder and running ./configure --prefix=/usr/local complains there isn't a package called libcompizconfig, running ./configure --prefix=/usr/local in that folder complains that compiz isn't there.

:confused::confused::confused:

some-guy
November 9th, 2007, 03:55 PM
I'm going to see if I can get gutsy working under virtualbox...

some-guy
November 9th, 2007, 04:50 PM
I've been trying to get this script to work on Gutsy. When it gets to the point where I have to enter my password for SU just before it builds compiz-core it won't accept my password.

that is normal, since I don't want to make two seperate scripts to build compiz on suse and one for ubuntu, I just put an su there, other than that, does it work?

mattman
November 9th, 2007, 05:34 PM
Compiz seems to install but I can't get ccsm or the fusion icon to run or emerald.

mattman
November 9th, 2007, 06:06 PM
I'll try to post more information on what happens during the install process either late tonight or tomorrow evening. I don't have time right now to try to run the install again.

some-guy
November 9th, 2007, 09:27 PM
make sure that you have redownloaded the script, it has been updated and installs fine on Gutsy x86

mattman
November 10th, 2007, 06:41 AM
Here is the terminal output when trying to run fusion-icon with the updated script. I ran locate and libcompizconfig.so.0 shows up in /usr/local/lib/libcompizconfig.so.0.


Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: libcompizconfig.so.0: cannot open shared object file: No such file or directory

arthur5005
November 10th, 2007, 08:30 AM
hey some-guy, um I'm no script expert, nor am I someone who really knows whats going on trying to compile this behemoth of a project. but I was having problems with your script where libcompizconfig wouldn't compile because it couldn't find the compiz package, (which I imagine was the compilation of the compiz-core). So I was going through your build-compiz script, and making by hand... I'm not a total newb to just building source, and I was getting that problem again... so I was sure to set PKG_CONFIG_PATH to /usr/local/lib/pkgconfig (which was what the script was doing past compiling the compiz-core anyways) and went back, remade the compiz-core section, and then of course, the other packages could find it just fine.

so I could be wrong.. but umm are you missing

PKG_CONFIG_PATH=$PKGCONF
just before the configure in:

echo "Building Compiz-core"
sleep 1
cd ./compiz-$COMPIZ_VERSION
./configure $COMPIZ_PAR > ../../logs/buildlogs/config-compiz-core.log
make > ../../logs/buildlogs/make-compiz-core.log
sudo make install
echo "Done"


btw, running a fresh installation of gutsy, as in 5 hours ago fresh (mmm.. love the smell of fresh!). Although I'm not getting errors or problems with the script anymore, I am getting the following when trying to run the CCSM: it can't find the libcompizconfig.so.0, (even though it exists in the /usr/lib/ dir) and of course, when running fusion icon:


arthur@Wintermute:~$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: libcompizconfig.so.0: cannot open shared object file: No such file or directory


.. is there a place where we can move this libcompizconfig.so.0, to make it available for the time being? (I know. I Know.. lol. I have a background of 15 years in windows, and I regret it more now, than ever).

arthur5005
November 10th, 2007, 08:32 AM
just thought I'd let everyone know, that if you just move libcompizconfig.so.0 and libcompizconfig.so.0.0.0 (I think the first one is actually a symlink to the second one) and move that from /usr/local/lib to /urs/lib. that should fix her temporarily. I don't know if it's the script (doubt it), but ya.. hmm
anycase uber happy with the fusion-icon. SOO nice. everything's just delightful :). Now time to dig in the source, and find a way to turn on this vacuum animation for minimization.

some-guy
November 10th, 2007, 02:55 PM
try LD_PRELOAD=/usr/local/lib/libcompizconfig.so.0 fusion-icon and I'll add making sybolic links to the script :D

some-guy
November 10th, 2007, 03:06 PM
Done, try the experimental version :D

arthur5005
November 10th, 2007, 07:22 PM
I haven't had time to try it out yet! will do when I get home tonight some-guy! always working hard it seems :)!!

mattman
November 10th, 2007, 11:42 PM
I tried the experimental version. It worked fine except you need to add a symlink to /usr/lib for libemeraldengine.so.0 also. Also i still can't get the additional plugins to install. It complains of a permission problem writing to .compiz in my home directory.

Marco999
November 11th, 2007, 07:52 AM
How do I create that symlink manually? I'm not the greatest with symlinks.

Marco999

Deciare
November 11th, 2007, 07:56 AM
You mean the one mentioned in mattman's most recent post? Use this command in a console window:
ln -s /usr/local/lib/libemeraldengine.so.0 /usr/lib

Marco999
November 11th, 2007, 08:01 AM
Emerald wont open? even after me running the command. I get this when typing it in via terminal:

emerald: error while loading shared libraries: libdecoration.so.0: cannot open shared object file: No such file or directory

I fixed it via another symlink

sudo ln -s /usr/local/lib/libdecoration.so.0 /usr/lib

Now emerald opens :D

unabatedshagie
November 11th, 2007, 08:23 AM
sob I guess I'm just destined not to use this script to install compiz :(

Another fresh install, installed updates and nvidia driver, downloaded and ran the experimental script then the ubuntufix script.

Ran fusion icon and this is the resultalex@MysteryMachine:~$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig
alex@MysteryMachine:~$

And here's (http://alex.paterson.googlepages.com/logs.tar.gz) the log files

Marco999
November 11th, 2007, 08:32 AM
I have a problem:

When I click to move my windows the mouse button gets held down. Until I click it again. How do I fix this?

When I go to the move plugin the actions tab is not there.


Also Rotate Cube with CTRL + Alt + Button 1 dosn't work.
Along with unfold cube with CTRL + Alt + Down
Or rotate cube with CTRL + Alt + Left(for to the left) or + Right(for the right).

How do you fix these?

Deciare
November 11th, 2007, 08:59 AM
sob I guess I'm just destined not to use this script to install compiz :(

Another fresh install, installed updates and nvidia driver, downloaded and ran the experimental script then the ubuntufix script.

Ran fusion icon and this is the resultalex@MysteryMachine:~$ fusion-icon
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 57, in <module>
from FusionIcon.interface import choose_interface
File "usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 22, in <module>
File "usr/lib/python2.5/site-packages/FusionIcon/util.py", line 23, in <module>
ImportError: No module named compizconfig
alex@MysteryMachine:~$

And here's (http://alex.paterson.googlepages.com/logs.tar.gz) the log files
Your make-series logs are empty for both ccs-lib and ccs-python. Do you know why that might be?

Your conf-series logs for ccs-lib, ccs-python, plugins-main, and most other modules also cut off part way. They probably errored out there. If you're using tee to catch these log messages, you'll need to redirect stderr to stdout to ensure that all error messages are being caught. To do so, modify your tee command line like so:
command_and_parameters 2>&1 | tee name_of_log.log
The important part is 2>&1, which tells all messages that would normally be output to fd 2 (stderr) to be output into fd 1 (stdout) instead.

Deciare
November 11th, 2007, 09:14 AM
I have a problem:

When I click to move my windows the mouse button gets held down. Until I click it again. How do I fix this?

When I go to the move plugin the actions tab is not there.


Also Rotate Cube with CTRL + Alt + Button 1 dosn't work.
Along with unfold cube with CTRL + Alt + Down
Or rotate cube with CTRL + Alt + Left(for to the left) or + Right(for the right).

How do you fix these?
Not having an Actions tab in the Move plugin's configuration page is normal. The configuration system has seen some significant changes since the version included in Ubuntu by default, and eliminating the Actions tab was one of those changes. The Move plugin's bindings are now at the top of the General tab.

I don't know about the rest of your problems, though... Do you have the Rotate Cube plugin enabled at all? It sounds like you can't access any of its functions. Did you check the value of General Options->Desktop Size->Horizontal Virtual Size? It has to be greater than 1.

unabatedshagie
November 11th, 2007, 09:46 AM
Your make-series logs are empty for both ccs-lib and ccs-python. Do you know why that might be?

Your conf-series logs for ccs-lib, ccs-python, plugins-main, and most other modules also cut off part way. They probably errored out there. If you're using tee to catch these log messages, you'll need to redirect stderr to stdout to ensure that all error messages are being caught. To do so, modify your tee command line like so:
command_and_parameters 2>&1 | tee name_of_log.logThe important part is 2>&1, which tells all messages that would normally be output to fd 2 (stderr) to be output into fd 1 (stdout) instead.I have no idea, basically all I have done is install gutsy, update it, install the nvidia driver and run the script. The script is making the logs so I'm not sure what exactly is being logged.

unabatedshagie
November 11th, 2007, 10:36 AM
I have edited some of the scripts to change the way it outputs the log file and ran the script again.

I hope I have done it correctly so here's (http://alex.paterson.googlepages.com/logs.tar.gz) the logs.

some-guy
November 11th, 2007, 02:39 PM
It doesn't seem to be install libcompizconfig and the like :confused:

some-guy
November 11th, 2007, 02:57 PM
try the *new* experimental, there will be 2 versions from now on one that installs to /usr/local, and one that installs to /usr :D

NOTE: Make sure you have remove everything compiz related before using this script! And yes it does use a modded compiz-manager which uses /usr/bin and /usr/lib ;)

Marco999
November 11th, 2007, 07:53 PM
Where is the ubuntu fix in the latest script? it was there before. I kinda need it to run compiz and the like. I extracted the file and the experimental version is the same as the stable one. Maybe a mixed up when creating the achieves?

some-guy
November 11th, 2007, 11:42 PM
ubuntufix should no longer be needed with the experimental version as the code has slighty changed, which should make it work ;)

Marco999
November 12th, 2007, 01:43 PM
The ubuntu fix is still needed, as the programs do not open. Maybe it is because I get something about COMPIZ not being found or met in the FLAGS. I get the same error when compile from the source without the script. Unless I am not getting rid of the old install, but I dont know where it installs too. Can someone help me?

some-guy
November 12th, 2007, 02:16 PM
BIG MISTAKE, I never Changed PKG_CONF_PATH

some-guy
November 12th, 2007, 02:23 PM
Done :D
try the experimental version

adarkenigma
November 12th, 2007, 06:40 PM
hello sir,

this noob is having difficulty installing compiz fusion with this script. i am using it on fresh install of gusy gibbon under gnome desktop, ATI is my graphic card. (x1400) compiz fusion is running with xgl. after reading much abut it here and there i thought the best course of action was to uninstall previous installation of compiz fusion from gusty. i did

sudo apt-get remove --purge compiz* libcompizconfig* -s

sudo aptitude remove libgnome-compiz-manager0 compiz-extra libcompizconfig0 compiz-dev compiz-gtk compiz-kde compiz-settings libcompizconfig-backend-gconf compiz-config-ini gcompizthemer compiz-plugins libgnome-compiz-manager-dev compizconfig-backend-kde compizconfig-settings-manager python-compizconfig compiz-config-gnome taskbar-compiz compizconfig-plugin compiz-freedesktop-dev compiz-fusion-plugins-unofficial compiz-bcop compiz-ccs-settings-manager libgnome-compiz-manager libcompizconfig0-dev compiztools compizconfig-settings-legacy compiz-fusion-plugins-extra compiz-compcomm-plugins-main compiz-fusion-plugins-unsupported compiz compiz-extra-plugins compiz-fusion-plugins-main libcompizconfig-backend-kconfig compiz-core compiz-decorator gnome-compiz-manager compiz-fusion-plugins-main compiz-gnome libcompizconfig-dev libgnome-compiz-manager0-dev libcompizconfig0 libcompizconfig-backend-gconf libcompizconfig0-dev libcompizconfig-backend-kconfig libcompizconfig-dev

also
sudo aptitude remove compiz-fusion -y
sudo aptitude update
sudo aptitude safe-upgrade
sudo aptitude safe-upgrade

which didnt seem to do anything but i read it some where.

my First fresh install
i have tried to install it in past with guide http://phorolinux.com/how-to-install-compiz-fusion-060-from-sources-on-ubuntu-710-gutsy-gibbon.html

it compiled and installed but didnt work.

my second fresh install
i have also tried "Git4CF Automator" (version 0.1 Beta 2) but that installed kde stuff on gnome which i didnt like.

my third fresh install i tried your script and it stops at
Note, selecting libgnome-compiz-manager0-dev for regex 'compiz*'
E: Couldn't find package compiz*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting emerald-themes for regex 'emerald*'
Note, selecting xemeraldia for regex 'emerald*'
Note, selecting emerald for regex 'emerald*'
Note, selecting libemeraldengine-dev for regex 'emerald*'
Note, selecting libemeraldengine0 for regex 'emerald*'
E: Couldn't find package emerald*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting beryl for regex 'beryl*'
E: Couldn't find package beryl*
./build-compiz: line 5: --disable-kde: command not found
./build-compiz: line 6: --disable-kde: command not found
./build-compiz: line 10: ../../logs/buildlogs: No such file or directory

am i taking required steps to make this work? or am i missing something?

some-guy
November 12th, 2007, 08:02 PM
does it just stop or continue?

adarkenigma
November 13th, 2007, 03:34 AM
it stops in script folder
./build-compiz: line 5: --disable-kde: command not found
./build-compiz: line 6: --disable-kde: command not found
./build-compiz: line 10: ../../logs/buildlogs: No such file or directory
root@ubuntu:/home/enigma/makecompiz4/scripts#

some-guy
November 13th, 2007, 03:04 PM
Redownload, I updated it :D

HMartinho
November 13th, 2007, 08:13 PM
Gee Weez Mr Some Guy!
Are u planning on adding maximumize soon?

Cheers.

Rohaq
November 14th, 2007, 12:10 AM
So quick question: Is this for 32-bit distros only, or will this work correctly with a 64-bit version of Gutsy?

Sephoroth
November 14th, 2007, 01:11 AM
Just thought I'd mention, every time you use "su" the script stops ("exit" gets it to keep going again) so you may want to do something about that. Older versions hadn't worked for me in 32 bit Ubuntu Gutsy Gibbon but I recently upgraded to the 64 bit version so I'll keep testing it XD.

EDIT:

Note that when running the build-compiz script, I get this:

Building Compiz-core
libtool: link: `scale.lo' is not a valid libtool object
make[2]: *** [libscale.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Making install in include

REEDIT:
When running commands manually/individually (without logging) I didn't see these errors reappear (though compiz remains windowless before and after without plugins-extra, plugins-unsupported, and backend-gconf installed).

adarkenigma
November 14th, 2007, 03:02 AM
sorry but it still stops
Note, selecting c-compiler-m68hc12 for regex 'compiz*'
Note, selecting gcc-m68hc1x instead of c-compiler-m68hc12
Note, selecting ocaml-compiler-libs for regex 'compiz*'
Note, selecting fortran77-compiler for regex 'compiz*'
Note, selecting compiz-gnome for regex 'compiz*'
Note, selecting libgnome-compiz-manager0-dev for regex 'compiz*'
E: Couldn't find package compiz*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting emerald-themes for regex 'emerald*'
Note, selecting xemeraldia for regex 'emerald*'
Note, selecting emerald for regex 'emerald*'
Note, selecting libemeraldengine-dev for regex 'emerald*'
Note, selecting libemeraldengine0 for regex 'emerald*'
E: Couldn't find package emerald*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting beryl for regex 'beryl*'
E: Couldn't find package beryl*
root@ubuntu:/home/enigma/makecompiz4/scripts#

you didn't say anything about uninstalling or removing old CF... so i think it was right way to do it?

Sephoroth
November 14th, 2007, 03:10 AM
A quick work around is just to type "exit" whenever that happens.

adarkenigma
November 14th, 2007, 04:08 AM
thanks for the tip Sephoroth

but now i get desktop effect could not be enabled and with compiz --replace,
i get windows with no borders.

i read it on ubuntu forums that CF compiled from git core will not work just by compiz --replace and should try this

LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &

which didnt work either. so i am stuck :(

Edit:

i am not sure if this means anything or not.. but i got this when i compiled it.

/usr/bin/install -c -m 644 'compiz-scale.pc' '/usr/lib/pkgconfig/compiz-scale.pc'
/usr/bin/install -c -m 644 'compiz-gconf.pc' '/usr/lib/pkgconfig/compiz-gconf.pc'
make[2]: Leaving directory `/home/enigma/makecompiz4/sources/compiz-0.6.2'
make[1]: Leaving directory `/home/enigma/makecompiz4/sources/compiz-0.6.2'
Done
Building Option Parser(bcop)
./build-compiz: line 29: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building libcompizconfig
./build-compiz: line 38: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building compizconfig python bindings
./build-compiz: line 47: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building Compiz-Fusion Main Plugins
./build-compiz: line 56: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building Compiz-Fusion Extra plugins
./build-compiz: line 65: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building Compiz-Fusion Unsupported plugins
./build-compiz: line 74: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building compizconfig gconf Backend
./build-compiz: line 83: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building Emerald
./build-compiz: line 92: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building Emerald-Themes
./build-compiz: line 101: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Done
Building CompizConfig Settings Manager
./build-compiz: line 110: PKG_CONFIG_PATH=/usr/lib/pkgconfig: No such file or directory
running build

Deciare
November 14th, 2007, 05:08 AM
Yes, it's a problem. It seems that "PKG_CONFIG_PATH=/usr/lib/pkgconfig" is being treated like a command instead of an environment variable setting, which is causing the shell to complain that such a command doesn't exist.

That can be worked around by doing
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
once at the start of the build-compiz script, then just calling ./configure without prefixing each call with a reference to PKG_CONFIG_PATH throughout the rest of the script.

adarkenigma
November 14th, 2007, 06:08 AM
sir,
i am sorry to sound so ignorant but i am not good at this.. but sure would like to learn if i can. how do i go about intercepting the script and enter that command?

i am willing to do fresh install just for sake of this to work... i am still unsure whether or not i have taken correct steps to remove default CF?

does this script follow the same steps and describable in this (http://phorolinux.com/how-to-install-compiz-fusion-060-from-sources-on-ubuntu-710-gutsy-gibbon.html) article?

any help is much obliged.

Sephoroth
November 14th, 2007, 06:39 AM
To remove default CF just make sure it isn't checked in Synaptics (or select completely remove if it is). To remove a non-functioning installation (a failed one of these) just run the uninstall script. The script already attempts to uninstall Beryl/Compiz/Emerald if it is already installed.

adarkenigma
November 14th, 2007, 07:14 AM
i have attempted to remove compiz from synatics in past. i just searched "compiz" and it left my all my windows with no borders.

and if i run uninstall script it just leaves me in script folders
root@ubuntu:~# cd makecompiz4
root@ubuntu:~/makecompiz4# ./uninstall-compiz
root@ubuntu:/home/enigma/makecompiz4/scripts#

Sephoroth
November 14th, 2007, 07:18 AM
Once again, "exit" XD.

As for having no window borders, enter "metacity --replace" into a terminal.

EDIT:

Ahh, thanks, adarkenigma. "LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &" managed to get compiz loading.

I'm not sure if Deciare's suggestions helped though (I only tested "compiz --replace" previously and tested this command after going through his suggestion).

If your compiz is loading but your emerald doesn't automatically load, enter "emerald --replace" into a terminal.

adarkenigma
November 14th, 2007, 07:35 AM
excellent "exit" seems to be the keyword here
now how do i go about this export PKG_CONFIG_PATH=/usr/lib/pkgconfig

thanks again serphoroth

Sephoroth
November 14th, 2007, 08:15 AM
No problem :D.

Go into the scripts folder and "display" build-compiz. Then paste "export PKG_CONFIG_PATH=/usr/lib/pkgconfig" anywhere near the top of the script (I did right under where PKG_CONFIG was defined). Then remove any prefixes to the ./configure command within the script (meaning change "$PKG_CONFIG ./configure" to simply "./configure"; yay for ctrl + F).

Any idea why "LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &" was necessary?

adarkenigma
November 14th, 2007, 11:58 AM
Sorry for the delayed reply. i was doing fresh install of ubuntu.

sephoroth i am happy that worked out for you, i believe it necessary to LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &
if you have compiled CF from git core... but i am no expert i have only read it somewhere on ubuntu forums. there is different way to load CF if you have nVidia.

i followed your instructions and replaced
$PKG_CONFIG ./configure" to simply "./configure

yay for ctrl + F indeed. lol that managed to successfully compile it and install.

but my excitement was short lived... since neither
compiz --replace
nor
LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &
loaded CF for me. i am uncertain what is causing this i am using ATI 8.37.6 driver
since ATI's newest driver which supports aiglx but it wasn't for me. since it made my scrolling crawl and slow jittery CF transitions. so i decided to use xgl... on which default CF of gusty works effortlessly.

i am fresh out of ideas..:confused: since 3 different methods have failed.
any guidance or tip is greatly appreciated.

adamk
November 14th, 2007, 12:24 PM
Any idea why "LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &" was necessary?

Those are all the necessary options and variables needed to start compiz-fusion if you're using AIGLX with the open source radeon or intel drivers (or even version 8.42.3 of the fglrx drivers). Most distributions come with a wrapper script that takes care of that automatically, but if you build compiz from git, there is no such script created.

Adam

adamk
November 14th, 2007, 12:25 PM
but my excitement was short lived... since neither
compiz --replace
nor
LIBGL_ALWAYS_INDIRECT=true compiz --replace --indirect-rendering --sm-disable ccp &
loaded CF for me. i am uncertain what is causing this i am using ATI 8.37.6 driver
since ATI's newest driver which supports aiglx but it wasn't for me. since it made my scrolling crawl and slow jittery CF transitions. so i decided to use xgl... on which default CF of gusty works effortlessly.

i am fresh out of ideas..:confused: since 3 different methods have failed.
any guidance or tip is greatly appreciated.

You'll need to start compiz with:

$ LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace --sm-disable ccp &

Adam

adarkenigma
November 14th, 2007, 12:56 PM
thanks adamk but it tells me

Could not open location 'file:///LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace --sm-disable ccp &amp;'
The location or file could not be found.

adamk
November 14th, 2007, 12:58 PM
You need to run that in a terminal.

Adam

adarkenigma
November 14th, 2007, 01:37 PM
i feel i am greatly indebted to you sir... that seemed to have done it for me.
silly me i should looked at "$" before wrote that reply.
i got following
root@ubuntu:~# LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace --sm-disable ccp &
[1] 9230
root@ubuntu:~# compiz (dbus) - Error: dbus_bus_get error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
compiz (core) - Error: Couldn't activate plugin 'dbus'

i am sure its not cause of concern... also my borders went away.. but replaced it with emerald (emerald --replace)

following next reboot.. i found that CF is not loaded by default... and so is emerald.
also, if i start fusion icon.. desktop falls back to metacity with no borders.

do you think this CF works better with ATI's 8.42.3 driver?

adamk
November 14th, 2007, 01:47 PM
A) Don't ever run X or Compiz (or any window manager) as root.

B) CF won't start up by default unless you add it to your session.

C) Do you get the fusion icon? Can you select compiz from it and have it work? If not, run fusion-icon from a terminal and look for the error message telling you why compiz won't start.

D) While 8.42.3 should let you use AIGLX, it's slower than earlier versions of fglrx using Xgl.

Adam

adarkenigma
November 14th, 2007, 02:25 PM
will do sir

i get fusion icon.. in system tray area.. but when it loads .. it takes CF away. and if select compiz from it nothing happens. i have start CF from terminal.

adamk
November 14th, 2007, 02:27 PM
When you run fusion-icon from a terminal, what error messages do you get when you try to select compiz from it?

Adam

some-guy
November 14th, 2007, 04:29 PM
the script also installs compiz-manager

I've been a little busy with school lately, I probably won't be able to update it for 20 hours :(

adarkenigma
November 15th, 2007, 04:49 AM
i am sorry for late reply adam... i was at work

after restarting few times... and loading compiz fusion icon i get

* Detected Session: gnome
* Searching for installed applications...
* No GLX_EXT_texture_from_pixmap with direct rendering context
... nor with indirect rendering, this isn't going to work!
* Non-mesa driver on Xgl detected
... exporting: LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa
* Using the GTK Interface
* Decorator "" is invalid.
* Setting decorator to GTK Window Decorator ("gtk-window-decorator --replace")
* Starting Compiz
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp

what do i need to make it start at start up?

Sephoroth
November 15th, 2007, 06:34 AM
Go to System -> Preferences -> Sessions and add Fusion-Icon as a startup program. From there you can choose your window manager/decorator.

Just thought I'd mention, photo wheel won't display pictures (it shows a rotating white shape with the number of sides equaling the number of pictures I added).

adarkenigma
November 15th, 2007, 08:02 AM
thanks again sephoroth, adam, Deciare and finally my deepest gratitude to "some-guy" for this wonderful script.

(session entry works great)

some-guy
November 17th, 2007, 05:21 AM
UPDATED
Hopefully that took care of most of the bugs :D
Delfik never replied to this thread ;)

grozni
November 19th, 2007, 04:03 PM
I've installed script, /usr for Ubuntu. In appereance I've enabled extra, then in compiz-cofig I've choose Cube, Rotate Cuve, etc....now I'm missing whole toolbar in every window, can't close any windows. Virtual desktop's are not responding. I've upgraded to 0.6.0 only because in previous version 0.5.2 I was not able to run 3D cube no matter what I tried. Everything worked fine except 3D, then I choose upgrade, I was hoping to enable this effect. Also custom settings in Appereance is missing, I can only choose none, normal or extra. What is the problem? Please advice. Thanks

some-guy
November 19th, 2007, 05:02 PM
run compiz-manager or fusion-icon

egrad
November 19th, 2007, 06:50 PM
I get the compiz install but get this error for the additional plugins.

Any help would be great!!!!


compiling : star.c -> build/star.lo
compiling : build/star_options.c -> build/star_options.lo
linking : build/libstar.la
install : /home/elon/.compiz/plugins/libstar.so
install : /home/elon/.compiz/metadata/star.xmlcp: cannot create regular file `/home/elon/.compiz/metadata/star.xml': Permission denied
install : /home/elon/.compiz/metadata/star.xml
install : build/compiz-star.schema
mkdir: cannot create directory `/home/elon/.compiz/images': Permission denied
install : /home/elon/.compiz/images/star2.pngcp: cannot create regular file `/home/elon/.compiz/images/star2.png': No such file or directory
install : /home/elon/.compiz/images/star2.png
install : /home/elon/.compiz/images/star4.pngcp: cannot create regular file `/home/elon/.compiz/images/star4.png': No such file or directory
install : /home/elon/.compiz/images/star4.png
install : /home/elon/.compiz/images/star3.pngcp: cannot create regular file `/home/elon/.compiz/images/star3.png': No such file or directory
install : /home/elon/.compiz/images/star3.png
install : /home/elon/.compiz/images/star.pngcp: cannot create regu