To build the binaries, first run the program ./configure in the source directory. This should automatically configure Samba for your operating system. If you have unusual needs, then you may wish to run root# ./configure --help first to see what special options you can enable. Now execute ./configure with any arguments it might need: root# ./configure [... arguments ...] Executing root# make will create the binaries. Once it is successfully compiled you can use root# make install to install the binaries and manual pages. You can separately install the binaries and/or man pages using root# make installbin and root# make installman Note that if you are upgrading from a previous version of Samba you might like to know that the old versions of the binaries will be renamed with an " .old " extension. You can go back to the previous version with root# make revert if you find this version a disaster! 35.4.1 Compiling Samba with Active Directory SupportIn order to compile Samba with ADS support, you need to have installed on your system:
If your kerberos libraries are in a non-standard location, then remember to add the configure option --with-krb5= DIR . After you run configure, make sure that include/config.h it generates contain lines like this: #define HAVE_KRB5 1 #define HAVE_LDAP 1 If it does not, configure did not find your KRB5 libraries or your LDAP libraries. Look in config.log to figure out why and fix it. 35.4.1.1 Installing the Required Packages for DebianOn Debian, you need to install the following packages:
35.4.1.2 Installing the Required Packages for Red Hat LinuxOn Red Hat Linux, this means you should have at least:
in addition to the standard development environment. If these files are not installed on your system, you should check the installation CDs to find which has them and install the files using your tool of choice. If in doubt about what tool to use, refer to the Red Hat Linux documentation. 35.4.1.3 SuSE Linux Package RequirementsSuSE Linux installs Heimdal packages that may be required to allow you to build binary packages. You should verify that the development libraries have been installed on your system. SuSE Linux Samba RPMs support Kerberos. Please refer to the documentation for your SuSE Linux system for information regading SuSE Linux specific configuration. Additionally, SuSE are very active in the maintenance of Samba packages that provide the maximum capabilities that are available. You should consider using SuSE provided packages where they are available. |