Compile Differences

Greg J. Zartman, P.E. greg at
Fri Mar 16 00:25:44 GMT 2001


I've downloaded an update to the Samba 2.2 source a couple times not and
have been playing around with compiling and installing and am still getting
strange results.

For example, I specified the --libdir=/etc and the make routine compiles the
executables to look for the smb.conf file in /usr/local/samba/etc/samba
directory.  I even played around with setting the --with-fhs=no, and I
didn't get what I expected.

Should I be looking at using a different set of paths for samba.  It appears
to me like it is preferred to have everything in the /usr/local/samba
directory tree.

Thank you



----- Original Message -----
From: "Jeremy Allison" <jeremy at>
To: "Greg J. Zartman, P.E." <greg at>
Cc: "Samba News" <samba-ntdom at>
Sent: Thursday, March 15, 2001 3:29 PM
Subject: Re: Compile Differences

> On Thu, Mar 15, 2001 at 01:49:21PM -0800, Greg J. Zartman, P.E. wrote:
> > I posted a comment a little earlier today about an issue that I ran into
> > where the recent Samba2.2 CVS source was installing the samba
executables in
> > different directories that I was used to.
> >
> > After playing around with this a little, it appears that a CVS download
> > I have from Feb 26th, 2001 compiles and installs much differently than a
> > download from today (3/15/01).
> >
> > To compile, I have a very simple shell script with the command:
> >
./configure --bindir=/usr/bin --sbindir=/usr/sbin --with-smbmount --with-pri
> >
vatedir=/etc/private --libdir=/etc --localstatedir=/var/log --with-lockdir=/
> > var/lock/samba
> Yes, this was due to a --with-fhs patch that was applied.
> I've added more code and regenerated the ./configure
> script with autoconf in the CVS 2.2 tree. Try checking
> out again - should be fine now (it is here).
> Thanks for reporting the bug,
> Jeremy.
> --
> --------------------------------------------------------
> Buying an operating system without source is like buying
> a self-assembly Space Shuttle with no instructions.
> --------------------------------------------------------

More information about the samba-ntdom mailing list