Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Still trying to compile hydrogen
Date: Sat, 18 Feb 2012 09:25:37
Message-Id: 20120218092411.7ea2d9e2@digimed.co.uk
In Reply to: Re: [gentoo-user] [OT] Still trying to compile hydrogen by meino.cramer@gmx.de
1 On Sat, 18 Feb 2012 09:56:03 +0100, meino.cramer@×××.de wrote:
2
3 > Exception: Platform 'linux3' not supported:
4 > File
5 > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
6 > line 378: includes, a , b = get_platform_flags( opts ) File
7 > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
8 > line 103: raise Exception( "Platform '%s' not supported" % sys.platform
9 > )
10
11 This is not related to your kernel version AFAICT. sys.platform is set to
12 linux2 on the two systems running version 3 kernels I've tried it on.
13 According to the python docs
14
15 "Changed in version 2.7.3: Since lots of code check for sys.platform ==
16 'linux2', and there is no essential change between Linux 2.x and 3.x,
17 sys.platform is always set to 'linux2', even on Linux 3.x. In Python 3.3
18 and later, the value will always be set to 'linux', so it is recommended
19 to always use the startswith idiom presented above."
20
21 It sounds like you are using an older python.
22
23
24 --
25 Neil Bothwick
26
27 If you think that there is good in everybody, you haven't met everybody.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] [OT] Still trying to compile hydrogen meino.cramer@×××.de