[Samba] Samba 4.2.0 install failing with "Couldn't determine size of 'bool'

Thomas Schulz schulz at adi.com
Tue Mar 24 08:38:59 MDT 2015

> Hi!
> On Mon, Mar 23, 2015 at 02:25:45PM +0000, Briar Jim wrote:
> > Hi all. I'm trying to install Samba 4.2.0 on a Solaris 64 bit Unix
> > server by doing the following but the configure script fails with
> > "Couldn't determine size of 'bool'", any ideas ? :-
> Solaris 10? I just checked, it seems to work on Solaris 11.
> Any reason to build on Solaris 10 and not 11?
> -Ralph

I was just wondering what version of Solaris James is running. I am
running Solaris 10 on an i386 box and I get

Checking for header stdbool.h                                : yes 
Checking for bool                                            : ok 
Checking if size of bool == 1                                : ok 

This is with both the Solaris C compiler and the GNU C compiler.
There are a lot of problems building on Solaris 10, but this does not
seem to be one of them.

I keep running Solaris 10 because the machine is an important file server
and taking it down to to an upgrade would be a major problem. Right now I
can build Samba 4.2.0, so I do not have to upgrade now.

Tom Schulz
Applied Dynamics Intl.
schulz at adi.com

More information about the samba mailing list