(no subject)
Сергей Панов
spanovaleks at gmail.com
Tue Dec 12 23:32:12 PST 2006
Greeting, trying to install python 2.3.5 on FreeBSD 5.3 using args
listed below
CONFIG_ARGS= '--enable-unicode=ucs4' '--with-fpectl=yes'
'--enable-shared=yes' 'LDFLAGS=-pthread ' 'CFLAGS=-O2 -pipe
-march=pentiumpro -DTHREAD_STACK_SIZE=0x100000' 'CC=cc'
after install in python shell
import random
File "/usr/lib/python2.3/random.py", line 42, in ?
from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: /usr/lib/python2.3/lib-dynload/math.so: undefined symbol:
PyFPE_jbuf
as i found in google that this problem depends on arg '--with-fpectl=yes'
http://www.python.org/doc/2.4/lib/module-fpectl.html
after rebuild without this key i've got another problem with
enable-unicode=ucs4
python behaviour was as it was built with key enable-unicode=ucs2
>>> sys.maxunicode
65535
instead of
1114111
1 i cannot understand why args ignored via build?
2 can anyone tell me what args i have to use to build python 2.3.5 on
FreeBSD 5.3, supposed to use Zope2.8.8?
Sorry, english is not my native language.
--
Best Regards, Panov Sergey
More information about the freebsd-python
mailing list