picrin/docs/deploy.rst

38 lines
1.0 KiB
ReStructuredText
Raw Permalink Normal View History

2014-06-14 14:31:00 -04:00
Installation
============
Installation instructions below.
2014-06-15 13:17:16 -04:00
Build
2015-05-30 06:13:11 -04:00
-----
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
Just type `make` in the project root directory. You will find an executable binary newly created at bin/ directory.
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
$ make
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
When you are building picrin on x86_64 system, PIC_NAN_BOXING flag is automatically turned on (see include/picrin/config.h for detail).
2014-06-14 14:31:00 -04:00
2014-06-15 13:17:16 -04:00
Install
2015-05-30 06:13:11 -04:00
-------
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
`make install` target is provided. By default it installs picrin binary into `/usr/local/bin/`.
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
$ make install
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
Since picrin does not use autoconf, if you want to specify the install directory, pass the custom path to `make` via command line argument.
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
$ make install prefix=/path/to/dir
2014-06-14 14:31:00 -04:00
Requirement
-----------
2015-05-30 06:13:11 -04:00
To build Picrin Scheme from source code, some external libraries are required:
2014-06-14 14:31:00 -04:00
- perl
2015-05-30 06:13:11 -04:00
- regex.h of POSIX.1
- libedit (optional)
2014-06-14 14:31:00 -04:00
2015-05-30 06:13:11 -04:00
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.