This section describes how to install groonga on Windows. You can install groogna by extracting a zip package or running an installer.
We distribute both 32-bit and 64-bit packages but we strongly recommend a 64-bit package for server. You should use a 32-bit package just only for tests or development. You will encounter an out of memory error with a 32-bit package even if you just process medium size data.
For 32-bit environment, download groonga-2.0.9-x86.exe and run it.
For 64-bit environment, download groonga-2.0.9-x64.exe and run it.
Use command prompt for groonga command installed in start menu.
For 32-bit environment, download groonga-2.0.9-x86.zip and extract it.
For 64-bit environment, download groonga-2.0.9-x64.zip and extract it.
groonga command is in bin folder.
First, you need to install required tools for building groonga on Windows. Here are required tools:
Download zipped source groonga-2.0.9.zip and extract it.
Start Visual Studio Command Prompt (2010) installed by Microsoft Visual Studio 2010 Express and move to the groonga's source folder:
> cd c:\Users\%USERNAME%\Downloads\groonga-2.0.9
Configure by cmake. The following commnad line is for 64-bit version. To build 32-bit version, use -G "Visual Studio 10" parameter instead:
groonga-2.0.9> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
Build by Visual C++ 2010 Express:
groonga-2.0.9> msbuild groonga.sln /p:Configuration=Release
Install by Visual C++ 2010 Express:
groonga-2.0.9> msbuild groonga.sln /p:Configuration=Release /t:Install
If you installed Visual Studio 2010, use can use devenv instead.
Build by Visual Studio 2010:
groonga-2.0.9> devenv groonga.sln /Build Release
Install by Visual Studio 2010:
groonga-2.0.9> devenv groonga.sln /Build Release /Project Install
After the above steps, groonga command is found in c:\groonga\bin\groonga.exe.