150 lines
6.0 KiB
HTML
150 lines
6.0 KiB
HTML
|
|
||
|
<!DOCTYPE html>
|
||
|
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
|
||
|
<title>Installation — Picrin 0.1 documentation</title>
|
||
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="_static/classic.css" />
|
||
|
|
||
|
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
|
||
|
<script src="_static/doctools.js"></script>
|
||
|
<script src="_static/sphinx_highlight.js"></script>
|
||
|
|
||
|
<link rel="index" title="Index" href="genindex.html" />
|
||
|
<link rel="search" title="Search" href="search.html" />
|
||
|
<link rel="next" title="Language" href="lang.html" />
|
||
|
<link rel="prev" title="Introduction" href="intro.html" />
|
||
|
</head><body>
|
||
|
<div class="related" role="navigation" aria-label="related navigation">
|
||
|
<h3>Navigation</h3>
|
||
|
<ul>
|
||
|
<li class="right" style="margin-right: 10px">
|
||
|
<a href="genindex.html" title="General Index"
|
||
|
accesskey="I">index</a></li>
|
||
|
<li class="right" >
|
||
|
<a href="lang.html" title="Language"
|
||
|
accesskey="N">next</a> |</li>
|
||
|
<li class="right" >
|
||
|
<a href="intro.html" title="Introduction"
|
||
|
accesskey="P">previous</a> |</li>
|
||
|
<li class="nav-item nav-item-0"><a href="index.html">Picrin 0.1 documentation</a> »</li>
|
||
|
<li class="nav-item nav-item-this"><a href="">Installation</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="document">
|
||
|
<div class="documentwrapper">
|
||
|
<div class="bodywrapper">
|
||
|
<div class="body" role="main">
|
||
|
|
||
|
<section id="installation">
|
||
|
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this heading">¶</a></h1>
|
||
|
<p>Installation instructions below.</p>
|
||
|
<section id="build">
|
||
|
<h2>Build<a class="headerlink" href="#build" title="Permalink to this heading">¶</a></h2>
|
||
|
<p>Just type <cite>make</cite> in the project root directory. You will find an executable binary newly created at bin/ directory.</p>
|
||
|
<blockquote>
|
||
|
<div><p>$ make</p>
|
||
|
</div></blockquote>
|
||
|
<p>When you are building picrin on x86_64 system, PIC_NAN_BOXING flag is automatically turned on (see include/picrin/config.h for detail).</p>
|
||
|
</section>
|
||
|
<section id="install">
|
||
|
<h2>Install<a class="headerlink" href="#install" title="Permalink to this heading">¶</a></h2>
|
||
|
<p><cite>make install</cite> target is provided. By default it installs picrin binary into <cite>/usr/local/bin/</cite>.</p>
|
||
|
<blockquote>
|
||
|
<div><p>$ make install</p>
|
||
|
</div></blockquote>
|
||
|
<p>Since picrin does not use autoconf, if you want to specify the install directory, pass the custom path to <cite>make</cite> via command line argument.</p>
|
||
|
<blockquote>
|
||
|
<div><p>$ make install prefix=/path/to/dir</p>
|
||
|
</div></blockquote>
|
||
|
</section>
|
||
|
<section id="requirement">
|
||
|
<h2>Requirement<a class="headerlink" href="#requirement" title="Permalink to this heading">¶</a></h2>
|
||
|
<p>To build Picrin Scheme from source code, some external libraries are required:</p>
|
||
|
<ul class="simple">
|
||
|
<li><p>perl</p></li>
|
||
|
<li><p>regex.h of POSIX.1</p></li>
|
||
|
<li><p>libedit (optional)</p></li>
|
||
|
</ul>
|
||
|
<p>Make command automatically turns on optional libraries if available.
|
||
|
Picrin is mainly developed on Mac OS X and only tested on OS X or Ubuntu 14.04+. When you tried to run picrin on other platforms and found something was wrong with it, please send us an issue.</p>
|
||
|
</section>
|
||
|
</section>
|
||
|
|
||
|
|
||
|
<div class="clearer"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||
|
<div class="sphinxsidebarwrapper">
|
||
|
<div>
|
||
|
<h3><a href="index.html">Table of Contents</a></h3>
|
||
|
<ul>
|
||
|
<li><a class="reference internal" href="#">Installation</a><ul>
|
||
|
<li><a class="reference internal" href="#build">Build</a></li>
|
||
|
<li><a class="reference internal" href="#install">Install</a></li>
|
||
|
<li><a class="reference internal" href="#requirement">Requirement</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
</div>
|
||
|
<div>
|
||
|
<h4>Previous topic</h4>
|
||
|
<p class="topless"><a href="intro.html"
|
||
|
title="previous chapter">Introduction</a></p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<h4>Next topic</h4>
|
||
|
<p class="topless"><a href="lang.html"
|
||
|
title="next chapter">Language</a></p>
|
||
|
</div>
|
||
|
<div role="note" aria-label="source link">
|
||
|
<h3>This Page</h3>
|
||
|
<ul class="this-page-menu">
|
||
|
<li><a href="_sources/deploy.rst.txt"
|
||
|
rel="nofollow">Show Source</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="searchbox" style="display: none" role="search">
|
||
|
<h3 id="searchlabel">Quick search</h3>
|
||
|
<div class="searchformwrapper">
|
||
|
<form class="search" action="search.html" method="get">
|
||
|
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||
|
<input type="submit" value="Go" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script>document.getElementById('searchbox').style.display = "block"</script>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="clearer"></div>
|
||
|
</div>
|
||
|
<div class="related" role="navigation" aria-label="related navigation">
|
||
|
<h3>Navigation</h3>
|
||
|
<ul>
|
||
|
<li class="right" style="margin-right: 10px">
|
||
|
<a href="genindex.html" title="General Index"
|
||
|
>index</a></li>
|
||
|
<li class="right" >
|
||
|
<a href="lang.html" title="Language"
|
||
|
>next</a> |</li>
|
||
|
<li class="right" >
|
||
|
<a href="intro.html" title="Introduction"
|
||
|
>previous</a> |</li>
|
||
|
<li class="nav-item nav-item-0"><a href="index.html">Picrin 0.1 documentation</a> »</li>
|
||
|
<li class="nav-item nav-item-this"><a href="">Installation</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="footer" role="contentinfo">
|
||
|
© Copyright 2014, Yuichi Nishiwaki and other picrin contributors.
|
||
|
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 6.1.3.
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|