From owner-freebsd-python@FreeBSD.ORG Wed Dec 13 07:32:12 2006 Return-Path: X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B436416A407 for ; Wed, 13 Dec 2006 07:32:12 +0000 (UTC) (envelope-from spanovaleks@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55DF543C9D for ; Wed, 13 Dec 2006 07:30:44 +0000 (GMT) (envelope-from spanovaleks@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so85411wxc for ; Tue, 12 Dec 2006 23:32:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mgkxC2PhEX2lcKGc4eNoOx3UySx9xCZUMhW9gChaP+KPXKpuIveOI26IR6CIrvSdu7cFh1MRMh6Hh7cJ4/gibrdrFwvzrgVBt8OBaznlvMsF/ikIgBbP5OomZSmEnJZ9kK92TO6ZMQ5dWJUGV3Kq2ciaKrfYNUQWkWuiNQLd4n4= Received: by 10.90.90.3 with SMTP id n3mr284587agb.1165995130918; Tue, 12 Dec 2006 23:32:10 -0800 (PST) Received: by 10.90.54.6 with HTTP; Tue, 12 Dec 2006 23:32:10 -0800 (PST) Message-ID: <993ec9220612122332r5ba1acafh6db3a26fa465c6ed@mail.gmail.com> Date: Wed, 13 Dec 2006 12:32:10 +0500 From: "=?UTF-8?B?0KHQtdGA0LPQtdC5INCf0LDQvdC+0LI=?=" To: python-freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 07:32:12 -0000 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