path settings in configure are ignored

Seip Christian cseip at sr-online.de
Thu Jul 27 10:04:56 GMT 2000


Hi!

I've got Samba 2.0.7 and did my configure like this:

------------------------- snip -------------------------

./configure \
  --prefix=/usr/local/samba \
  --exec-prefix=/usr/local/samba \
  --bindir=/usr/local/bin \
  --sbindir=/usr/local/sbin \
  --libexecdir=/usr/local/libexec \
  --datadir=/usr/local/samba/share \
  --sysconfdir=/etc/smb \
  --sharedstatedir=/usr/local/samba \
  --localstatedir=/var \
  --libdir=/usr/local/lib \
  --includedir=/usr/include \
  --oldincludedir=/usr/include \
  --infodir=/usr/local/samba/info \
  --mandir=/usr/local/man \
\
  --with-pam \
  --with-privatedir=/usr/local/samba/private \
  --with-lockdir=/var/lock/samba \
  --with-swatdir=/usr/local/samba/swat \
  --with-smbwrapper \
  --without-sambabook

------------------------- snip -------------------------

The Makefile looks like this:

------------------------- snip -------------------------

[...]
BASEDIR= /usr/local/samba
BINDIR = /usr/local/bin
# we don't use sbindir because we want full compatibility with
# the previous releases of Samba
SBINDIR = /usr/local/bin
LIBDIR = /usr/local/lib
VARDIR = /var
MANDIR = /usr/local/man
SAMBABOOK = 
[...]
CONFIGFILE = $(LIBDIR)/smb.conf
[...]

------------------------- snip -------------------------

configure ignores my setting for --sysconfdir=/etc/smb. I don't know how and
where to patch configure but it affects the code that produces the line
"CONFIGFILE = $(LIBDIR)/smb.conf" in the Makefile. Please somebody change it
to "CONFIGFILE = $(ETCDIR)/smb.conf", "CONFIGFILE = $(SYSCONFDIR)/smb.conf"
or something similar.

Thanks,

Christian





More information about the samba-technical mailing list