[Samba] Solaris 10 Configure failure
morgan at orst.edu
Tue Jun 7 15:24:03 UTC 2016
On Tue, 7 Jun 2016, Steve Fenn wrote:
> Currently running version 3.6.25 on a SPARC Solaris 10 64 bit server.
> Due to CVE-2016-2118 need to upgrade to version 4.2.11 / 4.3.8 / 4.4.2
> No Solaris package available.
> Configure script fails with “Couldn't determine size of 'bool'”
> Is it possible to install these versions on Solaris 10 and if so how?
I've been building newer versions of Samba on Solaris 10 SPARC for a while
now. Here are my build steps:
# Use gtar instead of Solaris tar (old example):
# gunzip -c archive/samba-3.6.25.tar.gz | gtar xvf -
# apply patches:
# change the log level of connect/disconnect
gpatch -p0 < ../archive/samba-connection-debug-level.patch
# syslog to LOCAL7 facility
gpatch -p0 < ../archive/samba-syslog-local7.patch
# use gnu99 standards
setenv CFLAGS -std=gnu99
# don't use utmp. we don't need AD DC support
./configure --prefix=/private/samba --without-utmp --without-ad-dc
Hope this helps!
More information about the samba