[Samba] 4.2.1 ./configure --sbindir & --bindir settings is different from binary?

Caesar Samsi caesarsamsi at mac.com
Mon May 4 19:40:33 MDT 2015


Hi,

 

I'm getting further in building Samba 4.2.1 . It's apparently not as simple
as sudo ./configure && make && make install.

 

At the moment it looks like make is ignoring some directory settings during
configuration.

 

I've run ./configure as follows:

 

sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--with-piddir=/var/run/samba --with-pammodulesdir=/lib/security 

--without-systemd --enable-fhs                        

--sbindir=/usr/sbin --bindir=/usr/bin --libdir=/usr/lib/x86_64-linux-gnu

--with-modulesdir=/usr/lib/x86_64-linux-gnu/samba

--with-lockdir=/var/run/samba --enable-gnutls

 

Note that --sbindir=/usr/bin

 

Which results in the following (the directory looks correct, as I specified
it):

 

Dynconfig[SBINDIR]: : '/usr/sbin'

 

However, when make is done building and I check the configuration using smbd
-b I get the following:

 

Paths:

    SBINDIR: /home/caesar/Downloads/samba-4.2.1/bin

 

How can I set the sbin (and the bin directory which also has the same
issue)?

 

Help, Thank you, Caesar.



More information about the samba mailing list