Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Commit ef8b70e

Browse files
committed
fix ptokax compile
1 parent d3509ec commit ef8b70e

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

README.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,49 @@
1-
# To be updated soon
1+
Raspberry Pi 4 Model B Rev 1.1 ( 2 GB )
2+
OS : Rasbian 64 Bit
3+
4+
# Installing Ptokax
5+
6+
- Installing Prerequisites :
7+
8+
```console
9+
# Install g++, zlib, tinyxml
10+
$ sudo apt install make g++ zlib1g-dev libtinyxml-dev
11+
12+
# Install lua 5.2.2
13+
# Latest lua not installed as scripts are in lua version 5.2.2
14+
$ sudo apt install liblua5.2-dev
15+
16+
# Install mysql - needed for scripts
17+
18+
```
19+
20+
- Download PtokaX source code -
21+
`$ wget http://www.PtokaX.org/files/0.5.2.2-nix-src.tgz`
22+
23+
- Extract the archive -
24+
`$ tar -xf 0.5.2.2-nix-src.tgz`
25+
26+
- Import Hit-Hi-Fit-Hai scripts :
27+
28+
```console
29+
$ git clone https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts
30+
$ cp ptokax-scripts/* PtokaX/scripts/ -rf
31+
```
32+
33+
- Make the program -
34+
```console
35+
$ cd PtokaX
36+
$ make lua52
37+
```
38+
39+
- Setup privileges in order to allow ptokax to run on port 411 (default port)
40+
```console
41+
$ sudo apt install libcap2-bin
42+
$ sudo make install
43+
```
44+
45+
- Run ptokax using sudo to allow it to bind to port - `$ sudo ./PtokaX`
46+
47+
# Changes made to Ptokax 0.5.2.2
48+
49+

ptokax-0.5.2.2-src.tgz

24.6 MB
Binary file not shown.

0 commit comments

Comments
 (0)