Python on amd64

Willem Jan Withagen wjw at withagen.nl
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 ./setup.py -q
build;;  *)  CC='cc' LDSHARED='cc -shared -lpthread'
T='-DNDEBUG -pipe -g   -DTHREAD_STACK_SIZE=0x20000' ./python -E ./setup.py
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 "./setup.py", line 6, in ?
    import sys, os, getopt, imp, re
ImportError: No module named os
*** Error code 1

Stop in
/home2/ports/lang/python/work-amd64-5.2.1/home2/ports/lang/python/work/Python-2.
3.4.
*** Error code 1

Stop in /home2/ports/lang/python.

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

--WjW



More information about the freebsd-ports mailing list