[MPlayer-users] Samba 4 and OpenJPEG 1.5 detection

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Aug 25 14:54:17 CEST 2013


On Sun, Aug 25, 2013 at 02:41:22PM +0200, Armin K. wrote:
> On 08/25/2013 02:29 PM, Reimar Döffinger wrote:
> > On Thu, Aug 15, 2013 at 02:34:31PM +0200, Armin K. wrote:
> >> See attached patch
> > 
> > It seems to me that just adding /usr/include/samba-4.0 to the include
> > path might be easier.
> > However I can't see how this can work/make any sense.
> > If samba 3 and samba 4 are supposed to be possible to install side by
> > side, it can't be right to link against the same library in both cases.
> > If they are not supposed to, why in all the world have they moved the
> > samba 4 includes to a different location? That seems like pointlessly
> > making the transition troublesome...
> 
> You can't install them side by side. Samba 4 provides everything Samba 3
> did, plus some more libraries and additions. It's just that headers
> moved to new location (Samba 3 provided only 3 or 4 headers) because it
> now provides dozens of them (plus new subdirs).

Do you see any chance of convincing them/the distros to install a
compatibility wrapper or some such to the headers that existed for samba 3?
I also realize that my idea of adding /usr/include/samba-4.0 to the
include path probably is a bad idea, since on some systems it might be
in /opt etc. instead.
Maybe it makes most sense to go with your solution, it just seems
like a bit more code that I would have liked.


More information about the MPlayer-users mailing list