You are not logged in.

#1 2011-02-08 16:03:03

grundic
Member
Registered: 2009-08-09
Posts: 4

Can't install or compile thunarx-python

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

#2 2011-02-08 19:53:11

thiagoc
Member
From: Brazil
Registered: 2009-02-14
Posts: 33
Website

Re: Can't install or compile thunarx-python

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

#3 2011-02-09 09:47:51

grundic
Member
Registered: 2009-08-09
Posts: 4

Re: Can't install or compile thunarx-python

Thank you for you reply, thiagoc
But that's not working for my case...

Offline

#4 2011-03-12 21:35:01

dimka
Member
Registered: 2010-06-09
Posts: 1

Re: Can't install or compile thunarx-python

grundic,
I have updated the package in AUR. python3 didn't work, so I made everything use python2.

dimka

Offline

Board footer

Powered by FluxBB