CCSM does not run when installing from source

Bug #1136011 reported by Robert M
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
High
Sam Spilsbury

Bug Description

When installing compiz from source, most things seem to be installed, properly, however CCSM does not startup. It fails with:

Traceback (most recent call last):
  File "/usr/local/bin/ccsm", line 92, in <module>
    import compizconfig
ImportError: No module named compizconfig

What I did to reproduce:

bzr branch lp:compiz
cd compiz
mkdir build
cd build
cmake ..
sudo make install
ccsm

No compiz packages are installed on the system, so it is completely clean.

Revision history for this message
Robert M (osfan6313) wrote :

I've figured out why this is happening. It seems that compizconfig.so is being installed to /usr/local/lib/python2.7/site-packages, but if I copy it over to /usr/local/lib/python2.7/dist-packages, it starts up.

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Dunno how or why this regressed again. Sounds like some kind of change within the distro python.

Changed in compiz:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Sam Spilsbury (smspillaz)
milestone: none → 0.9.9.2
Changed in compiz:
milestone: 0.9.9.2 → 0.9.10.0
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Revision history for this message
Michael Z Freeman (michael-z-freeman) wrote :

Got this on BZR 20131217 in Debian. Copying to dist-packages fixed it.

Revision history for this message
Stephen M. Webb (bregma) wrote :

The variable COMPIZ_DEB_BUILD needs to be set to build for a Debian-based platform since they use "dist-packages" for the Python search path and not "site-packages". See https://wiki.debian.org/Python for more information.

This is not a bug in Compiz since a workaround for the Debian policy is already provided. Closing as appropriate.

Changed in compiz:
milestone: 0.9.11.0 → none
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.