[PATCH] [FreeBSD 4] Make python bindings aware of external libs.

Timur I. Bakeyev timur at com.bat.ru
Fri Jun 12 23:22:01 GMT 2009

Hi, Jelmer!

On Tue, Jun 09, 2009 at 08:37:57PM +0200, Jelmer Vernooij wrote:
> Timur I. Bakeyev wrote:
> >
> > With current setup we get a bit of the problem - both external build
> > and local one create Python bindings for the named libraries and
> > install them into the same location. That, of course, breaks package
> > managers and not nice in general.
> >
> Having tdb or ldb installed doesn't imply having their python bindings
> installed as well, since we only build the python bindings if python was
> found. There should be a separate check to see if the system contains
> python bindings for either for these libraries and only skip building
> the python bindings locally if they were found in the system.

I do agree with that in general, but current behaviour makes more harm,
IMHO. Another (quick) option not to make any python bindings with
standalone installation.

On a longer term check for existence of the Python bindings is great,
next question is - who is going to make it :)? Are you going to? Or
shall it try?

With regards,
Timur Bakeyev.

More information about the samba-technical mailing list