Re: compiling python2.5 on linux under wine

Discussion in 'Python' started by Luke Kenneth Casson Leighton, Jan 7, 2009.

  1. On Sat, Jan 3, 2009 at 9:22 PM, Luke Kenneth Casson Leighton
    <> wrote:

    > hey, has anyone investigated compiling python2.5 using winegcc, under wine?


    some people might find this kind of thing amusing. it's considered in
    very obtuse circles to be "progress"... :)


    lkcl@gonzalez:/mnt/src/python2.5-2.5.2/Lib$ ../build/python -v
    Could not find platform independent libraries <prefix>
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    # installing zipimport hook
    import zipimport # builtin
    # installed zipimport hook
    'import site' failed; traceback:
    ImportError: No module named site
    Python 2.5.2 (r252:60911, Jan 7 2009, 20:33:53) [gcc] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import site

    fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
    fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
    fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
    [....]
    [....]
    [....]
    import sre_compile # from Z:\mnt\src\python2.5-2.5.2\Lib\sre_compile.py
    fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
    fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
    fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
    # wrote Z:\mnt\src\python2.5-2.5.2\Lib\sre_compile.pyc
    import _sre # builtin
    import sre_constants # from Z:\mnt\src\python2.5-2.5.2\Lib\sre_constants.py
    # wrote Z:\mnt\src\python2.5-2.5.2\Lib\sre_constants.pyc
    import sre_parse # from Z:\mnt\src\python2.5-2.5.2\Lib\sre_parse.py
    # wrote Z:\mnt\src\python2.5-2.5.2\Lib\sre_parse.pyc
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "site.py", line 415, in <module>
    main()
    File "site.py", line 406, in main
    aliasmbcs()
    File "site.py", line 356, in aliasmbcs
    import locale, codecs
    File "Z:\mnt\src\python2.5-2.5.2\Lib\locale.py", line 167, in <module>
    import re, operator
    File "Z:\mnt\src\python2.5-2.5.2\Lib\re.py", line 223, in <module>
    _pattern_type = type(sre_compile.compile("", 0))
    File "Z:\mnt\src\python2.5-2.5.2\Lib\sre_compile.py", line 530, in compile
    groupindex, indexgroup
    OverflowError: signed integer is less than minimum
    >>>
    Luke Kenneth Casson Leighton, Jan 7, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pasturel Jean-Louis

    Porting JNI Windows under JNI LINUX + Wine ?

    Pasturel Jean-Louis, Feb 29, 2004, in forum: Java
    Replies:
    5
    Views:
    894
    Pasturel Jean-Louis
    Mar 3, 2004
  2. Luke Kenneth Casson Leighton

    compiling python2.5 on linux under wine

    Luke Kenneth Casson Leighton, Jan 3, 2009, in forum: Python
    Replies:
    0
    Views:
    265
    Luke Kenneth Casson Leighton
    Jan 3, 2009
  3. Luke Kenneth Casson Leighton

    Re: [Python-Dev] compiling python2.5 on linux under wine

    Luke Kenneth Casson Leighton, Jan 8, 2009, in forum: Python
    Replies:
    2
    Views:
    445
  4. Luke Kenneth Casson Leighton
    Replies:
    0
    Views:
    357
    Luke Kenneth Casson Leighton
    Jan 15, 2009
  5. Luke Kenneth Casson Leighton
    Replies:
    1
    Views:
    338
    Ross Ridge
    Jan 25, 2009
Loading...

Share This Page