Skip to content

Instantly share code, notes, and snippets.

@featherbear
Last active June 24, 2021 14:08
Show Gist options
  • Save featherbear/131edd3a70b6bb89b6573becb4607695 to your computer and use it in GitHub Desktop.
Save featherbear/131edd3a70b6bb89b6573becb4607695 to your computer and use it in GitHub Desktop.
Eternal Terminal manual build
# Build Server
LIB_DIR=~/.opt/lib
BIN_DIR=~/.opt/bin
INCLUDE_DIR=~/.opt/include
cmake ../ -DProtobuf_INCLUDE_DIR=$INCLUDE_DIR/ -DProtobuf_PROTOC_LIBRARIES=$LIB_DIR/ -DProtobuf_PROTOC_EXECUTABLE=$BIN_DIR/protoc -Dsodium_INCLUDE_DIR=$INCLUDE_DIR -Dsodium_LIBRARY_RELEASE=$LIB_DIR/libsodium.a -Dsodium_LIBRARY_DEBUG=true -DUTEMPTER_INCLUDE_DIR=$INCLUDE_DIR -DProtobuf_LITE_LIBRARY=$LIB_DIR/libprotobuf-lite.so -DUTEMPTER_LIBRARIES=$LIB_DIR/libutempter.so -DCMAKE_INSTALL_PREFIX=$HOME/.opt
# Server
etserver --daemon --pidfile ~/.etserver.pid
# Client
et username@host --prefix="LD_LIBRARY_PATH=~/.opt/lib ~/.opt/bin/etterminal" -c "cd ~; bash"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment