1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>WiredTiger: Building and installing WiredTiger on Windows</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="wiredtiger.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><a href="http://wiredtiger.com/"><img alt="Logo" src="LogoFinal-header.png" alt="WiredTiger" /></a></td>
<td style="padding-left: 0.5em;">
<div id="projectname">
 <span id="projectnumber">Version 3.1.0</span>
</div>
<div id="projectbrief"><!-- 3.1.0 --></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="banner">
<a href="https://github.com/wiredtiger/wiredtiger">Fork me on GitHub</a>
<a class="last" href="http://groups.google.com/group/wiredtiger-users">Join my user group</a>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('build-windows.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">Building and installing WiredTiger on Windows </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="windows_github"></a>
Building using Git and GitHub</h1>
<p>Skip this step if you are building from a WiredTiger release package, and proceed with <a class="el" href="build-windows.html#windows_building">Building on Windows</a></p>
<p>First, clone the repository:</p>
<div class="fragment"><div class="line">git clone git:<span class="comment">//github.com/wiredtiger/wiredtiger.git</span></div></div><!-- fragment --><p>Now proceed with <a class="el" href="build-windows.html#windows_building">Building on Windows</a></p>
<h1><a class="anchor" id="windows_building"></a>
Building on Windows</h1>
<p>Building WiredTiger on Windows requires <a href="http://www.scons.org">SCons</a> as well as the Microsoft Visual C++ compiler in Microsoft Visual Studio.</p>
<p>Change directory to the top-level directory, then build the software:</p>
<div class="fragment"><div class="line">cd wiredtiger</div><div class="line">scons</div></div><!-- fragment --><p>To rebuild from scratch, discard any previous configuration by cleaning out the build area:</p>
<div class="fragment"><div class="line">scons -c</div></div><!-- fragment --><p>To see additional configuration options, run:</p>
<div class="fragment"><div class="line">scons --help</div></div><!-- fragment --><p>To build the python language support, a 64-bit version of Python is required. The required version is referred to as x86-64 on <a href="www.python.org">Python.org</a> or x64 on <a href="http://www.activestate.com/activepython/downloads">ActiveState Python</a>.</p>
<h1><a class="anchor" id="windows_installing"></a>
Installing WiredTiger</h1>
<p>The WiredTiger software consists of a library and a single standalone utility.</p>
<p>WiredTiger's distribution follows the GNU Coding Standards installation guidelines, and by default WiredTiger builds and installs a static library and dll version of the library.</p>
<div class="fragment"><div class="line">file <root directory>/package/bin/</div><div class="line">wt.exe: x64 standalone executable</div><div class="line">wiredtiger.dll: x64 dynamically linked library</div><div class="line"></div><div class="line">file <root directory>/package/lib/</div><div class="line">libwiredtiger.lib: x64 <span class="keyword">static</span> library</div><div class="line">wiredtiger.lib: x64 <span class="keyword">import</span> library <span class="keywordflow">for</span> dll</div></div><!-- fragment --><p>To install WiredTiger:</p>
<div class="fragment"><div class="line">scons install</div></div><!-- fragment --><p>To install WiredTiger's libraries or binaries into alternate locations, you can use the –prefix configuration option.</p>
<div class="fragment"><div class="line">scons --prefix=c:\wiredtiger install</div></div><!-- fragment --><h1><a class="anchor" id="windows_configure"></a>
Configuring WiredTiger</h1>
<p>The WiredTiger software supports some additional configuration options:</p>
<dl class="section user"><dt><code>–enable-attach</code> </dt><dd>Configure WiredTiger to sleep and wait for a debugger to attach on failure. <b>DO NOT</b> configure this option in production environments.</dd></dl>
<dl class="section user"><dt><code>–enable-diagnostic</code> </dt><dd>Configure WiredTiger to perform various run-time diagnostic tests. <b>DO NOT</b> configure this option in production environments.</dd></dl>
<dl class="section user"><dt><code>–enable-java</code> </dt><dd>Build the WiredTiger <a href="http://www.java.com">Java</a> API, requires path to swig.exe and path to Java JDK directory, comma separated.</dd></dl>
<dl class="section user"><dt><code>–enable-python</code> </dt><dd>Build the WiredTiger <a href="http://www.python.org">Python</a> API, requires path to swig.exe on Windows.</dd></dl>
<dl class="section user"><dt><code>–enable-snappy</code> </dt><dd>Configure WiredTiger for <a href="http://code.google.com/p/snappy/">snappy</a> compression; see <a class="el" href="compression.html">Compressors</a> for more information.</dd></dl>
<dl class="section user"><dt><code>–enable-zlib</code> </dt><dd>Configure WiredTiger for <a href="http://www.zlib.net/">zlib</a> compression; see <a class="el" href="compression.html">Compressors</a> for more information. </dd></dl>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">Reference Guide</a></li>
<li class="footer">Copyright (c) 2008-2018 MongoDB, Inc. All rights reserved. Contact <a href="mailto:info@wiredtiger.com">info@wiredtiger.com</a> for more information.</li>
</ul>
</div>
</body>
</html>
|