You are not logged in.
Pages: 1
trying to build a new wm.... but its in python and my knowledge of python is none too grand here is the packagebuild, this all the instaructions in the tarball.
Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=pywm
pkgver=0.1
pkgrel=1
pkgdesc="A roll your own python wm"
url="http://pywm.sourceforge.net"
depends=('python' 'x-server' 'fltk')
makepedpends=('pyrex' 'python')
source=(http://dl.sourceforge.net/sourceforge/pywm/$pkgname-$pkgver.tar.gz)
md5sums=('8266aa28be39c773b62b5f90c33e7b6f')
build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py install --prefix=$startdir/pkg/usr
}
this my error
=> Validating source files with MD5sums
pywm-0.1.tar.gz ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf pywm-0.1.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/pywm
copying src-python/fltk.py -> build/lib.linux-i686-2.4/pywm
copying src-python/flwm.py -> build/lib.linux-i686-2.4/pywm
copying src-python/applets.py -> build/lib.linux-i686-2.4/pywm
copying src-python/__init__.py -> build/lib.linux-i686-2.4/pywm
creating build/lib.linux-i686-2.4/pywm/examples
copying examples/david.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/example1.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/example2.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/example3.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/example4.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/example5.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/examplen.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/testimport.py -> build/lib.linux-i686-2.4/pywm/examples
copying examples/__init__.py -> build/lib.linux-i686-2.4/pywm/examples
running build_ext
building 'pywm.flwm_' extension
Traceback (most recent call last):
File "setup.py", line 54, in ?
cmdclass = {'build_ext': build_ext}
File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/distutils/command/install.py", line 506, in run
self.run_command('build')
File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run
self.run_command(cmd_name)
File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run
self.build_extensions()
File "/usr/lib/python2.4/distutils/command/build_ext.py", line 405, in build_extensions
self.build_extension(ext)
File "/usr/lib/python2.4/distutils/command/build_ext.py", line 442, in build_extension
sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)
==> ERROR: Build Failed. Aborting...
any idea's this sounds like a nifty wm as it is what you make it
Offline
wild shot -try --root= instead of --prefix=
Offline
nah dim byd......
makes no difference but thanks anyway
Offline
IMHO, it looks like a problem with the code itself...
Offline
I'll give this up then.....
Offline
Try contacting the authors. They might come up with a fix.
Offline
Pages: 1