Help with "configure" options (compile)

David Touster
1999-10-05T15:22:56Z

Still looking for some help, please........ I have not seen a reply in the
digest.

David Touster wrote:

> 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]
>  --target=TARGET
>
> 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                    \
>   --with-swatdir=/opt/samba/swat
>
> Are these the only options that I must change?  (therefore, the "make
install" will use these locations?)
>
> Thanks,
> David