Re: samba4 error

2020-04-11 Thread rmgls
hello Ryan and Bill,

thanks for your reply.

reading Bill,  i think i will  only use smbd included on mac.

thanks.

Raoul MEGELAS
rm...@orange.fr


On Apr 9, 2020, at 11:20, rmgls wrote:

> samba4 does not build.

True. 7 years ago somebody already filed a bug report about a different problem 
building samba4:

https://trac.macports.org/ticket/38639

If anybody would like to work on fixing it, please do. Thus far, nobody has 
done so.



Re: samba4 error

2020-04-11 Thread Ryan Schmidt



On Apr 9, 2020, at 11:20, rmgls wrote:

> samba4 does not build.

True. 7 years ago somebody already filed a bug report about a different problem 
building samba4:

https://trac.macports.org/ticket/38639

If anybody would like to work on fixing it, please do. Thus far, nobody has 
done so.



Re: samba4 error

2020-04-09 Thread Bill Cole

On 9 Apr 2020, at 12:20, rmgls wrote:


Hello All,

samba4 does not build.
i join samba4error.tgz  to help debugging.

Please can you tell me what to do?



The critical error is:

Can't use 'defined(@array)' (Maybe you should just omit the defined()?) 
at ./pidl/pidl line 576.


This is a Perl error, an artifact of changes in modern versions of Perl 
(i.e. since 5.22.) The MacPorts port of Samba4 is quite old, and it is 
basically broken on all versions of MacOS: 
https://ports.macports.org/port/samba4/summary


Furthermore, the Samba project appears to have abandoned MacOS support 
(beyond an expressed willingness to accept patches to make it work,) 
since somewhere around 4.0. Since it has been years (and many security 
issues) since the port was updated and it appears that even the existing 
version of the port no longer builds on any supported system, it 
probably should be removed.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


samba4 error

2020-04-09 Thread rmgls
Hello All,

samba4 does not build.
i join samba4error.tgz  to help debugging.

Please can you tell me what to do?

Thanks in advance.



samba4error.tgz
Description: Binary data