[MPlayer-users] Samba 4 and OpenJPEG 1.5 detection

Armin K. krejzi at email.com
Sun Aug 25 15:00:16 CEST 2013


On 08/25/2013 02:54 PM, Reimar Döffinger wrote:
> 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.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> 

I doubt anyone (distro) would install Samba 4 into /opt, especially
since it provides everything Samba 3 did.

Same applies for giflib, you have to use two includes to check for v4 or
v5. We're just lucky no code needs to be ported.

I doubt current instructions would work if Samba is installed in /opt,
unless you add in in include path.


More information about the MPlayer-users mailing list