lang/python32 build error when WITHOUT_UCS4 defined

Li-Wen Hsu lwhsu at FreeBSD.org
Sun Feb 27 14:47:40 UTC 2011


On Sun, Feb 27, 2011 at 15:15, Roman Bogorodskiy <novel at 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


More information about the freebsd-python mailing list