Date: Wed, 13 Dec 2006 12:32:10 +0500 From: "=?UTF-8?B?0KHQtdGA0LPQtdC5INCf0LDQvdC+0LI=?=" <spanovaleks@gmail.com> To: python-freebsd <freebsd-python@freebsd.org> Subject: (no subject) Message-ID: <993ec9220612122332r5ba1acafh6db3a26fa465c6ed@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?993ec9220612122332r5ba1acafh6db3a26fa465c6ed>