Here are steps to fairly quickly compile ADCH++ x64 bit (Written strictly for Ubuntu Linux 20.04.1 LTS but as we know Linuxes are similar).
Get the latest source. Current ver. is 3.0.0 and supports TLS 1.3
1. Install build tools sudo apt-get install build-essential
2. Install Python with devel and distutils (2 or 3 it doesn't really matter).
3. Install scons
4. Install swig
5. Install Ruby and ruby dev
6. Install openssl and libssh-dev
7. Install mercurial
8. Install libstdc++-devel -sudo apt-get install libstdc++6
9. Install readline-devel -sudo apt-get install -y libreadline-dev
......
Building:
Unzip source then go to unzipped folder in shell type:
scons mode=release arch=x64
.......
Setup:
1.Create folder /home/$user/adchpp ($user is your linux username).
2.Move contents of build/bin here
3. Create folder /etc/adchpp if it doesn't exist chmod 7777
4.Move config folder here - open it and edit to what it needs to be.
Set name, descr, buffers, hosts, ssl etc
uncomment <!--Plugins Path="~/adchpp/"--> to <Plugins Path="~/adchpp/"/>
5. Create folder certs in /home/$user/adchpp put your ssl certs there!
6. Move Scripts and Plugins folders into /home/$user/adchpp
7. Create folder /usr/local/lib/lua/5.1/ place luadchpp.so loadall.so there
8. edit /etc/adchpp/Script.xml -edit script path absolute
/home/$user/adchpp/Scripts and add your scripts there.
Run your soft executing:
sudo ./adchppd -c /etc/adchpp/config/
Don't forget sudo ulimit -n 10000 or whatever is needed before executing above or increase limits pernamently to have them set there for good. Otherwise by default you will be limited to max 1024 online users.
This should be it. If it doesn't work it means i forgot something. Let me know if that's a case.
PS.: Flylinks will be getting disconnected sometimes with Your PID does not correspond to CID error message. Flylink devs were notified on this issue so its up to them to fix it.
