[pypy-dev] [Fwd: Re: Building pypy from sources: partial build support ?]

David Cournapeau cournape at gmail.com
Fri Oct 16 17:51:43 CEST 2015


On Thu, Oct 15, 2015 at 6:35 PM, Matti Picus <matti.picus at gmail.com> wrote:

>
>
> On 15/10/15 20:18, Yury V. Zaytsev wrote:
>
>> -------- Forwarded Message --------
>> From: David Cournapeau <cournape at gmail.com>
>> To: Yury V. Zaytsev <yury at shurup.com>
>> Subject: Re: [pypy-dev] Building pypy from sources: partial build
>> support ?
>> Date: Thu, 15 Oct 2015 16:37:15 +0100
>>
>> Thank Yury.
>>
>>
>> It seems my error happens after that stage actually:
>> ...
>> /home/vagrant/src/tmp/pypy-2.6.1-src/pypy/goal/pypy-c successfully
>> built, but errors while building the above modules will be ignored
>>
>>
>> Is there any way for to fix my build environment and restart the build
>> without starting from scratch there ?
>>
>>
>> David
>>
>> David your translation (conversion of rpython to pypy-c) succeeded.
> What failed is a hack to build the cffi import libraries needed for some
> standard python stdlib support libraries. You can just ignore these and
> move on to testing your translated pypy.
> If you actually *need* those stdlib modules, you can rerun the python
> import scripts at any time as
> pypy-c lib_pypy/_*_build.py
> where the * is any of sqlite3, audioop, curses, gdbm, pwdgrp, or syslog.
> The script in pypy/tool/release/package.py will build or rebuild these
> import libraries and package everything up into a nice tarball, you can see
> its documentation via --help
>

Indeed, I could make it work with a bit more violence !

Thank you everybody for the help,

David

>
> Matti
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20151016/c0e2a9d4/attachment-0001.html>


More information about the pypy-dev mailing list