python compilation questions

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

    python compilation questions

    Hi:

    i compiled python-2.3.2 and ahve a coupel of questions:

    1) i can't get python compiled with option "--with-pth"
    2) without the option "--with-pth", it went through the compilation, but i had
    some problems with testing:

    ld: fatal: relocations remain against allocatable but non-writable sections
    collect2: ld returned 1 exit status

    it went throught rest of testing ok.

    anybody has any idea on this?

  • dave

    #2
    Re: python compilation questions

    the error message seem to relate to openssl:

    .....
    ....
    DSA_size 0x248
    /usr/local/ssl/lib/libcrypto.a(p_l ib.o)
    DSA_size 0x24c
    /usr/local/ssl/lib/libcrypto.a(p_l ib.o)
    ld: fatal: relocations remain against allocatable but non-writable sections
    collect2: ld returned 1 exit status


    In article <bov7fq02hrt@dr n.newsguy.com>, dave says...[color=blue]
    >
    >Hi:
    >
    >i compiled python-2.3.2 and ahve a coupel of questions:
    >
    >1) i can't get python compiled with option "--with-pth"
    >2) without the option "--with-pth", it went through the compilation, but i had
    >some problems with testing:
    >
    >ld: fatal: relocations remain against allocatable but non-writable sections
    >collect2: ld returned 1 exit status
    >
    >it went throught rest of testing ok.
    >
    >anybody has any idea on this?
    >[/color]

    Comment

    • dave

      #3
      Re: python compilation questions

      sorry, i found one more error message from "make test":

      test test_pwd failed -- Traceback (most recent call last):
      File "~/Python-2.3.2/Lib/test/test_pwd.py", line 58, in test_errors
      fakename = allnames[namei]
      IndexError: list index out of range


      In article <bov7fq02hrt@dr n.newsguy.com>, dave says...[color=blue]
      >
      >Hi:
      >
      >i compiled python-2.3.2 and ahve a coupel of questions:
      >
      >1) i can't get python compiled with option "--with-pth"
      >2) without the option "--with-pth", it went through the compilation, but i had
      >some problems with testing:
      >
      >ld: fatal: relocations remain against allocatable but non-writable sections
      >collect2: ld returned 1 exit status
      >
      >it went throught rest of testing ok.
      >
      >anybody has any idea on this?
      >[/color]

      Comment

      Working...