| 1 |
|
| 2 |
<!DOCTYPE html> |
| 3 |
|
| 4 |
|
| 5 |
<html lang="en" data-content_root="../" > |
| 6 |
|
| 7 |
<head> |
| 8 |
<meta charset="utf-8" /> |
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 10 |
|
| 11 |
<title>Others — Groonga v16.0.9 documentation</title> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<script data-cfasync="false"> |
| 16 |
document.documentElement.dataset.mode = localStorage.getItem("mode") || ""; |
| 17 |
document.documentElement.dataset.theme = localStorage.getItem("theme") || ""; |
| 18 |
</script> |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
<noscript> |
| 23 |
<style> |
| 24 |
.pst-js-only { display: none !important; } |
| 25 |
|
| 26 |
</style> |
| 27 |
</noscript> |
| 28 |
|
| 29 |
|
| 30 |
<link href="../_static/styles/theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 31 |
<link href="../_static/styles/pydata-sphinx-theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 32 |
|
| 33 |
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" /> |
| 34 |
|
| 35 |
|
| 36 |
<script defer src="../_static/scripts/fontawesome.js?digest=90905a2f556bf617f1a9"></script> |
| 37 |
|
| 38 |
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9" /> |
| 39 |
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9" /> |
| 40 |
|
| 41 |
<script src="../_static/documentation_options.js?v=2fcb8d4f"></script> |
| 42 |
<script src="../_static/doctools.js?v=fd6eb6e6"></script> |
| 43 |
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script> |
| 44 |
<script> |
| 45 |
window.dataLayer = window.dataLayer || []; |
| 46 |
function gtag(){ dataLayer.push(arguments); } |
| 47 |
gtag('consent', 'default', { |
| 48 |
'ad_storage': 'denied', |
| 49 |
'ad_user_data': 'denied', |
| 50 |
'ad_personalization': 'denied', |
| 51 |
'analytics_storage': 'denied' |
| 52 |
}); |
| 53 |
</script> |
| 54 |
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=G-MDK38RHNPW"></script> |
| 55 |
<script> |
| 56 |
window.dataLayer = window.dataLayer || []; |
| 57 |
function gtag(){dataLayer.push(arguments);} |
| 58 |
gtag('js', new Date()); |
| 59 |
gtag('config', 'G-MDK38RHNPW'); |
| 60 |
</script> |
| 61 |
<script>DOCUMENTATION_OPTIONS.pagename = 'install/others';</script> |
| 62 |
<script> |
| 63 |
DOCUMENTATION_OPTIONS.theme_version = '0.20.0'; |
| 64 |
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://groonga.org/docs/_static/switcher.json'; |
| 65 |
DOCUMENTATION_OPTIONS.theme_switcher_version_match = 'english'; |
| 66 |
DOCUMENTATION_OPTIONS.show_version_warning_banner = |
| 67 |
false; |
| 68 |
</script> |
| 69 |
<script>DOCUMENTATION_OPTIONS.search_as_you_type = false;</script> |
| 70 |
<link rel="icon" href="../_static/favicon.ico"/> |
| 71 |
<link rel="index" title="Index" href="../genindex.html" /> |
| 72 |
<link rel="search" title="Search" href="../search.html" /> |
| 73 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 74 |
<meta name="docsearch:language" content="en"/> |
| 75 |
<meta name="docsearch:version" content="16.0.9" /> |
| 76 |
|
| 77 |
|
| 78 |
<script src="../_static/searchtools.js"></script> |
| 79 |
<script src="../_static/language_data.js"></script> |
| 80 |
<script src="../searchindex.js"></script> |
| 81 |
|
| 82 |
</head> |
| 83 |
<body data-default-mode=""> |
| 84 |
|
| 85 |
|
| 86 |
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div> |
| 87 |
|
| 88 |
|
| 89 |
<div id="pst-scroll-pixel-helper"></div> |
| 90 |
|
| 91 |
<button type="button" class="btn rounded-pill" id="pst-back-to-top"> |
| 92 |
<i class="fa-solid fa-arrow-up"></i>Back to top</button> |
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
<dialog id="pst-search-dialog"> |
| 98 |
|
| 99 |
<form class="bd-search d-flex align-items-center" |
| 100 |
action="../search.html" |
| 101 |
method="get"> |
| 102 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 103 |
<input type="search" |
| 104 |
class="form-control" |
| 105 |
name="q" |
| 106 |
placeholder="Search the docs ..." |
| 107 |
aria-label="Search the docs ..." |
| 108 |
autocomplete="off" |
| 109 |
autocorrect="off" |
| 110 |
autocapitalize="off" |
| 111 |
spellcheck="false"/> |
| 112 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> |
| 113 |
</form> |
| 114 |
</dialog> |
| 115 |
|
| 116 |
<div class="pst-async-banner-revealer d-none"> |
| 117 |
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside> |
| 118 |
</div> |
| 119 |
|
| 120 |
|
| 121 |
<header id="pst-header" class="bd-header navbar navbar-expand-lg bd-navbar d-print-none"> |
| 122 |
<div class="bd-header__inner bd-page-width"> |
| 123 |
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation"> |
| 124 |
<span class="fa-solid fa-bars"></span> |
| 125 |
</button> |
| 126 |
|
| 127 |
|
| 128 |
<div class="col-lg-3 navbar-header-items__start"> |
| 129 |
|
| 130 |
<div class="navbar-item"> |
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
<a class="navbar-brand logo" href="https://groonga.org/"> |
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
<img src="../_static/groonga.png" class="logo__image only-light" alt="Groonga v16.0.9 documentation - Home"/> |
| 148 |
<img src="../_static/groonga.png" class="logo__image only-dark pst-js-only" alt="Groonga v16.0.9 documentation - Home"/> |
| 149 |
|
| 150 |
|
| 151 |
</a></div> |
| 152 |
|
| 153 |
</div> |
| 154 |
|
| 155 |
<div class="col-lg-9 navbar-header-items"> |
| 156 |
|
| 157 |
|
| 158 |
<div class="navbar-header-items__end"> |
| 159 |
|
| 160 |
<div class="navbar-item navbar-persistent--container"> |
| 161 |
|
| 162 |
|
| 163 |
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 164 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 165 |
<span class="search-button__default-text">Search</span> |
| 166 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 167 |
</button> |
| 168 |
</div> |
| 169 |
|
| 170 |
|
| 171 |
<div class="navbar-item"> |
| 172 |
|
| 173 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 174 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 175 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 176 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 177 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 178 |
</button> |
| 179 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 180 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li> |
| 181 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li> |
| 182 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li> |
| 183 |
</ul> |
| 184 |
</div></div> |
| 185 |
|
| 186 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 187 |
aria-label="Icon Links"> |
| 188 |
<li class="nav-item"> |
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
<a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a> |
| 198 |
</li> |
| 199 |
<li class="nav-item"> |
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
<a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a> |
| 209 |
</li> |
| 210 |
<li class="nav-item"> |
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
<a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a> |
| 220 |
</li> |
| 221 |
</ul></div> |
| 222 |
|
| 223 |
<div class="navbar-item"> |
| 224 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 225 |
<button id="pst-version-switcher-button-2" |
| 226 |
type="button" |
| 227 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 228 |
data-bs-toggle="dropdown" |
| 229 |
aria-haspopup="listbox" |
| 230 |
aria-controls="pst-version-switcher-list-2" |
| 231 |
aria-label="Version switcher list" |
| 232 |
> |
| 233 |
Choose version |
| 234 |
<span class="caret"></span> |
| 235 |
</button> |
| 236 |
<div id="pst-version-switcher-list-2" |
| 237 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 238 |
role="listbox" aria-labelledby="pst-version-switcher-button-2"> |
| 239 |
|
| 240 |
</div> |
| 241 |
</div></div> |
| 242 |
|
| 243 |
</div> |
| 244 |
|
| 245 |
</div> |
| 246 |
|
| 247 |
|
| 248 |
<div class="navbar-persistent--mobile"> |
| 249 |
|
| 250 |
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 251 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 252 |
<span class="search-button__default-text">Search</span> |
| 253 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 254 |
</button> |
| 255 |
</div> |
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page"> |
| 260 |
<span class="fa-solid fa-outdent"></span> |
| 261 |
</button> |
| 262 |
|
| 263 |
</div> |
| 264 |
|
| 265 |
</header> |
| 266 |
|
| 267 |
|
| 268 |
<div class="bd-container"> |
| 269 |
<div class="bd-container__inner bd-page-width"> |
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
<dialog id="pst-primary-sidebar-modal"></dialog> |
| 276 |
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar hide-on-wide"> |
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
<div class="sidebar-header-items sidebar-primary__section"> |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
<div class="sidebar-header-items__end"> |
| 286 |
|
| 287 |
<div class="navbar-item"> |
| 288 |
|
| 289 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 290 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 291 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 292 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 293 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 294 |
</button> |
| 295 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 296 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li> |
| 297 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li> |
| 298 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li> |
| 299 |
</ul> |
| 300 |
</div></div> |
| 301 |
|
| 302 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 303 |
aria-label="Icon Links"> |
| 304 |
<li class="nav-item"> |
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
<a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a> |
| 314 |
</li> |
| 315 |
<li class="nav-item"> |
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
<a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a> |
| 325 |
</li> |
| 326 |
<li class="nav-item"> |
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
<a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a> |
| 336 |
</li> |
| 337 |
</ul></div> |
| 338 |
|
| 339 |
<div class="navbar-item"> |
| 340 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 341 |
<button id="pst-version-switcher-button-3" |
| 342 |
type="button" |
| 343 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 344 |
data-bs-toggle="dropdown" |
| 345 |
aria-haspopup="listbox" |
| 346 |
aria-controls="pst-version-switcher-list-3" |
| 347 |
aria-label="Version switcher list" |
| 348 |
> |
| 349 |
Choose version |
| 350 |
<span class="caret"></span> |
| 351 |
</button> |
| 352 |
<div id="pst-version-switcher-list-3" |
| 353 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 354 |
role="listbox" aria-labelledby="pst-version-switcher-button-3"> |
| 355 |
|
| 356 |
</div> |
| 357 |
</div></div> |
| 358 |
|
| 359 |
</div> |
| 360 |
|
| 361 |
</div> |
| 362 |
|
| 363 |
|
| 364 |
<div class="sidebar-primary-items__end sidebar-primary__section"> |
| 365 |
<div class="sidebar-primary-item"> |
| 366 |
<div id="ethical-ad-placement" |
| 367 |
class="flat" |
| 368 |
data-ea-publisher="readthedocs" |
| 369 |
data-ea-type="readthedocs-sidebar" |
| 370 |
data-ea-manual="true"> |
| 371 |
</div></div> |
| 372 |
</div> |
| 373 |
|
| 374 |
|
| 375 |
</div> |
| 376 |
|
| 377 |
<main id="main-content" class="bd-main" role="main"> |
| 378 |
|
| 379 |
|
| 380 |
<div class="bd-content"> |
| 381 |
<div class="bd-article-container"> |
| 382 |
|
| 383 |
<div class="bd-header-article d-print-none"> |
| 384 |
<div class="header-article-items header-article__inner"> |
| 385 |
|
| 386 |
<div class="header-article-items__start"> |
| 387 |
|
| 388 |
<div class="header-article-item"> |
| 389 |
|
| 390 |
<nav aria-label="Breadcrumb" class="d-print-none"> |
| 391 |
<ul class="bd-breadcrumbs"> |
| 392 |
|
| 393 |
<li class="breadcrumb-item breadcrumb-home"> |
| 394 |
<a href="../index.html" class="nav-link" aria-label="Home"> |
| 395 |
<i class="fa-solid fa-home"></i> |
| 396 |
</a> |
| 397 |
</li> |
| 398 |
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis">Others</span></li> |
| 399 |
</ul> |
| 400 |
</nav> |
| 401 |
</div> |
| 402 |
|
| 403 |
</div> |
| 404 |
|
| 405 |
|
| 406 |
</div> |
| 407 |
</div> |
| 408 |
|
| 409 |
|
| 410 |
|
| 411 |
|
| 412 |
<div id="searchbox"></div> |
| 413 |
<article class="bd-article"> |
| 414 |
|
| 415 |
<div class="admonition warning"> |
| 416 |
<p class="admonition-title">Warning</p> |
| 417 |
<p>Building with GNU Autotools is deprecated, you should build with CMake: <a class="reference internal" href="cmake.html"><span class="doc">Others: Build with CMake</span></a></p> |
| 418 |
</div> |
| 419 |
<section id="others"> |
| 420 |
<h1>Others<a class="headerlink" href="#others" title="Link to this heading">#</a></h1> |
| 421 |
<p>This section describes how to install Groonga from source on UNIX like |
| 422 |
environment.</p> |
| 423 |
<p>To get more detail about installing Groonga from source on the |
| 424 |
specific environment, find the document for the specific environment |
| 425 |
from <a class="reference internal" href="../install.html"><span class="doc">Install</span></a>.</p> |
| 426 |
<section id="dependencies"> |
| 427 |
<h2>Dependencies<a class="headerlink" href="#dependencies" title="Link to this heading">#</a></h2> |
| 428 |
<p>Groonga doesn’t require any special libraries but requires some tools |
| 429 |
for build.</p> |
| 430 |
<section id="tools"> |
| 431 |
<h3>Tools<a class="headerlink" href="#tools" title="Link to this heading">#</a></h3> |
| 432 |
<p>Here are required tools:</p> |
| 433 |
<blockquote> |
| 434 |
<div><ul class="simple"> |
| 435 |
<li><p><code class="docutils literal notranslate"><span class="pre">wget</span></code>, <code class="docutils literal notranslate"><span class="pre">curl</span></code> or Web browser for downloading source archive</p></li> |
| 436 |
<li><p><code class="docutils literal notranslate"><span class="pre">tar</span></code> and <code class="docutils literal notranslate"><span class="pre">gzip</span></code> for extracting source archive</p></li> |
| 437 |
<li><p>shell |
| 438 |
(many shells such as <code class="docutils literal notranslate"><span class="pre">dash</span></code>, <code class="docutils literal notranslate"><span class="pre">bash</span></code> and <code class="docutils literal notranslate"><span class="pre">zsh</span></code> will work)</p></li> |
| 439 |
<li><p>C compiler and C++ compiler |
| 440 |
(<code class="docutils literal notranslate"><span class="pre">gcc</span></code> and <code class="docutils literal notranslate"><span class="pre">g++</span></code> are supported but other compilers may work)</p></li> |
| 441 |
<li><p><code class="docutils literal notranslate"><span class="pre">make</span></code> (GNU make is supported but other make like BSD make will work)</p></li> |
| 442 |
</ul> |
| 443 |
</div></blockquote> |
| 444 |
<p>You must get them ready.</p> |
| 445 |
<p>You can use <a class="reference external" href="http://www.cmake.org/">CMake</a> instead of shell but this |
| 446 |
document doesn’t describe about building with CMake.</p> |
| 447 |
<p>Here are optional tools:</p> |
| 448 |
<blockquote> |
| 449 |
<div><ul class="simple"> |
| 450 |
<li><p><a class="reference external" href="http://www.freedesktop.org/wiki/Software/pkg-config">pkg-config</a> for |
| 451 |
detecting libraries</p></li> |
| 452 |
<li><p><a class="reference external" href="http://www.gratisoft.us/sudo/">sudo</a> for installing built |
| 453 |
Groonga</p></li> |
| 454 |
</ul> |
| 455 |
</div></blockquote> |
| 456 |
<p>You must get them ready if you want to use optional libraries.</p> |
| 457 |
</section> |
| 458 |
<section id="libraries"> |
| 459 |
<h3>Libraries<a class="headerlink" href="#libraries" title="Link to this heading">#</a></h3> |
| 460 |
<p>All libraries are optional. Here are optional libraries:</p> |
| 461 |
<blockquote> |
| 462 |
<div><ul class="simple"> |
| 463 |
<li><p><a class="reference external" href="https://taku910.github.io/mecab/">MeCab</a> for tokenizing full-text |
| 464 |
search target document by morphological analysis</p></li> |
| 465 |
<li><p><a class="reference external" href="http://www.phontron.com/kytea/">KyTea</a> for tokenizing full-text |
| 466 |
search target document by morphological analysis</p></li> |
| 467 |
<li><p><a class="reference external" href="http://www.zeromq.org/">ZeroMQ</a> for <a class="reference internal" href="../reference/suggest.html"><span class="doc">Suggest</span></a></p></li> |
| 468 |
<li><p><a class="reference external" href="http://libevent.org/">libevent</a> for <a class="reference internal" href="../reference/suggest.html"><span class="doc">Suggest</span></a></p></li> |
| 469 |
<li><p><a class="reference external" href="http://msgpack.org/">MessagePack</a> for supporting MessagePack |
| 470 |
output and <a class="reference internal" href="../reference/suggest.html"><span class="doc">Suggest</span></a></p></li> |
| 471 |
<li><p><a class="reference external" href="http://www.thrysoee.dk/editline/">libedit</a> for command line |
| 472 |
editing in <a class="reference internal" href="../reference/executables/groonga.html"><span class="doc">groonga executable file</span></a></p></li> |
| 473 |
<li><p><a class="reference external" href="http://zlib.net/">zlib</a> for compressing column value</p></li> |
| 474 |
<li><p><a class="reference external" href="https://lz4.github.io/lz4/">LZ4</a> for compressing |
| 475 |
column value</p></li> |
| 476 |
<li><p><a class="reference external" href="https://facebook.github.io/zstd/">Zstandard</a> for compressing |
| 477 |
column value</p></li> |
| 478 |
</ul> |
| 479 |
</div></blockquote> |
| 480 |
<p>If you want to use those all or some libraries, you need to install |
| 481 |
them before installing Groonga.</p> |
| 482 |
</section> |
| 483 |
</section> |
| 484 |
<section id="build-from-source"> |
| 485 |
<h2>Build from source<a class="headerlink" href="#build-from-source" title="Link to this heading">#</a></h2> |
| 486 |
<p>Groonga uses GNU build system. So the following is the simplest build |
| 487 |
steps:</p> |
| 488 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">wget</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">packages</span><span class="o">.</span><span class="n">groonga</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">source</span><span class="o">/</span><span class="n">groonga</span><span class="o">/</span><span class="n">groonga</span><span class="o">-</span><span class="n">latest</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span> |
| 489 |
<span class="o">%</span> <span class="n">tar</span> <span class="n">xvf</span> <span class="n">groonga</span><span class="o">-</span><span class="n">latest</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">gz</span> |
| 490 |
<span class="o">%</span> <span class="n">cd</span> <span class="n">groonga</span><span class="o">-*</span> |
| 491 |
<span class="o">%</span> <span class="o">./</span><span class="n">configure</span> |
| 492 |
<span class="o">%</span> <span class="n">make</span> |
| 493 |
<span class="o">%</span> <span class="n">sudo</span> <span class="n">make</span> <span class="n">install</span> |
| 494 |
</pre></div> |
| 495 |
</div> |
| 496 |
<p>After the above steps, <a class="reference internal" href="../reference/executables/groonga.html"><span class="doc">groonga executable file</span></a> is found in |
| 497 |
<code class="docutils literal notranslate"><span class="pre">/usr/local/bin/groonga</span></code>.</p> |
| 498 |
<p>The default build will work well but you can customize Groonga at |
| 499 |
<code class="docutils literal notranslate"><span class="pre">configure</span></code> step.</p> |
| 500 |
<p>The following describes details about each step.</p> |
| 501 |
<section id="configure"> |
| 502 |
<span id="source-configure"></span><h3><code class="docutils literal notranslate"><span class="pre">configure</span></code><a class="headerlink" href="#configure" title="Link to this heading">#</a></h3> |
| 503 |
<p>First, you need to run <code class="docutils literal notranslate"><span class="pre">configure</span></code>. Here are important <code class="docutils literal notranslate"><span class="pre">configure</span></code> |
| 504 |
options:</p> |
| 505 |
<section id="prefix-path"> |
| 506 |
<h4><code class="docutils literal notranslate"><span class="pre">--prefix=PATH</span></code><a class="headerlink" href="#prefix-path" title="Link to this heading">#</a></h4> |
| 507 |
<p>Specifies the install base directory. Groonga related files are |
| 508 |
installed under <code class="docutils literal notranslate"><span class="pre">${PATH}/</span></code> directory.</p> |
| 509 |
<p>The default is <code class="docutils literal notranslate"><span class="pre">/usr/local</span></code>. In this case, <a class="reference internal" href="../reference/executables/groonga.html"><span class="doc">groonga executable file</span></a> is |
| 510 |
installed into <code class="docutils literal notranslate"><span class="pre">/usr/local/bin/groonga</span></code>.</p> |
| 511 |
<p>Here is an example that installs Groonga into <code class="docutils literal notranslate"><span class="pre">~/local</span></code> for an user |
| 512 |
use instead of system wide use:</p> |
| 513 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>% ./configure --prefix=$HOME/local |
| 514 |
</pre></div> |
| 515 |
</div> |
| 516 |
</section> |
| 517 |
<section id="localstatedir-path"> |
| 518 |
<h4><code class="docutils literal notranslate"><span class="pre">--localstatedir=PATH</span></code><a class="headerlink" href="#localstatedir-path" title="Link to this heading">#</a></h4> |
| 519 |
<p>Specifies the base directory to place modifiable file such as log |
| 520 |
file, PID file and database files. For example, log file is placed at |
| 521 |
<code class="docutils literal notranslate"><span class="pre">${PATH}/log/groonga.log</span></code>.</p> |
| 522 |
<p>The default is <code class="docutils literal notranslate"><span class="pre">/usr/local/var</span></code>.</p> |
| 523 |
<p>Here is an example that system wide <code class="docutils literal notranslate"><span class="pre">/var</span></code> is used for modifiable |
| 524 |
files:</p> |
| 525 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="n">localstatedir</span><span class="o">=/</span><span class="n">var</span> |
| 526 |
</pre></div> |
| 527 |
</div> |
| 528 |
</section> |
| 529 |
<section id="with-log-path-path"> |
| 530 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-log-path=PATH</span></code><a class="headerlink" href="#with-log-path-path" title="Link to this heading">#</a></h4> |
| 531 |
<p>Specifies the default log file path. You can override the default log |
| 532 |
path is <a class="reference internal" href="../reference/executables/groonga.html"><span class="doc">groonga executable file</span></a> command’s <code class="docutils literal notranslate"><span class="pre">--log-path</span></code> |
| 533 |
command line option. So this option is not critical build option. It’s |
| 534 |
just for convenient.</p> |
| 535 |
<p>The default is <code class="docutils literal notranslate"><span class="pre">/usr/local/var/log/groonga.log</span></code>. The |
| 536 |
<code class="docutils literal notranslate"><span class="pre">/usr/local/var</span></code> part is changed by <code class="docutils literal notranslate"><span class="pre">--localstatedir</span></code> option.</p> |
| 537 |
<p>Here is an example that log file is placed into shared NFS directory |
| 538 |
<code class="docutils literal notranslate"><span class="pre">/nfs/log/groonga.log</span></code>:</p> |
| 539 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">log</span><span class="o">-</span><span class="n">path</span><span class="o">=/</span><span class="n">nfs</span><span class="o">/</span><span class="n">log</span><span class="o">/</span><span class="n">groonga</span><span class="o">.</span><span class="n">log</span> |
| 540 |
</pre></div> |
| 541 |
</div> |
| 542 |
</section> |
| 543 |
<section id="with-default-encoding-encoding"> |
| 544 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-default-encoding=ENCODING</span></code><a class="headerlink" href="#with-default-encoding-encoding" title="Link to this heading">#</a></h4> |
| 545 |
<p>Specifies the default encoding. Available encodings are <code class="docutils literal notranslate"><span class="pre">euc_jp</span></code>, |
| 546 |
<code class="docutils literal notranslate"><span class="pre">sjis</span></code>, <code class="docutils literal notranslate"><span class="pre">utf8</span></code>, <code class="docutils literal notranslate"><span class="pre">latin1</span></code>, <code class="docutils literal notranslate"><span class="pre">koi8r</span></code> and <code class="docutils literal notranslate"><span class="pre">none</span></code>.</p> |
| 547 |
<p>The default is <code class="docutils literal notranslate"><span class="pre">utf8</span></code>.</p> |
| 548 |
<p>Here is an example that Shift_JIS is used as the default encoding:</p> |
| 549 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">default</span><span class="o">-</span><span class="n">encoding</span><span class="o">=</span><span class="n">sjis</span> |
| 550 |
</pre></div> |
| 551 |
</div> |
| 552 |
</section> |
| 553 |
<section id="with-match-escalation-threshold-number"> |
| 554 |
<span id="install-configure-with-match-escalation-threshold"></span><h4><code class="docutils literal notranslate"><span class="pre">--with-match-escalation-threshold=NUMBER</span></code><a class="headerlink" href="#with-match-escalation-threshold-number" title="Link to this heading">#</a></h4> |
| 555 |
<p>Specifies the default match escalation threshold. See |
| 556 |
<a class="reference internal" href="../reference/commands/select.html#select-match-escalation-threshold"><span class="std std-ref">match_escalation_threshold</span></a> about match |
| 557 |
escalation threshold. -1 means that match operation never escalate.</p> |
| 558 |
<p>The default is 0.</p> |
| 559 |
<p>Here is an example that match escalation isn’t used by default:</p> |
| 560 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">match</span><span class="o">-</span><span class="n">escalation</span><span class="o">-</span><span class="n">threshold</span><span class="o">=-</span><span class="mi">1</span> |
| 561 |
</pre></div> |
| 562 |
</div> |
| 563 |
</section> |
| 564 |
<section id="with-zlib"> |
| 565 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-zlib</span></code><a class="headerlink" href="#with-zlib" title="Link to this heading">#</a></h4> |
| 566 |
<p>Enables column value compression by zlib.</p> |
| 567 |
<p>The default is disabled.</p> |
| 568 |
<p>Here is an example that enables column value compression by zlib:</p> |
| 569 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">zlib</span> |
| 570 |
</pre></div> |
| 571 |
</div> |
| 572 |
</section> |
| 573 |
<section id="with-lz4"> |
| 574 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-lz4</span></code><a class="headerlink" href="#with-lz4" title="Link to this heading">#</a></h4> |
| 575 |
<p>Enables column value compression by LZ4.</p> |
| 576 |
<p>The default is disabled.</p> |
| 577 |
<p>Here is an example that enables column value compression by LZ4:</p> |
| 578 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">lz4</span> |
| 579 |
</pre></div> |
| 580 |
</div> |
| 581 |
</section> |
| 582 |
<section id="with-message-pack-message-pack-install-prefix"> |
| 583 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-message-pack=MESSAGE_PACK_INSTALL_PREFIX</span></code><a class="headerlink" href="#with-message-pack-message-pack-install-prefix" title="Link to this heading">#</a></h4> |
| 584 |
<p>Specifies where MessagePack is installed. If MessagePack isn’t |
| 585 |
installed with <code class="docutils literal notranslate"><span class="pre">--prefix=/usr</span></code>, you need to specify this option with |
| 586 |
path that you use for building MessagePack.</p> |
| 587 |
<p>If you installed MessagePack with <code class="docutils literal notranslate"><span class="pre">--prefix=$HOME/local</span></code> option, you |
| 588 |
should specify <code class="docutils literal notranslate"><span class="pre">--with-message-pack=$HOME/local</span></code> to Groonga’s |
| 589 |
<code class="docutils literal notranslate"><span class="pre">configure</span></code>.</p> |
| 590 |
<p>The default is <code class="docutils literal notranslate"><span class="pre">/usr</span></code>.</p> |
| 591 |
<p>Here is an example that uses MessagePack built with |
| 592 |
<code class="docutils literal notranslate"><span class="pre">--prefix=$HOME/local</span></code> option:</p> |
| 593 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>% ./configure --with-message-pack=$HOME/local |
| 594 |
</pre></div> |
| 595 |
</div> |
| 596 |
</section> |
| 597 |
<section id="with-munin-plugins"> |
| 598 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-munin-plugins</span></code><a class="headerlink" href="#with-munin-plugins" title="Link to this heading">#</a></h4> |
| 599 |
<p>Installs Munin plugins for Groonga. They are installed into |
| 600 |
<code class="docutils literal notranslate"><span class="pre">${PREFIX}/share/groonga/munin/plugins/</span></code>.</p> |
| 601 |
<p>Those plugins are not installed by default.</p> |
| 602 |
<p>Here is an example that installs Munin plugins for Groonga:</p> |
| 603 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">munin</span><span class="o">-</span><span class="n">plugins</span> |
| 604 |
</pre></div> |
| 605 |
</div> |
| 606 |
</section> |
| 607 |
<section id="with-package-platform-platform"> |
| 608 |
<h4><code class="docutils literal notranslate"><span class="pre">--with-package-platform=PLATFORM</span></code><a class="headerlink" href="#with-package-platform-platform" title="Link to this heading">#</a></h4> |
| 609 |
<p>Installs platform specific system management files such as init script. |
| 610 |
Only Red Hat and Red Hat clone distributions such as AlmaLinux are supported.</p> |
| 611 |
<p>Those system management files are not installed by default.</p> |
| 612 |
<p>Here is an example that installs Red Hat or Red Hat clone distributions specific system management files:</p> |
| 613 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="o">./</span><span class="n">configure</span> <span class="o">--</span><span class="k">with</span><span class="o">-</span><span class="n">package</span><span class="o">-</span><span class="n">platform</span><span class="o">=</span><span class="n">rhel</span> |
| 614 |
</pre></div> |
| 615 |
</div> |
| 616 |
</section> |
| 617 |
<section id="help"> |
| 618 |
<h4><code class="docutils literal notranslate"><span class="pre">--help</span></code><a class="headerlink" href="#help" title="Link to this heading">#</a></h4> |
| 619 |
<p>Shows all <code class="docutils literal notranslate"><span class="pre">configure</span></code> options.</p> |
| 620 |
</section> |
| 621 |
<section id="enable-apache-arrow-and-disable-apache-arrow"> |
| 622 |
<h4><code class="docutils literal notranslate"><span class="pre">--enable-apache-arrow</span></code> and <code class="docutils literal notranslate"><span class="pre">--disable-apache-arrow</span></code><a class="headerlink" href="#enable-apache-arrow-and-disable-apache-arrow" title="Link to this heading">#</a></h4> |
| 623 |
<p>Enables or disables Apache Arrow support.</p> |
| 624 |
<p>In addition to using Apache Arrow IPC streaming format output, you can also use |
| 625 |
multithreading processing that is used in <a class="reference internal" href="../reference/commands/select.html#select-n-workers"><span class="std std-ref">n_workers</span></a> and |
| 626 |
<a class="reference internal" href="../reference/functions/query_parallel_or.html"><span class="doc">query_parallel_or</span></a> with the Apache Arrow support.</p> |
| 627 |
<p>In case of not specifing <code class="docutils literal notranslate"><span class="pre">--enable-apache-arrow</span></code> nor <code class="docutils literal notranslate"><span class="pre">--disable-apache-arrow</span></code>, the Apache Arrow support is enabled if Apache Arrow |
| 628 |
is installed on the system, otherwise disabled. This default behaviour is same as to specify <code class="docutils literal notranslate"><span class="pre">--enable-apache-arrow=auto</span></code>.</p> |
| 629 |
<p>When you specify <code class="docutils literal notranslate"><span class="pre">--enable-apache-arrow</span></code> explicitly, you must install Apache |
| 630 |
Arrow on the system beforehand.</p> |
| 631 |
<p>You can install Apache Arrow following to <a class="reference external" href="https://arrow.apache.org/install/">the official installation procedure</a>. |
| 632 |
Groonga requires <code class="docutils literal notranslate"><span class="pre">libarrow-dev</span></code> on a Debian based system or <code class="docutils literal notranslate"><span class="pre">arrow-devel</span></code> on a Red Hat Enterprise Linux based system.</p> |
| 633 |
<p>When you specify <code class="docutils literal notranslate"><span class="pre">--disable-apache-arrow</span></code> explicitly, Groonga disables the Apache Arrow |
| 634 |
support even if Apache Arrow is installed on the system.</p> |
| 635 |
<p>Here is an example how to enable the Apache Arrow support explicitly.</p> |
| 636 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">% </span>./configure<span class="w"> </span>--enable-apache-arrow |
| 637 |
</pre></div> |
| 638 |
</div> |
| 639 |
<div class="admonition note"> |
| 640 |
<p class="admonition-title">Note</p> |
| 641 |
<p>If you install Apache Arrow into a non-standard directory, you need to specify the <a class="reference internal" href="#install-others-configure-pkg-config-path"><span class="std std-ref">PKG_CONFIG_PATH=PATHS</span></a> option.</p> |
| 642 |
</div> |
| 643 |
</section> |
| 644 |
<section id="pkg-config-path-paths"> |
| 645 |
<span id="install-others-configure-pkg-config-path"></span><h4><code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH=PATHS</span></code><a class="headerlink" href="#pkg-config-path-paths" title="Link to this heading">#</a></h4> |
| 646 |
<p>Adds search paths of <code class="docutils literal notranslate"><span class="pre">.pc</span></code> files for <code class="docutils literal notranslate"><span class="pre">pkg-config</span></code>.</p> |
| 647 |
<p>You can specify multiple paths using <code class="docutils literal notranslate"><span class="pre">:</span></code> to separating.</p> |
| 648 |
<p>Groonga uses <code class="docutils literal notranslate"><span class="pre">pkg-config</span></code> to find external libraries.</p> |
| 649 |
<p><code class="docutils literal notranslate"><span class="pre">pkg-config</span></code> is a tool that collects flags and paths required for using |
| 650 |
external libraries from <code class="docutils literal notranslate"><span class="pre">.pc</span></code> files.</p> |
| 651 |
<p>When using libraries installed via a package manager, you do not need |
| 652 |
to specify this parameter because <code class="docutils literal notranslate"><span class="pre">.pc</span></code> files for the libraries are in |
| 653 |
the default search paths of <code class="docutils literal notranslate"><span class="pre">pkg-config</span></code>.</p> |
| 654 |
<p>When using manual built libraries, you need to specify <code class="docutils literal notranslate"><span class="pre">.pc</span></code> file paths |
| 655 |
of those libraries by this parameter.</p> |
| 656 |
<p>You can use <code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH</span></code> as an environment variable, but we recommend |
| 657 |
to use it as a <code class="docutils literal notranslate"><span class="pre">configure</span></code> parameter because of the following reason.</p> |
| 658 |
<p><code class="docutils literal notranslate"><span class="pre">configure</span></code> is generated from <code class="docutils literal notranslate"><span class="pre">configure.ac</span></code> by GNU Autotools. And when |
| 659 |
<code class="docutils literal notranslate"><span class="pre">make</span></code> detects that <code class="docutils literal notranslate"><span class="pre">configure.ac</span></code> has changed, GNU Autotools automatically |
| 660 |
regenerates <code class="docutils literal notranslate"><span class="pre">configure</span></code> and re-executes it. If you specify <code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH</span></code> |
| 661 |
as a <code class="docutils literal notranslate"><span class="pre">configure</span></code> parameter, <code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH</span></code> is specified automatically |
| 662 |
when <code class="docutils literal notranslate"><span class="pre">configure</span></code> is re-executed. On the other hand, if you specify <code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH</span></code> |
| 663 |
as an environment variable, <code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH</span></code> is not specified automatically.</p> |
| 664 |
<p>Here is an example how to specify a <code class="docutils literal notranslate"><span class="pre">.pc</span></code> file path for |
| 665 |
<code class="docutils literal notranslate"><span class="pre">/tmp/local/lib/pkgconfig/arrow.pc</span></code>.</p> |
| 666 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">% </span>./configure<span class="w"> </span><span class="nv">PKG_CONFIG_PATH</span><span class="o">=</span>/tmp/local/lib/pkgconfig/ |
| 667 |
</pre></div> |
| 668 |
</div> |
| 669 |
</section> |
| 670 |
</section> |
| 671 |
<section id="make"> |
| 672 |
<h3><code class="docutils literal notranslate"><span class="pre">make</span></code><a class="headerlink" href="#make" title="Link to this heading">#</a></h3> |
| 673 |
<p><code class="docutils literal notranslate"><span class="pre">configure</span></code> is succeeded, you can build Groonga by <code class="docutils literal notranslate"><span class="pre">make</span></code>:</p> |
| 674 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">make</span> |
| 675 |
</pre></div> |
| 676 |
</div> |
| 677 |
<p>If you have multi cores CPU, you can make faster by using <code class="docutils literal notranslate"><span class="pre">-j</span></code> |
| 678 |
option. If you have 4 cores CPU, it’s good for using <code class="docutils literal notranslate"><span class="pre">-j4</span></code> option:</p> |
| 679 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">make</span> <span class="o">-</span><span class="n">j4</span> |
| 680 |
</pre></div> |
| 681 |
</div> |
| 682 |
<p>If you get some errors by <code class="docutils literal notranslate"><span class="pre">make</span></code>, please report them to us: |
| 683 |
<a class="reference internal" href="../contribution/report.html"><span class="doc">How to report a bug</span></a></p> |
| 684 |
</section> |
| 685 |
<section id="make-install"> |
| 686 |
<h3><code class="docutils literal notranslate"><span class="pre">make</span> <span class="pre">install</span></code><a class="headerlink" href="#make-install" title="Link to this heading">#</a></h3> |
| 687 |
<p>Now, you can install built Groonga!:</p> |
| 688 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">sudo</span> <span class="n">make</span> <span class="n">install</span> |
| 689 |
</pre></div> |
| 690 |
</div> |
| 691 |
<p>If you have write permission for <code class="docutils literal notranslate"><span class="pre">${PREFIX}</span></code>, you don’t need to use |
| 692 |
<code class="docutils literal notranslate"><span class="pre">sudo</span></code>. e.g. <code class="docutils literal notranslate"><span class="pre">--prefix=$HOME/local</span></code> case. In this case, use <code class="docutils literal notranslate"><span class="pre">make</span> |
| 693 |
<span class="pre">install</span></code>:</p> |
| 694 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">make</span> <span class="n">install</span> |
| 695 |
</pre></div> |
| 696 |
</div> |
| 697 |
</section> |
| 698 |
</section> |
| 699 |
</section> |
| 700 |
|
| 701 |
|
| 702 |
</article> |
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
|
| 708 |
<footer class="prev-next-footer d-print-none"> |
| 709 |
|
| 710 |
<div class="prev-next-area"> |
| 711 |
</div> |
| 712 |
</footer> |
| 713 |
|
| 714 |
</div> |
| 715 |
|
| 716 |
|
| 717 |
|
| 718 |
<dialog id="pst-secondary-sidebar-modal"></dialog> |
| 719 |
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner"> |
| 720 |
|
| 721 |
|
| 722 |
<div class="sidebar-secondary-item"> |
| 723 |
<div |
| 724 |
id="pst-page-navigation-heading-2" |
| 725 |
class="page-toc tocsection onthispage"> |
| 726 |
<i class="fa-solid fa-list"></i> On this page |
| 727 |
</div> |
| 728 |
<nav id="pst-page-toc-nav" class="page-toc" aria-labelledby="pst-page-navigation-heading-2"> |
| 729 |
<ul class="pst-show_toc_level nav section-nav flex-column"> |
| 730 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#dependencies">Dependencies</a><ul class="nav section-nav flex-column"> |
| 731 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#tools">Tools</a></li> |
| 732 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#libraries">Libraries</a></li> |
| 733 |
</ul> |
| 734 |
</li> |
| 735 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#build-from-source">Build from source</a><ul class="nav section-nav flex-column"> |
| 736 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#configure"><code class="docutils literal notranslate"><span class="pre">configure</span></code></a><ul class="nav section-nav flex-column"> |
| 737 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#prefix-path"><code class="docutils literal notranslate"><span class="pre">--prefix=PATH</span></code></a></li> |
| 738 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#localstatedir-path"><code class="docutils literal notranslate"><span class="pre">--localstatedir=PATH</span></code></a></li> |
| 739 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-log-path-path"><code class="docutils literal notranslate"><span class="pre">--with-log-path=PATH</span></code></a></li> |
| 740 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-default-encoding-encoding"><code class="docutils literal notranslate"><span class="pre">--with-default-encoding=ENCODING</span></code></a></li> |
| 741 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-match-escalation-threshold-number"><code class="docutils literal notranslate"><span class="pre">--with-match-escalation-threshold=NUMBER</span></code></a></li> |
| 742 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-zlib"><code class="docutils literal notranslate"><span class="pre">--with-zlib</span></code></a></li> |
| 743 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-lz4"><code class="docutils literal notranslate"><span class="pre">--with-lz4</span></code></a></li> |
| 744 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-message-pack-message-pack-install-prefix"><code class="docutils literal notranslate"><span class="pre">--with-message-pack=MESSAGE_PACK_INSTALL_PREFIX</span></code></a></li> |
| 745 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-munin-plugins"><code class="docutils literal notranslate"><span class="pre">--with-munin-plugins</span></code></a></li> |
| 746 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#with-package-platform-platform"><code class="docutils literal notranslate"><span class="pre">--with-package-platform=PLATFORM</span></code></a></li> |
| 747 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#help"><code class="docutils literal notranslate"><span class="pre">--help</span></code></a></li> |
| 748 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#enable-apache-arrow-and-disable-apache-arrow"><code class="docutils literal notranslate"><span class="pre">--enable-apache-arrow</span></code> and <code class="docutils literal notranslate"><span class="pre">--disable-apache-arrow</span></code></a></li> |
| 749 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#pkg-config-path-paths"><code class="docutils literal notranslate"><span class="pre">PKG_CONFIG_PATH=PATHS</span></code></a></li> |
| 750 |
</ul> |
| 751 |
</li> |
| 752 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#make"><code class="docutils literal notranslate"><span class="pre">make</span></code></a></li> |
| 753 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#make-install"><code class="docutils literal notranslate"><span class="pre">make</span> <span class="pre">install</span></code></a></li> |
| 754 |
</ul> |
| 755 |
</li> |
| 756 |
</ul> |
| 757 |
</nav></div> |
| 758 |
|
| 759 |
<div class="sidebar-secondary-item"> |
| 760 |
|
| 761 |
|
| 762 |
<div class="tocsection editthispage"> |
| 763 |
<a href="https://github.com/groonga/groonga/edit/main/doc/source/install/others.rst"> |
| 764 |
<i class="fa-solid fa-pencil"></i> |
| 765 |
|
| 766 |
|
| 767 |
|
| 768 |
Edit on GitHub |
| 769 |
|
| 770 |
|
| 771 |
</a> |
| 772 |
</div> |
| 773 |
</div> |
| 774 |
|
| 775 |
</div></div> |
| 776 |
|
| 777 |
|
| 778 |
</div> |
| 779 |
<footer class="bd-footer-content"> |
| 780 |
|
| 781 |
</footer> |
| 782 |
|
| 783 |
</main> |
| 784 |
</div> |
| 785 |
</div> |
| 786 |
|
| 787 |
|
| 788 |
<script defer src="../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9"></script> |
| 789 |
<script defer src="../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9"></script> |
| 790 |
|
| 791 |
<footer class="bd-footer"> |
| 792 |
<div class="bd-footer__inner bd-page-width"> |
| 793 |
|
| 794 |
<div class="footer-items__start"> |
| 795 |
|
| 796 |
<div class="footer-item"> |
| 797 |
|
| 798 |
<p class="copyright"> |
| 799 |
|
| 800 |
© Copyright 2009-2026 Groonga Project. |
| 801 |
<br/> |
| 802 |
|
| 803 |
</p> |
| 804 |
</div> |
| 805 |
|
| 806 |
</div> |
| 807 |
|
| 808 |
|
| 809 |
|
| 810 |
<div class="footer-items__end"> |
| 811 |
|
| 812 |
<div class="footer-item"> |
| 813 |
<p class="theme-version"> |
| 814 |
|
| 815 |
Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.20.0. |
| 816 |
</p></div> |
| 817 |
|
| 818 |
</div> |
| 819 |
|
| 820 |
</div> |
| 821 |
|
| 822 |
</footer> |
| 823 |
</body> |
| 824 |
</html> |