Python 2.3.3 compilation problem

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

    Python 2.3.3 compilation problem

    Hi, i have RH9 and i need python 2.3. I executed tgz file and typed ./configue.
    Then i type make. It is without problem. When I type make install ...
    ....
    ....
    Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
    Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
    Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
    Compiling /usr/local/lib/python2.3/xmllib.py ...
    Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
    Compiling /usr/local/lib/python2.3/zipfile.py ...
    make: *** [libinstall] Error 1

    Have somebody any idea where is error?
    Thanks
  • Martin v. Loewis

    #2
    Re: Python 2.3.3 compilation problem

    Zdenda wrote:
    [color=blue]
    > Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
    > Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
    > Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
    > Compiling /usr/local/lib/python2.3/xmllib.py ...
    > Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
    > Compiling /usr/local/lib/python2.3/zipfile.py ...
    > make: *** [libinstall] Error 1
    >
    > Have somebody any idea where is error?[/color]

    It's an error further up in the output, probably caused
    by some erroneous file in /usr/local/lib/python2.3.

    Regards,
    Martin

    Comment

    • DoubleM

      #3
      Re: Python 2.3.3 compilation problem

      Zdenda wrote:
      [color=blue]
      > Hi, i have RH9 and i need python 2.3. I executed tgz file and typed
      > ./configue. Then i type make. It is without problem. When I type make
      > install ... ...
      > ...
      > Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
      > Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
      > Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
      > Compiling /usr/local/lib/python2.3/xmllib.py ...
      > Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
      > Compiling /usr/local/lib/python2.3/zipfile.py ...
      > make: *** [libinstall] Error 1
      >
      > Have somebody any idea where is error?
      > Thanks[/color]
      I had the same problem on Mandrake. There seem to be some minor syntax
      incompatibiliti es in zipfile.py, and others. Try make -i install, and all
      should be fine.

      Mike

      Comment

      • benjamin@araisoft.com

        #4
        Re: Python 2.3.3 compilation problem

        There may be a conflict with the lib's directory with a previous
        installation of Python 2.3 already installed. For the configure try
        running:

        ../configure --prefix=/usr/local instead of ./configure
        [color=blue]
        > Zdenda wrote:
        >[color=green]
        >> Hi, i have RH9 and i need python 2.3. I executed tgz file and typed
        >> ./configue. Then i type make. It is without problem. When I type make
        >> install ... ...
        >> ...
        >> Compiling /usr/local/lib/python2.3/xml/sax/handler.py ...
        >> Compiling /usr/local/lib/python2.3/xml/sax/saxutils.py ...
        >> Compiling /usr/local/lib/python2.3/xml/sax/xmlreader.py ...
        >> Compiling /usr/local/lib/python2.3/xmllib.py ...
        >> Compiling /usr/local/lib/python2.3/xmlrpclib.py ...
        >> Compiling /usr/local/lib/python2.3/zipfile.py ...
        >> make: *** [libinstall] Error 1
        >>
        >> Have somebody any idea where is error?
        >> Thanks[/color]
        > I had the same problem on Mandrake. There seem to be some minor syntax
        > incompatibiliti es in zipfile.py, and others. Try make -i install, and all
        > should be fine.
        >
        > Mike
        > --
        > http://mail.python.org/mailman/listinfo/python-list
        >[/color]


        Comment

        Working...