samba4 error

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Thu Apr 9 16:58:10 UTC 2020


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
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


More information about the macports-users mailing list