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

Jelmer Vernooij jelmer at samba.org
Fri Jun 12 23:34:19 GMT 2009

On Fri, 2009-06-12 at 23:22 +0000, Timur I. Bakeyev wrote:
> 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.
The current behaviour doesn't break the systems of some users, it only
results in minor duplication in some situations. Your patch breaks the
systems of some users.

> 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?
Patches welcome :-) I do agree it would be nice to fix this, but it's
not high on my todo list.



Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090613/af3a8ab1/attachment.bin

More information about the samba-technical mailing list