SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Greetings folks.
I've recently came back to Slackware, after doing a full install with the DVD and set init to run level 4 (there was one time some months ago that I couldn't do it so I gave up on it).
Well, here it goes, I have installed gslapt and slapt-get and added a repository to the list that contains the Compiz files to install them, so I just selected these couple of packages and installed it following an old thread on how to install Compiz to Slackware and how to solve the errors that might appear when running CCSM but still this one persists:
Quote:
fernando@slackware-desktop:~$ ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 30, in <module>
import pygtk
ImportError: No module named pygtk
I really have no idea on how to solve problems like this one cause I've never had any experience with this so, please any idea will be very welcome and appreciated.
In advance, thanks.
Do you have pygtk installed? Look in /var/log/packages. Here is how...
Quote:
ls /var/log/packages | grep pygtk
-rw-r--r-- 1 root root 34743 May 10 2011 pygtk-2.22.0-x86_64-1
This is from 13.37, 64 bit system. There is a package for 32 bit systems as well. I would also encourage you to install compiz from slackbuilds. Here is the link.
Here is the list of packages for ccsm. Not all packages are required.
Quote:
For correct installation, build in this order:
1. compiz-bcop
2. protobuf (optional but recommended)
3. libcompizconfig
4. compizconfig-python
5. compizconfig-backend-kconfig4 (optional)
6. ccsm
7. compiz-plugins-main
8. compiz-plugins-extra (optional)
9. compiz-plugins-unsupported (optional)
10. emerald (optional)
11. emerald-themes (optional)
12. fusion-icon (optional)
You need 1, 2 ( recommended not required ) 3, 4, 5 ( only if you run KDE and want to configure things in KDE ) 6, 7, 8, 9. I like 12 as well ( not required ), you get a desktop icon to access things.
the output for ls /var/log/packages | grep pygtk is:
Quote:
fernando@slackware-desktop:~$ ls /var/log/packages | grep pygtk
pygtk-2.22.0-i486-1
And yes, I have pygtk installed.
By the way, it is not a bad idea at all to install the packages from http://slackbuilds.org. But I might need some little push with an example of how to install one of the packages, for example the first one compiz-bcop, line by line. Could you please tell me?
I decided to play around with compiz yesterday on xfce for some unknown reason (still hate it) but anyway I just got lazy and used SBoPKG to install the pkgs listed above, in order, without a problem.
What I would recommend you do is, install sbopkg first. This has nothing to do with compiz. It is a program to make installing things from slackbuilds easier. Once you have that install, spend a little time on that site and learn how to use it. It is not difficult, but you need to know.
Then take one package at a time, in the order they are listed above, and install it with sbopkg. That is the easy way to get things done. When you get a little experience with it, you can make a list of packages, in the correct order, and run sbopkg and compile and install a group in one shot. It works well, once you get a little experience with it.
Once you are root, start sbopkg, just type 'sbopkg' not quotes, press enter.
Run sync.
Next run Search, it will give you a input line, you put the package in there.
It should find the package, depending on what you enter, it may list more than one. Pick the one you are after. Click on 'Add To Que.' The que is just a list of packages to download, and install.
Back to Main Menu. Select Que. In the Que menu, Select Process. Follow the instructions there, the package will download, and install.
ccsm:
--2013-01-31 12:26:09-- http://releases.compiz-fusion.org/0....m-0.8.4.tar.gz
Resolving releases.compiz-fusion.org (releases.compiz-fusion.org)... failed: Name or service not known.
wget: unable to resolve host address 'releases.compiz-fusion.org'
ccsm:
Would you like to continue processing the rest of the
build queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
Press (Y)es to continue, (N)o to abort, (R)etry to try
to build the package again.
y
+++++++++++++++++++++++++++++++++++++++++++
PACKAGE BUILDING/INSTALLATION SUMMARY LOG
Using the SBo repository for Slackware 13.1
Queue Process: Build and install
Problem solved. I ended up reinstalling the whole system and downloading other version of sbopkg from its website and installing that version with pkgtool. After that I did the whole process of selecting the packages using sbopkg as root and building/installing from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.