LDAP C SDK: Difference between revisions

Line 104: Line 104:


  cd cyrus-sasl-2.1.22
  cd cyrus-sasl-2.1.22
  ./configure --enable-gssapi --without-des --without-openssl --without-saslauthd --disable-ldapdb --with-dblib=none --prefix=DIR --enable-shared --disable-static
  ./configure --enable-gssapi --without-des --without-openssl --without-saslauthd \
  --disable-ldapdb --with-dblib=none --prefix=DIR --enable-shared \
  --disable-static


:::where prefix option will vary to fit your own installation path. --with-plugindir=DIR option can be used if you do not plan to install SASL plug-ins at default location [/usr/lib/sasl2], otherwise SASL_PATH environment variable can be used by Cyrus SASL at runtime to determine the location of its plug-ins.
:::where prefix option will vary to fit your own installation path. --with-plugindir=DIR option can be used if you do not plan to install SASL plug-ins at default location [/usr/lib/sasl2], otherwise SASL_PATH environment variable can be used by Cyrus SASL at runtime to determine the location of its plug-ins.
Line 119: Line 121:
  cd mozilla/directory/c-sdk
  cd mozilla/directory/c-sdk
  ./configure ...other options above... --with-sasl-inc=DIR/include/sasl --with-sasl-lib=DIR/lib
  ./configure ...other options above... --with-sasl-inc=DIR/include/sasl --with-sasl-lib=DIR/lib
====Building Cyrus SASL on Windows====
[[LDAP_C_SDK_SASL_Windows]]


Note that since svrcore requires NSS, --with-svrcore implies --with-nss
Note that since svrcore requires NSS, --with-svrcore implies --with-nss
54

edits