Menu

#5 Building on Solaris/Intel

closed-accepted
nobody
5
2004-07-30
2004-04-06
No

To get psyco 1.2 to compile on Solaris/Intel, I added a
line to the autodetect() function to recognize the
output of uname -m on that platform (see attached).

When I executed

import psyco

I got a PyFatalError after executing the mmap() call
allocate_more_buffers(). I wormed around that by
simply reseting LEBM_WITH_MMAP and LEBM_NUM_BIGBLOCKS
to their default values. I'm sure there's a cleaner
way to do that, but this let me begin playing.

Discussion

  • Skip Montanaro

    Skip Montanaro - 2004-04-06
     
  • Armin Rigo

    Armin Rigo - 2004-07-30

    Logged In: YES
    user_id=4771

    Patch applied.

    Anonymous mmap()s also appear not to work on FreeBSD, at
    least as far as I understand them. Now codemanager.c will
    fall back to PyMem_MALLOC() dynamically if mmap() doesn't
    appear to work -- it was previously a "#if" preprocessor option.

     
  • Armin Rigo

    Armin Rigo - 2004-07-30
    • status: open --> closed-accepted
     

Log in to post a comment.