You are not logged in.
you seem to be doing it wrong....
>python3 -E -c 'import sys ; from distutils.util import get_platform ; print(get_platform()+"-"+sys.version[0:3])'
linux-i686-3.0Edit:
why are you using ./python and what does it point to?
Offline
Allan,
I'm not doing wrong actually, it's the python "make test" that fails to build on arch x86_64. However on i686, it works fine, so I believe it's my machine that seems to have issues with it. Here is the PKGBUILD that I'm using:
# $Id: PKGBUILD 20913 2008-12-07 09:20:44Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributer: Jason Chu <jason@archlinux.org>
pkgname=python3
pkgver=3.0.1
pkgrel=1
pkgdesc="A high-level scripting language"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.python.org"
depends=('db' 'bzip2' 'gdbm' 'openssl>=0.9.8d' 'zlib')
makedepends=('tk>=8.5.0' 'sqlite3')
source=(http://www.python.org/ftp/python/${pkgver}/Python-${pkgver}.tar.bz2)
md5sums=('7291eac6a9a7a3642e309c78b8d744e5')
build() {
cd $srcdir/Python-$pkgver
./configure --prefix=/usr/local
make || return 1
make test || return 1
make DESTDIR=$pkgdir install || return 1
# license
install -Dm644 LICENSE $pkgdir/usr/local/share/licenses/$pkgname/LICENSE
}Offline
Does the python3 package that I provide in [community] work for you? Also, the deps are wrong (db is not needed), and gdbm does not get detected properly without a patch.
Offline
Thanks Allan, I had no idea that python3 was in community repo, which is why I tried to build it myself. The python3 package works excellent, however I still cant build it correctly on my own system, so it must be something wrong with my machine.
Thank you for your good work Allan!
Offline