[bind10-dev] python & Gentoo Linux

Michal 'vorner' Vaner michal.vaner at nic.cz
Sat Apr 2 11:20:09 UTC 2011


Good morning

On Sat, Apr 02, 2011 at 10:41:46AM +0000, Francis Dupont wrote:
> # Check for python development environments
> if test -x ${PYTHON}-config; then
> 
> but I don't (yet) think it should be fixed, this report request is about:
>  - a better error message from configure
>  - a line in the documentation saying if the OS supports several
>   versions of python the default should likely be set to a >= 3.1

Actually, I believe we should make it just work on common distros, and gentoo is
one of them. Requesting that the default python interpreter is 3.1 is probably
too much to ask for.

Anyway, it might be the time for me to write an ebuild (both for git and the
releases).  That, of course, is not the solution for people compiling (or even
modifying) the code manually, so the above point is still valid.

I use gentoo and I solved it by putting this into environment:
PYTHON_INCLUDES="-I/usr/include/python3.1"
PYTHON_LDFLAGS="-lpthread -ldl -lutil -lm -lpython3.1"

(that's actually what I got from the python-config-3.1)

But just out of curiosity, how is building on gentoo going to help running it on
windows? Surely, even making it compile now on windows would be a heroic task,
so don't hesitate to ask for any help (it doesn't compile now, but the code
should be OS-independent in most of the places, so the porting would be
possible).

With regards

-- 
Einstein argued that there must be simplified explanations of nature, because
God is not capricious or arbitrary.  No such faith comforts the software
engineer.
                -- Fred Brooks

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110402/cfd7e7a3/attachment.bin>


More information about the bind10-dev mailing list