Help with ./configure options

David Touster tousterd at
Tue Sep 28 22:08:59 GMT 1999

I have used Samba for a few years but I'm new to version 2.x.

I can't find any information documenting or explaining the options in the ./configure program except the limited
info in the help output.    "./configure --help"    (I searched the man pages, Docs, digest, FAQ, etc.)

Please define the use of the following options:  (or point me to the documentation)
 --build=BUILD           configure for building on BUILD [BUILD=HOST]
 --host=HOST             configure for HOST [guessed]

Can I enter any text for any of these?  Does Samba really use this info to determine what host it's running on
for networking issues, etc.?  After it's compiled, I will tar it up and install it on many servers.  All the
servers are Sun Sparc's running 2.6 of various types.  (ie: E250's-E4500's)  Any issues??  I have done for
versions previous to Samba 2.x without problems.


Secondly, please confirm the following:

As an end result, I wish to have Samba installed in   /opt/samba
All of it's directories and files will be under this base directory.

I'm using the following command string:    (Will the backslashes work as usual?)

./configure --prefix=/opt/samba --exec-prefix=/opt/samba \
  --build=ACECOMM  --with-privatedir=/opt/samba/private  \
  --with-lockdir=/opt/samba/var/locks                    \

Are the only options that I must change?  (therefore, the "make install" will use these locations?)


More information about the samba mailing list