You are not logged in.

#1 2010-03-21 01:02:36

Pranka
Member
Registered: 2010-03-21
Posts: 10

simple-ccsm build error.

G'evening everyone,
I have been trying to install simple-ccsm from AUR several times, yet get a build error each time.
This is the error:

==> Starting build()...
Traceback (most recent call last):
  File "./setup.py", line 108, in <module>
    proc = subprocess.Popen (['pkg-config', '--variable=prefix', 'compiz'], stdout=subprocess.PIPE)
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build simple-ccsm package.

Ccsm on its own works fine, but I wanted simple-ccsm so I wouldn't have to tweak the animation option everytime I wanted to change it from one option to another.

Offline

#2 2010-03-22 15:51:28

Pranka
Member
Registered: 2010-03-21
Posts: 10

Re: simple-ccsm build error.

Bumping it and apologizing for the bump, but I am in dear need of it.

Offline

#3 2010-03-22 20:16:32

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: simple-ccsm build error.

I just tried it, and it works for me. One small thing: I'm not looking at the same python version as you. The line numbers in /usr/lib/python2.6/subprocess.py don't make sense - they are both in the middle of some comment. So you may try again after upgrading python.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#4 2010-03-23 00:46:28

Pranka
Member
Registered: 2010-03-21
Posts: 10

Re: simple-ccsm build error.

Thanks for replying, grey, and I used:

yaourt -Syu

Hopefully when the ~452MB is downloaded and installed, I shall reboot and try it again. The version of python I was using: 2.6.4-2. After the upgrade, it's going to be 2.6.5-1. If you can kindly make sure that the version you have, which allows simple-ccsm to work, is the same as the one I'm upgrading to, I would really appreciate it.

Offline

#5 2010-03-23 07:08:34

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: simple-ccsm build error.

I was running python 2.6.5-1 yesterday. Today it's already 2.6.5-2. That's arch.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#6 2010-03-23 11:22:45

Pranka
Member
Registered: 2010-03-21
Posts: 10

Re: simple-ccsm build error.

Gah, I still get the same error. The only thing I was able to notice was that it didn't try to download anything, instead, it tried to build the package (like it was trying issuing the same command over and over). Is there a way to delete previously downloaded packages, that failed to build?
I just tried to clean the database using:

yaourt -Cd

Will try to get simple-ccsm again.

Edit: It resumes the previous build:

==> Resuming previous build

==> Downloading $PKG PKGBUILD from AUR...

Last edited by Pranka (2010-03-23 11:24:35)

Offline

#7 2010-03-23 12:26:47

Pranka
Member
Registered: 2010-03-21
Posts: 10

Re: simple-ccsm build error.

I removed the AUR file from /tmp and tried again. It started downloading the file from AUR and trying to build it, and we're back to the first step again. Same error eventhough I upgraded last night and got python 2.6.5-1

Edit: Now I'm going to upgrade python to 2.6.5-2

Last edited by Pranka (2010-03-23 12:29:20)

Offline

#8 2010-03-23 14:07:11

Pranka
Member
Registered: 2010-03-21
Posts: 10

Re: simple-ccsm build error.

Alright, latest update on this matter:
- Downloaded the package itself (http://releases.compiz-fusion.org/0.8.4 … .4.tar.bz2)
- Tried "./setup.py install" and it didn't work. I still got the same error.

Offline

#9 2010-06-24 22:47:08

navry
Member
Registered: 2010-06-24
Posts: 1

Re: simple-ccsm build error.

SOLUTION

download http://aur.archlinux.org/packages.php?ID=22949

unpack and

AS ROOT

  # pacman -S intltool
  # python setup.py install --prefix=/usr/local
  # chmod +x build/scripts-2.6/simple-ccsm

AS USER

 $ cd build/scripts-2.6
 $ ./simple-ccsm

voala:)

why?

error:

Traceback (most recent call last):
  File "./setup.py", line 123, in <module>
    proc = subprocess.Popen(cmd)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

in setup.py on line 123 and 122

122 cmd = "intltool-merge -d -u po/ simple-ccsm.desktop.in simple-ccsm.desktop".split(" ")
123 proc = subprocess.Popen(cmd)

initltool-merge was absent

EDIT

or install from repository after install initltool

pacman -S simple-ccsm

Last edited by navry (2010-06-25 12:14:21)

Offline

#10 2010-06-25 08:08:19

RichSelian
Member
From: China
Registered: 2009-03-14
Posts: 43

Re: simple-ccsm build error.

What you need is intltool. I have added comment in the aur page.

Just run "pacman -S intltool". It can be safely removed after compiling finished.

Offline

Board footer

Powered by FluxBB