You are not logged in.
Pages: 1
Hello!
I want to install rabbitvcs for thunar.
So, I tryed to compile or install from AUR thunarx-python package.
But get following error:
hunarxmodule.c -fPIC -DPIC -o .libs/thunarx_la-thunarxmodule.o
thunarxmodule.c: In function ‘DL_EXPORT’:
thunarxmodule.c:33:1: error: expected declaration specifiers before ‘initthunarx’
thunarxmodule.c:60:1: error: expected ‘{’ at end of input
make[2]: *** [thunarx_la-thunarxmodule.lo] Ошибка 1
make[2]: Leaving directory `/tmp/bauerbill/build/aur/thunarx-python/src/thunarx-python-0.2.0/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/tmp/bauerbill/build/aur/thunarx-python/src/thunarx-python-0.2.0'
make: *** [all] error 2
I think it's because
grep DL_EXPORT /usr/include/python3.1/Python.h -c
0
and
grep DL_EXPORT /usr/include/python2.7/Python.h -c
2
How can I make it? Where should I configure to use python2?
Thanks in advance!
Offline
Try this PKGBUILD:
pkgname=thunarx-python
pkgver=0.2.0
pkgrel=1
pkgdesc="Thunarx Python Bindings"
arch=('i686' 'x86_64')
url="http://rabbitvcs.org/"
depends=('thunar>=1.0.1' 'pygtk>=2.16.0' 'pygobject>=2.16' 'gnome-python>=2.12.0')
license=('GPL')
source=(http://rabbitvcs.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('6b6555157888e7dd91a15732b4970642')
build(){
cd ${srcdir}/${pkgname}-${pkgver}
PYTHON=/usr/bin/python2 ./configure
make || return 1
make DESTDIR=${pkgdir} install || return 1
}
Last edited by thiagoc (2011-02-08 19:54:21)
Offline
Thank you for you reply, thiagoc
But that's not working for my case...
Offline
grundic,
I have updated the package in AUR. python3 didn't work, so I made everything use python2.
dimka
Offline
Pages: 1