Python on amd64

Willem Jan Withagen wjw at
Tue Jul 20 16:51:11 PDT 2004

Is that supposed to work???

case $MAKEFLAGS in  *-s*)  CC='cc' LDSHARED='cc -shared -lpthread'
OPT='-DNDEBUG -pipe -g   -DTHREAD_STACK_SIZE=0x20000' ./python -E ./ -q
build;;  *)  CC='cc' LDSHARED='cc -shared -lpthread'
T='-DNDEBUG -pipe -g   -DTHREAD_STACK_SIZE=0x20000' ./python -E ./
build;;  esac
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "./", line 6, in ?
    import sys, os, getopt, imp, re
ImportError: No module named os
*** Error code 1

Stop in
*** Error code 1

Stop in /home2/ports/lang/python.

Don't know nothing about python, other than that I needs it for portindex. :(


More information about the freebsd-ports mailing list