2.6. Downloading and Installing

The package can be downloaded from several places, including:

http://josefsson.org/gsasl/releases/

The latest version is stored in a file, e.g., gsasl-0.0.42.tar.gz where the 0.0.42 indicate the highest version number.

The package is then extracted, configured and built like many other packages that use Autoconf. For detailed information on configuring and building it, refer to the INSTALL file that is part of the distribution archive.

Here is an example terminal session that download, configure, build and install the package. You will need a few basic tools, such as sh, make and cc.

$ wget -q http://josefsson.org/gsasl/releases/gsasl-0.0.8.tar.gz
$ tar xfz gsasl-0.0.8.tar.gz
$ cd gsasl-0.0.8/
$ ./configure
...
$ make
...
$ make install
...

After that gsasl should be properly installed and ready for use.

A few configure options may be relevant, summarized in the table.

--disable-client, --disable-server

If your target system require a minimal implementation, you may wish to disable the client or the server part of the code. This do not remove symbols from the library, so if you attempt to call an application that uses server functions in a libgsasl built with --disable-server, the function will return an error code.

--disable-anonymous, --disable-external, --disable-plain, --disable-login, --disable-securid, --disable-ntlm, --disable-cram-md5, --disable-digest-md5, --disable-gssapi, --disable-kerberos_v5

Disable individual mechanisms (Chapter 5).

--without-stringprep

Disable internationalized string processing. Note that this will result in a SASL library that is only compatible with RFC 2222.

For the complete list, refer to the output from configure --help.