PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


guides:solaris

This is an old revision of the document!


Compile on Solaris

This guide was tested on clean installation of Oracle Solaris 11.2.
Everything is done from command line, that means everything can be done over ssh on remote server.
Important note: Because of Solaris limitations is PtokaX compiled without password hashing feature. When you have Registered Users with hashed password, then they can't be used on Solaris!

1. Prerequisites.

For PtokaX compile you need g++ (c++ compiler) and Lua (programming language used for scripting).
They can be installed using package manager (Note: to install packages using package manager you need root permissions).

  • Install them with command: pkg install gcc-dev lua

2. Downloading source and compile.

  • a. PtokaX source
    Download it with command: wget <html><b>http://www.PtokaX.org/files/0.5.2.0-nix-src.tgz</b></html>
    Unpack downloaded archive with command: tar -xf 0.5.2.0-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: gmake solaris

3. Setup and run.

guides/solaris.1439708245.txt.gz · Last modified: 16/08/2015 06:57 by ppk