Unpack the source distribution and change directory
to the unpacked sources. For example:

tar -zxf mnogosearch-3.3.8.tar.gz

cd mnogosearch-3.3.8

Configure the package

Note: To simplify the configuration process,
mnoGoSearch source
distribution includes an optional configuration
script install.pl.
You can run install.pl and
select mnoGoSearch configuration
options in the question-and-answer manner.
After you answer all the questions,
the script will run ./configure
with the options you chose. It will also create the
install.options file containing
your configuration preferences that you can use to run
the script later, bypassing questions.

If you decided to use install.pl,
go to the section 3 after configuration
is finished.

In case you prefer to
configure mnoGoSearch
in the traditional way
(without using install.pl),
do the following:

sh$ ./configure --with-mysql

or

sh$ ./configure --with-pgsql

or with another database on your choice,

or with multiple databases:

sh$ ./configure --with-mysql --with-pgsql --with-freetds

By default, mnoGoSearch is
installed into the /usr/local/mnogosearch
directory with the following subdirectories:

If you have no permission to write to that directory
or just want to install mnoGoSearch to
another location, you can use configure
with the --prefix option, for example:

./configure --prefix=/user/home/mnogo --with-mysql

To install mnoGoSearch with
HTTPS support use
configure with the following option:

./configure --with-openssl

or in case when the OpenSSL
library is installed in a non-standard location:

./configure --with-openssl=/path/to/library

Note: The OpenSSL
library is required to build
mnoGoSearch with
HTTPS support.

You can see all available options by typing
./configure --help

If you want to add some specific flags to the
C compiler
(for example, '-O7 -mpentium' to build a
highly optimized binary for Pentium™
processors if you use egcs or
pgcc), you can do so using

sh$ CFLAGS="-O7 -mpentium" ./configure

To enable the DMALLOC memory debugger
support for debugging purposes, use the --with-dmalloc.
Don't forget to set a proper value to the
DMALLOC_OPTION environment variable before
debugging
indexer or
search.cgi
(see the dmalloc manual for details).

The
euc-kr,
big5,
gb2312 and
shift-jis character sets are not
supported by default.
To build mnoGoSearch with
support for these charsets, use configure
with the --with-extra-charsets option.

To build mnoGoSearch with
support for all additional character sets, use:

./configure --with-extra-charsets=all

To build mnoGoSearch with
a single additional character set use:

./configure --with-extra-charsets=shift-jis

To build mnoGoSearch with
multiple additional character sets, use a comma separated
list of the character sets you want: