Neil Bothwick <n...@digimed.co.uk> [12-02-18 10:28]:
> On Sat, 18 Feb 2012 09:56:03 +0100, meino.cra...@gmx.de wrote:
> 
> > Exception: Platform 'linux3' not supported:
> >   File
> > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
> > line 378: includes, a , b = get_platform_flags( opts ) File
> > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
> > line 103: raise Exception( "Platform '%s' not supported" % sys.platform
> > )
> 
> This is not related to your kernel version AFAICT. sys.platform is set to
> linux2 on the two systems running version 3 kernels I've tried it on.
> According to the python docs
> 
> "Changed in version 2.7.3: Since lots of code check for sys.platform ==
> 'linux2', and there is no essential change between Linux 2.x and 3.x,
> sys.platform is always set to 'linux2', even on Linux 3.x. In Python 3.3
> and later, the value will always be set to 'linux', so it is recommended
> to always use the startswith idiom presented above."
> 
> It sounds like you are using an older python.
> 
> 
> -- 
> Neil Bothwick
> 
> If you think that there is good in everybody, you haven't met everybody.



Hi Neil,

now it becomes more complicate (at least for me... ;)

With

    eselect python list

I get

Available Python interpreters:
  [1]   python2.6
  [2]   python2.7
  [3]   python3.1
  [4]   python3.2 *

Compiling hydrogen with this settings I get:
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/hydrogen-0.9.5
 * hydrogen-0.9.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                        
                     [ ok ]
>>> Unpacking source...
>>> Unpacking hydrogen-0.9.5.tar.gz to 
>>> /var/tmp/portage/media-sound/hydrogen-0.9.5/work
>>> Source unpacked in /var/tmp/portage/media-sound/hydrogen-0.9.5/work
>>> Preparing source in 
>>> /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
 * Applying portaudio.patch ...
 [ ok ]
 * Applying hydrogen-0.9.5-use_lrdf_pkgconfig.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
>>> Source configured.
>>> Compiling source in 
>>> /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
scons: Reading SConscript files ...
Exception: Platform 'linux3' not supported:
  File 
"/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", 
line 378:
    includes, a , b = get_platform_flags( opts )
  File 
"/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", 
line 103:
    raise Exception( "Platform '%s' not supported" % sys.platform )
 * ERROR: media-sound/hydrogen-0.9.5 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2405:  Called die
 * The specific snippet of code:
 *       scons prefix=/usr DESTDIR="${D}" optflags="${CXXFLAGS}" ${myconf} || 
die
 * 
 * If you need support, post the output of 'emerge --info 
=media-sound/hydrogen-0.9.5',
 * the complete build log and the output of 'emerge -pqv 
=media-sound/hydrogen-0.9.5'.
 * The complete build log is located at 
'/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/environment'.
 * S: '/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5'

>>> Failed to emerge media-sound/hydrogen-0.9.5, Log file:

>>>  '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'



eix -n dev-lang/python results in:


[I] dev-lang/python
     Available versions:  
        (2.5)   2.5.4-r4
        (2.6)   2.6.6-r2 ~2.6.7-r2
        (2.7)   2.7.2-r3
        (3.1)   3.1.4-r3
        (3.2)   3.2.2
        {-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline 
sqlite +ssl +threads tk +wide-unicode wininst +xml}
     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)
     Homepage:            http://www.python.org/
     Description:         Python is an interpreted, interactive, 
object-oriented programming language.


Is there anything newer than what I have installed and eselected?


I am still confused...

Best regards,
mcc



Reply via email to