1 |
Neil Bothwick <neil@××××××××××.uk> [12-02-18 10:28]: |
2 |
> On Sat, 18 Feb 2012 09:56:03 +0100, meino.cramer@×××.de wrote: |
3 |
> |
4 |
> > Exception: Platform 'linux3' not supported: |
5 |
> > File |
6 |
> > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", |
7 |
> > line 378: includes, a , b = get_platform_flags( opts ) File |
8 |
> > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", |
9 |
> > line 103: raise Exception( "Platform '%s' not supported" % sys.platform |
10 |
> > ) |
11 |
> |
12 |
> This is not related to your kernel version AFAICT. sys.platform is set to |
13 |
> linux2 on the two systems running version 3 kernels I've tried it on. |
14 |
> According to the python docs |
15 |
> |
16 |
> "Changed in version 2.7.3: Since lots of code check for sys.platform == |
17 |
> 'linux2', and there is no essential change between Linux 2.x and 3.x, |
18 |
> sys.platform is always set to 'linux2', even on Linux 3.x. In Python 3.3 |
19 |
> and later, the value will always be set to 'linux', so it is recommended |
20 |
> to always use the startswith idiom presented above." |
21 |
> |
22 |
> It sounds like you are using an older python. |
23 |
> |
24 |
> |
25 |
> -- |
26 |
> Neil Bothwick |
27 |
> |
28 |
> If you think that there is good in everybody, you haven't met everybody. |
29 |
|
30 |
|
31 |
|
32 |
Hi Neil, |
33 |
|
34 |
now it becomes more complicate (at least for me... ;) |
35 |
|
36 |
With |
37 |
|
38 |
eselect python list |
39 |
|
40 |
I get |
41 |
|
42 |
Available Python interpreters: |
43 |
[1] python2.6 |
44 |
[2] python2.7 |
45 |
[3] python3.1 |
46 |
[4] python3.2 * |
47 |
|
48 |
Compiling hydrogen with this settings I get: |
49 |
Calculating dependencies... done! |
50 |
|
51 |
>>> Verifying ebuild manifests |
52 |
|
53 |
>>> Emerging (1 of 1) media-sound/hydrogen-0.9.5 |
54 |
* hydrogen-0.9.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] |
55 |
>>> Unpacking source... |
56 |
>>> Unpacking hydrogen-0.9.5.tar.gz to /var/tmp/portage/media-sound/hydrogen-0.9.5/work |
57 |
>>> Source unpacked in /var/tmp/portage/media-sound/hydrogen-0.9.5/work |
58 |
>>> Preparing source in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ... |
59 |
* Applying portaudio.patch ... |
60 |
[ ok ] |
61 |
* Applying hydrogen-0.9.5-use_lrdf_pkgconfig.patch ... |
62 |
[ ok ] |
63 |
>>> Source prepared. |
64 |
>>> Configuring source in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ... |
65 |
>>> Source configured. |
66 |
>>> Compiling source in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ... |
67 |
scons: Reading SConscript files ... |
68 |
Exception: Platform 'linux3' not supported: |
69 |
File "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", line 378: |
70 |
includes, a , b = get_platform_flags( opts ) |
71 |
File "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", line 103: |
72 |
raise Exception( "Platform '%s' not supported" % sys.platform ) |
73 |
* ERROR: media-sound/hydrogen-0.9.5 failed (compile phase): |
74 |
* (no error message) |
75 |
* |
76 |
* Call stack: |
77 |
* ebuild.sh, line 85: Called src_compile |
78 |
* environment, line 2405: Called die |
79 |
* The specific snippet of code: |
80 |
* scons prefix=/usr DESTDIR="${D}" optflags="${CXXFLAGS}" ${myconf} || die |
81 |
* |
82 |
* If you need support, post the output of 'emerge --info =media-sound/hydrogen-0.9.5', |
83 |
* the complete build log and the output of 'emerge -pqv =media-sound/hydrogen-0.9.5'. |
84 |
* The complete build log is located at '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'. |
85 |
* The ebuild environment file is located at '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/environment'. |
86 |
* S: '/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5' |
87 |
|
88 |
>>> Failed to emerge media-sound/hydrogen-0.9.5, Log file: |
89 |
|
90 |
>>> '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log' |
91 |
|
92 |
|
93 |
|
94 |
eix -n dev-lang/python results in: |
95 |
|
96 |
|
97 |
[I] dev-lang/python |
98 |
Available versions: |
99 |
(2.5) 2.5.4-r4 |
100 |
(2.6) 2.6.6-r2 ~2.6.7-r2 |
101 |
(2.7) 2.7.2-r3 |
102 |
(3.1) 3.1.4-r3 |
103 |
(3.2) 3.2.2 |
104 |
{-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml} |
105 |
Installed versions: 2.6.6-r2(2.6)(18:09:51 10/19/11)(doc examples gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -berkdb -build -elibc_uclibc -wininst) 2.7.2-r3(2.7)(01:33:12 10/28/11)(doc examples gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -berkdb -build -elibc_uclibc -wininst) 3.1.4-r3(3.1)(01:35:36 10/28/11)(doc examples gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -build -elibc_uclibc -wininst) 3.2.2(3.2)(00:00:43 02/18/12)(doc examples gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -build -elibc_uclibc -wininst) |
106 |
Homepage: http://www.python.org/ |
107 |
Description: Python is an interpreted, interactive, object-oriented programming language. |
108 |
|
109 |
|
110 |
Is there anything newer than what I have installed and eselected? |
111 |
|
112 |
|
113 |
I am still confused... |
114 |
|
115 |
Best regards, |
116 |
mcc |