How to enable rotor in python 2.4.2?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Murphy Wong

    How to enable rotor in python 2.4.2?


    Dear all,

    I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
    installing FLE (http://fle3.uiah.fi/), I find that it will call the
    rotor module i npython. However, rotor is removed from python 2.4.2
    (http://savannah.nongnu.org/bugs/?fun...item_id=14434). Could
    I enable rotor some ways in python again? Thanks.

    Regards,
    Murphy

  • Murphy Wong

    #2
    Re: How to enable rotor in python 2.4.2?



    I compiled python 2.3.5 and copy the lib-dynload/rotor.so to the 2.4.2
    lib and it works... Thanks anyway. :)

    Murphy



    Murphy Wong wrote:[color=blue]
    >
    > Dear all,
    >
    > I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
    > installing FLE (http://fle3.uiah.fi/), I find that it will call the
    > rotor module i npython. However, rotor is removed from python 2.4.2
    > (http://savannah.nongnu.org/bugs/?fun...item_id=14434). Could
    > I enable rotor some ways in python again? Thanks.
    >
    > Regards,
    > Murphy
    >[/color]

    Comment

    • Gerhard Häring

      #3
      Re: How to enable rotor in python 2.4.2?

      Murphy Wong wrote:[color=blue]
      > Dear all,
      >
      > I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
      > installing FLE (http://fle3.uiah.fi/), I find that it will call the
      > rotor module i npython. However, rotor is removed from python 2.4.2
      > (http://savannah.nongnu.org/bugs/?fun...item_id=14434). Could
      > I enable rotor some ways in python again? Thanks.[/color]

      You could get the module from some older Python version
      (http://svn.python.org/projects/pytho.../rotormodule.c)
      and compile it for Python 2.4. You need a C compiler and a minimal
      setup.py file for compiling the module:

      from distutils.core import setup
      from distutils.exten sion import Extension

      setup (
      name = "rotor",
      ext_modules = [Extension( name="rotor",
      sources=["rotormodul e.c"]
      )]
      )

      HTH,

      -- Gerhard

      Comment

      • Paul Rubin

        #4
        Re: How to enable rotor in python 2.4.2?

        Murphy Wong <murphy.wong@hk u.hk> writes:[color=blue]
        > I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
        > installing FLE (http://fle3.uiah.fi/), I find that it will call the
        > rotor module i npython. However, rotor is removed from python 2.4.2
        > (http://savannah.nongnu.org/bugs/?fun...item_id=14434).
        > Could I enable rotor some ways in python again? Thanks.[/color]

        I don't know what FLE is but rotor is not a good encryption. Instead
        of restoring it to a new Python instance, FLE should be updated to not
        use it.

        Comment

        Working...