PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


Sidebar


guides:masox

Compile on Mac OS X

This guide was tested on clean installation of Mac OS X 10.10 Yosemite.
Everything is done from command line in terminal. When you don't have installed command line tools and compilers then Mac OS X will popup window and ask if you want to install them (they are free).

1. Prerequisites.

For PtokaX compile you need tinyxml (library used to read and write xml files) and Lua (programming language used for scripting).
They can be installed using package manager Homebrew.

  • Tinyxml and Lua
    Install them with command: brew install lua tinyxml

2. Downloading source and compile.

  • a. PtokaX source
    Download it with command: wget http://www.PtokaX.org/files/0.5.2.2-nix-src.tgz
    Unpack downloaded archive with command: tar -xf 0.5.2.2-nix-src.tgz
    Now we have in actual directory new directory PtokaX. Go to that directory with command: cd PtokaX
  • b. PtokaX compile
    Compile PtokaX with command: make macosx

3. Setup and run.

guides/masox.txt · Last modified: 13/04/2017 18:50 by ppk