I don't know if I'm doing something wrong, but I've set-up free-bsd 13.5 VM according to a tutorial I've found, set-up the database per the m2dev-server-main/sql/Readme.txt, now when I run python install.py, it goes through, a channels folder is created, but upon running python start.py I get a bunch of FileNotFoundError for each channel and channel core example
> Starting CH1:
> channel1_core1
> Failed to start channel1_core1: [Errno 2] No such file or directory: './channel1_core1'
Traceback (most recent call last):
File "/root/server/start.py", line 28, in try_start
proc = start_process(exe)
^^^^^^^^^^^^^^^^^^
File "/root/server/start.py", line 23, in start_process
return subprocess.Popen([exe], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.11/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: './channel1_core1'
So then I tried compiling the source server files instead (on free-bsd) where "cmake -S . -B build" went through without problems but running "make -j4" on the build folder produced errors, that after fixing produced new errors for example
/root/devserver/src/libpoly/main.cpp:18:20: error: use of undeclared identifier 'getpid'
18 | srandom(time(0) + getpid());
|
/root/devserver/src/db/version.cpp:11:36: error: use of undeclared identifier '__P4_VERSION__'
11 | fprintf(fp, "db revision: %s\n", __P4_VERSION__);
|
/root/devserver/src/game/auth_brazil.cpp:31:5: error: unknown type name 'MD5_CTX'
31 | MD5_CTX md5;
| ^
Am I missing something obvious here, or doing something wrong?