Cannot compile from source
Tried to compile on Centos6 from up-to-date git clone.
/EternalTerminal/src/base/CryptoHandler.cpp: In member function ‘std::string et::CryptoHandler::encrypt(const string&)’:
/EternalTerminal/src/base/CryptoHandler.cpp:28:35: error: ‘crypto_secretbox_MACBYTES’ was not declared in this scope
string retval(buffer.length() + crypto_secretbox_MACBYTES, '\0');
^
/EternalTerminal/src/base/CryptoHandler.cpp:31:64: error: ‘crypto_secretbox_easy’ was not declared in this scope
buffer.length(), nonce, key) == -1);
^
/EternalTerminal/src/base/CryptoHandler.cpp:5:15: note: in definition of macro ‘SODIUM_FAIL’
int rc = (X);
^
/EternalTerminal/src/base/CryptoHandler.cpp: In member function ‘std::string et::CryptoHandler::decrypt(const string&)’:
/EternalTerminal/src/base/CryptoHandler.cpp:38:35: error: ‘crypto_secretbox_MACBYTES’ was not declared in this scope
string retval(buffer.length() - crypto_secretbox_MACBYTES, '\0');
^
/EternalTerminal/src/base/CryptoHandler.cpp:41:61: error: ‘crypto_secretbox_open_easy’ was not declared in this scope
buffer.length(), nonce, key) == -1) {
I was able to get this to install by first installing the most recent version of "libsodium" from source. Alas, Centos6 doesn't use systemd. Is there another way of starting the server?
@ishmael1851 what does centos6 use? You could run the server manually (as root):
etserver --cfgfile /etc/et.cfg