Help with "configure" options (compile)
caught at prodigy.net
Tue Oct 5 21:53:00 GMT 1999
Specifically build host and target are for "cross compiling", which
is building a binary for a platform other then the platform you are
compiling on. IE: building samba for a sparc solaris machine from a intel
linux machine. Not something you'd want to do. You're compilers aren't
setup for this most likely. This would be building a binary for a
platform that cannot "host" the compilers (ie: embeded platforms).
Sorry for the off-topic, but i'm sure it's valuable to some.
On Wed, 6 Oct 1999, David Touster wrote:
> 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
More information about the samba