You are not logged in.
Hi,
I want to programm a wrapper for C++/python by using pybindgen. I downloaded it from the AUR. While I'm running
makepkg I got the following errors:
==> Making package: python-pybindgen 0.16.0-2 (Sun Mar 23 17:38:19 CET 2014)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for vain:
error: target not found: pygccxml
==> ERROR: 'pacman' failed to install missing dependencies.Do I have to install now gccxml-git? Is the PKGBUILD for bindgen still up to date? It depends on
Python2, am I right? So I have to change the PKGBUILD for pybindgen and gccxml to use it for python 3, I'v never
did something like this before.
Can so. help me with it?
Vanessa
(p.s.: sorry for my englis)
Last edited by chinchi (2014-03-26 18:39:16)
Offline
pygccxml is no longer in the official repositories, hence why pacman won't find it.
It's still available in the AUR though.
Burninate!
Offline
Moving to AUR Issues...
Offline
pygccxml is no longer in the official repositories, hence why pacman won't find it.
It's still available in the AUR though.
I understood, but how am I supposed to get then pybindgen?
Offline
I understood, but how am I supposed to get then pybindgen?
Get it's dependencies first. Build them, then get it.
All the best,
-HG
Offline
Gcool wrote:pygccxml is no longer in the official repositories, hence why pacman won't find it.
It's still available in the AUR though.
I understood, but how am I supposed to get then pybindgen?
Read the wiki article about AUR.
Offline
chinchi wrote:Gcool wrote:pygccxml is no longer in the official repositories, hence why pacman won't find it.
It's still available in the AUR though.
I understood, but how am I supposed to get then pybindgen?
Read the wiki article about AUR.
Yes, but this PKGBUILD is
1) not for python3 versions, becaus of the dependencies to python2
there is not a new version yet: old!
2) here is the link, aur.archlinux.org/packages/pygccxml/where the users from AUR wrote, that PKBUILD is not up to date
and tried this:
Kommentar von bchretien
2013-06-06 13:22
Here is an up-to-date version of the PKGBUILD:
https://github.com/bchretien/PKGBUILD/blob/master/pygccxml/PKGBUILD
Kommentar von mortbauer
2013-05-06 15:02
Hey can you please update the package, first the dependency is gccxml-git and the url isn't working anymore as well. Thank youand by the way, here they wrote, that gccxml-git is not necessary anymore and should be removed:
aur.archlinux.org/packages/gccxml-git/
that means, I have to install pygccxml, which depends on gccxml-git, what is not longer relevant and get
the actual PKBUILD, which uses only python2 but I need the pythn3 versions for my programms,
That is confusing for me, really!
cheers chinchi
Last edited by chinchi (2014-03-24 11:26:22)
Offline
and by the way, here they wrote, that gccxml-git is not necessary anymore and should be removed:
aur.archlinux.org/packages/gccxml-git/
Looking at the aur page comments, it seems they were for an older gccxml pacakge that was merged into the current gccxml-git package.
However pygccxml 1.0.0 was released on 2008-10-20 so is rather old (was python3 even around in 2008 ? ).
Python-pybindgen has python2 as a hard depedency, so it should be called python2-pybindgen.
Chinchi, looks like you need to search further for an alternative to sip/pyqt .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
and by the way, here they wrote, that gccxml-git is not necessary anymore and should be removed:
aur.archlinux.org/packages/gccxml-git/Looking at the aur page comments, it seems they were for an older gccxml pacakge that was merged into the current gccxml-git package.
However pygccxml 1.0.0 was released on 2008-10-20 so is rather old (was python3 even around in 2008 ? ).
Python-pybindgen has python2 as a hard depedency, so it should be called python2-pybindgen.
Chinchi, looks like you need to search further for an alternative to sip/pyqt .
Yes, you are right. I already installed Sip and new version of pyqt, but the documentation for sip
is not so good for me as a beginner how wants to write wrapping files and I saw the benchmarks for
pybindgen, sip,boost::python. Boost::python is the slowest from all.
I would rather prefer a new version of pybindgen, why is there not a new version of pybindgen?
Please, what can I do to use it?
best regards chinchi
Last edited by chinchi (2014-03-24 23:01:13)
Offline
http://pybindgen.readthedocs.org/en/lat … n-versions
It does seem pybindgen CAN work with python3 , also GCCXML and PyGCCXML are listed as OPTIONAL on the pybindgen page.
edit
Ok, here is a PKGBUILD to build pybindgen against python3 .
pygccxml is disabled, so you may miss some functionality.
The package does build and the tests that don't require pygccxml run succesfull.
# Contributor: Benjamin Chretien <chretien at lirmm dot fr>
# Contributor: Sebastien Binet <binet@lblbox>
# Contributor: Lone_Wolf <lonewolf at xs4all dot nl>
pkgname=python3-pybindgen
_pkgname=PyBindGen
pkgver=0.17.0
pkgrel=1
pkgdesc="A tool to generate Python bindings for C/C++ code"
url="http://pypi.python.org/pypi/PyBindGen"
arch=('any')
license=('LGPL')
depends=('python')
makedepends=('waf' 'boost')
provides=('python-pybindgen')
conflicts=('python-pybindgen-bzr')
source=("https://pypi.python.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('0b16986f84b6acd8ff490251faf1eb717983113529966e1530ddb26a4015e7e4bedda89f2350b6263bede6699e28fd29c0e6930af349d78b1e638301e0a4c1d9')
build() {
cd "${srcdir}"/"${_pkgname}"-"${pkgver}"
waf configure --prefix=/usr --disable-pygccxml
waf
waf --examples
}
check() {
cd "${srcdir}"/"${_pkgname}"-"${pkgver}"
waf check
}
package() {
cd "${srcdir}"/"${_pkgname}"-"${pkgver}"
waf install --prefix=/usr --destdir=${pkgdir}
}Last edited by Lone_Wolf (2014-03-25 21:40:57)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Hey, THANKS, your the BEST!!!! ![]()
Last edited by chinchi (2014-03-26 18:38:51)
Offline