Hi, I am new here. I just tried to build it Samba 4.20rc3 because I would like to use the "wspsearch" on macOS. (I also built it first on Debian 12.5, which worked fine.) However, ./configure aborts:> Checking for getrandom : not found > Checking for program 'pkg-config' : not found > Checking for GnuTLS >= 3.7.2 : not found > The configuration failed > (complete log in /Volumes/Data/Downloads/samba-4.20.0rc3/bin/config.log)I suspect that's a known issue (I guess "macOS is unsupported"). Does anyone on the list have a solution for making it build on macOS, though? I only need the wspsearch tool, maybe just for that? Regards, Thomas Tempelmann http://apps.tempel.org
?On 29/2/2024, 10:41 AM, "samba on behalf of Thomas Tempelmann via samba" <samba-bounces at lists.samba.org <mailto:samba-bounces at lists.samba.org> on behalf of samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote: Hi, I am new here. I just tried to build it Samba 4.20rc3 because I would like to use the "wspsearch" on macOS. (I also built it first on Debian 12.5, which worked fine.) However, ./configure aborts:> Checking for getrandom : not found > Checking for program 'pkg-config' : not found > Checking for GnuTLS >= 3.7.2 : not found > The configuration failed > (complete log in /Volumes/Data/Downloads/samba-4.20.0rc3/bin/config.log)I suspect that's a known issue (I guess "macOS is unsupported"). Does anyone on the list have a solution for making it build on macOS, though? I only need the wspsearch tool, maybe just for that? Regards, Thomas Tempelmann http://apps.tempel.org <http://apps.tempel.org> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba <https://lists.samba.org/mailman/options/samba> you have several issues 1. build tools missing 2. function calls missing. OSX is not linux You can fix both by using the right tools & build systems. Switch to using "brew/homebrew" to build the packages instead of directly downloading source & trying to fix up yourself. This will then use specific libraries and patches to build for the platform
On Thu, 2024-02-29 at 03:41 +0100, Thomas Tempelmann via samba wrote:> Hi, I am new here. > I just tried to build it Samba 4.20rc3 because I would like to use > the "wspsearch" on macOS. (I also built it first on Debian 12.5, > which worked fine.) > However, ./configure aborts: > > Checking for > > getrandom > > : not found Checking for program 'pkg- > > config' : not found > > Checking for GnuTLS >> > 3.7.2 : not > > found The configuration failed(complete log in > > /Volumes/Data/Downloads/samba-4.20.0rc3/bin/config.log) > > I suspect that's a known issue (I guess "macOS is unsupported"). > Does anyone on the list have a solution for making it build on macOS, > though? I only need the wspsearch tool, maybe just for that?Even for just wspsearch, we need the core crypto libs as the main client libraries are based on them. You will just need to build GnuTLS and it's dependencies first. That said, if you have GnuTLS, but not a recent enough version, do let us know what you have and perhaps something can be done. Sorry, Andrew Bartlett-- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead https://catalyst.net.nz/services/samba Catalyst.Net Ltd Proudly developing Samba for Catalyst.Net Ltd - a Catalyst IT group company Samba Development and Support: https://catalyst.net.nz/services/samba Catalyst IT - Expert Open Source Solutions
Reasonably Related Threads
- [Announce] Samba 4.20.0rc3 Available for Download
- [Announce] Samba 4.20.0rc3 Available for Download
- getrandom waits for a long time when /dev/random is insufficiently read from
- getrandom waits for a long time when /dev/random is insufficiently read from
- [Announce] Samba 4.20.0rc4 Available for Download