Installing Dr.Web Samba VFS SpIDer from Source Codes

If you use some other versions of Samba or Samba for 64-bit operating system, you can compile Dr.Web Samba VFS SpIDer from source codes included into the drweb-smbspider-src distribution package. To do this, you also need source codes of your Samba (respective packages can be downloaded from Samba.org website (http://us1.samba.org/samba/ftp/old-versions/).

To compile Dr.Web Samba VFS SpIDer from source codes:

Install package with necessary source codes drweb-smbspider-src with the following command:

# drweb-file-servers_[version number]~[OS name]/drweb-smbspider-src.install.

After that, in the /usr/src/ directory the tar archive drweb-file-servers_[version number].src.tar.gz will appear.

Внимание!

You can use the now command-line option to install the component without confirmations. Please note that if you use this option, you automatically accept the Software License Agreement.

Text of the Software License Agreement is provided in English and Russian languages in the following files respectively LICENSE and LICENSE.ru.

Change the current directory to /usr/src/ and extract archive file with the following command:

# tar -xzvf drweb-smbspider-[version number].src.tar.gz

Change the current directory to drweb-smbspider-[version number].src and enter the following command:

# ./configure –with-samba-source=<dir_with_Samba_source_codes>

Внимание!

For successful execution of this command, m4 macro-processor, gcc compiler and make utility are required in the system.

In Solaris OS, it is required to use GNU m4 (i.e. gm4) insteand of the standard m4 macro-processor and the gcc compiler version 4.*.

When you compile Dr.Web Samba VFS SpIDer for operating with Samba 4, you should use the path <dir_with_Samba_source_codes>/source3.

Finish building of Dr.Web Samba VFS SpIDer and install it with the following commands:

# make
# make install