Skip to content
Bruno Bonacci edited this page Nov 2, 2016 · 13 revisions

An example for Arch Linux users

pacman -S --asdeps libuv libffi python2 boost
mkdir ~/projects/pixie-lang
cd ~/projects/pixie-lang
git clone <github url>
cd pixie
PYTHON="/usr/bin/python2" make build_with_jit
mkdir ~/bin
cd ~/bin
ln -s ~/projects/pixie-lang/pixie/pixie-vm pxi
export PATH=$PATH:~/bin
pxi

On Debian

Debian Testing

Before building Pixie, apt-get install the following prerequisites: build-essential pkg-config curl libffi-dev libedit-dev libuv1-dev libboost-all-dev

On FreeBSD 10.1

  1. Install the required packages via

        pkg install libuv libffi gmake readline python
    
  2. Clone the repository

  3. And run the following commands inside of it:

        make build_with_jit
    
  4. This creates an executable named pixie-vm

On OS X via Homebrew

  1. Install Xcode

  2. Install the Xcode command line tools (this allows /usr/local to be included in the path)

     xcode-select --install
    
  3. Install Homebrew:

     /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  4. Install the build dependencies

     brew install libuv libffi boost
    
  5. After the installation, remember to set the PKG_CONFIG_PATH and CPATH accordingly. For example (please note version numbers will be different in your system):

     export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/:/usr/local/Cellar/libuv/1.10.0/lib/pkgconfig/
     export CPATH=/usr/local/Cellar/boost/1.62.0/include/
    
  6. Build pixie

     make build_with_jit
    
  7. Add pixie to path

     ln -s $(pwd)/pixie-vm /usr/local/bin/pixie