[pypy-dev] PyPy under FreeBSD 7

Maciej Fijalkowski fijall at gmail.com
Fri Nov 21 10:22:31 CET 2008

There is no reasonable, reliable way of getting errno under different
operating systems. That's why we introduced per-system hack at the
very bottom of ll2ctypes that tries to get errno. Can you think about
a way to do it on FreeBSD? There is also nice, generic way to do it on
top of python2.6, if you're up to trying it on it, I can provide the
fix (it's not implemented yet).


On Fri, Nov 21, 2008 at 4:13 AM, Gabriel Lavoie <glavoie at gmail.com> wrote:
> Hello,
>      I'm trying to translate PyPy into pypy-c on FreeBSD 7.0 but at the
> beginning of the translation process I get the following error,
> NotImplementedError("don't know how to get the C-level errno!")
> from the file "pypy/rpython/lltypesystem/ll2ctypes.py". How can I solve this
> problem? It seems it's python-ctypes related. I'm using Python 2.5.3 (from
> ports tree) and when I tried to build the port "devel/py-ctypes", it told me
> that ctypes was provided with Python 2.5.x.
> Thanks!
> Gabriel
> --
> Gabriel Lavoie
> glavoie at gmail.com
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev

More information about the Pypy-dev mailing list