Well, forget about the database for the time being, I started from scratch just to test (for who? Is there ANYONE still around who wants to create a server?) Anyway.
Following this:
https://guildofwriters.org/wiki/DIRTSAN ... ng_StartedFirst observation: the string-theory installation is never mentioned, neither in the prerequisites nor anywhere in the instructions. Since this proved to be kinda vital (got error messages without it), you may want to include a link to zrax' instructions:
https://github.com/zrax/string_theory/w ... ing_theorySecond observation: I tried to clone the Github to /opt/dirtsand which seems to be the place according to the above instructions. This results in an error after running
$ make && sudo make install
- Show Spoiler
Scanning dependencies of target test_sha
...
[ 93%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgSDLState.cpp.o
[ 95%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgGroupOwner.cpp.o
[ 96%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgRelevanceRegions.cpp.o
[ 97%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgVoice.cpp.o
[ 98%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/factory.cpp.o
[100%] Linking CXX executable ../bin/dirtsand
[100%] Built target dirtsand
[ 3%] Built target test_sha
[100%] Built target dirtsand
Install the project...
-- Install configuration: ""
CMake Error at cmake_install.cmake:42 (file):
file INSTALL cannot find "/opt/dirtsand/bin/dirtsand".
Makefile:83: recipe for target 'install' failed
make: *** [install] Error 1
Obviously then I can't start the server using
bin/dirtsand dirtsand.ini
Since, well, duh. bin/dirtsand does not exist.
So, I tried to install it to my home directory instead, just to test. Running
$ cmake -DCMAKE_INSTALL_PREFIX=/home/surta/dirtsand ..
$ make && sudo make install
results in in the same error.
However, running the original lines:
cmake -DCMAKE_INSTALL_PREFIX=/opt/dirtsand ..
make && sudo make install
Does not result in any errors:
- Show Spoiler
...
[ 95%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgGroupOwner.cpp.o
[ 96%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgRelevanceRegions.cpp.o
[ 97%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/NetMessages/NetMsgVoice.cpp.o
[ 98%] Building CXX object CMakeFiles/dirtsand.dir/PlasMOUL/factory.cpp.o
[100%] Linking CXX executable ../bin/dirtsand
[100%] Built target dirtsand
[ 3%] Built target test_sha
[100%] Built target dirtsand
Install the project...
-- Install configuration: ""
-- Installing: /opt/dirtsand/bin/dirtsand
-- Set runtime path of "/opt/dirtsand/bin/dirtsand" to ""
-- Installing: /opt/dirtsand/bin/dsData.sh
-- Installing: /opt/dirtsand/./static_ages.ini
And, weirdly enough, ~/dirtsand/bin/dirtsand DOES get created.
Which I can then copy to /opt/dirtsand and get into the one step further which is the database error I mentioned above