Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2011 22:24:01 +0800
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        Roman Bogorodskiy <novel@freebsd.org>
Cc:        freebsd-python@freebsd.org
Subject:   Re: lang/python32 build error when WITHOUT_UCS4 defined
Message-ID:  <AANLkTin5HnMqZ=xJL-jJ%2BvZSJcrWkLA2Yh8RVogWyheL@mail.gmail.com>
In-Reply-To: <20110227071507.GA1599@gl.novel.int>

index | next in thread | previous in thread | raw e-mail

On Sun, Feb 27, 2011 at 15:15, Roman Bogorodskiy <novel@freebsd.org> wrote:
> Hello,
>
> Tried to build fresh lang/python32 today and it fails when configured
> without UCS4 support:
>
> ===>  Building for python32-3.2.0_1
> 444" make libpython3.2mu.so python;  /bin/ln -f libpython3.2mu.so
> libpython3.2mu.so.1;  /bin/ln -f python python-shared3.2
> make: don't know how to make libpython3.2mu.so. Stop
> *** Error code 2
>
> Stop in /usr/home/novel/ports_stuff/python32.
> *** Error code 1
>
> It builds fine when omitting WITHOUT_UCS4 though.
>
> Tested on 8.2-PRERELEASE amd64.
>

This is because when WITHOUT_UCS4 is defined, the shared library name
will become "libpython3.2m.so"
Please refer to [1], which also be discussed recently.

I'm working on a patch for supporting these options.

[1] http://docs.python.org/py3k/whatsnew/3.2.html#pep-3149-abi-version-tagged-so-files

-- 
Li-Wen Hsu
http://lwhsu.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin5HnMqZ=xJL-jJ%2BvZSJcrWkLA2Yh8RVogWyheL>