diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-17 20:54:24 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-17 20:54:24 +0900 |
commit | a2b4a4c7b3cd0b0071fdacaee9cc3cb34b264de2 (patch) | |
tree | 040643d4b24003272fbb46027094f77b00fcdff1 /README.md | |
parent | 06c27b96f4c2956662d23860c4984619269c1fe6 (diff) |
update README for building mscp with patched libssh
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -170,3 +170,28 @@ Usage: mscp [vqDCHdh] [-n nr_conns] Note: mscp is still under development, and the author is not responsible for any accidents due to mscp. + +## Build with Async Write + +```console +# install required package +sudo apt install libkrb5-dev + +# clone this repositoy +git clone https://github.com/upa/mscp -b async-write +cd mscp + +# build pathched libssh +git clone https://git.libssh.org/projects/libssh.git/ --depth=10 -b libssh-0.10.4 +cd libssh && git apply ../patch/libssh-0.10.4.patch +mkdir build && cd build +cmake .. -DCMAKE_INSTALL_PREFIX=../../libssh-installed +make && make install + +# build mscp with patched libssh +# mv to mscp dir +mv ../.. +mkdir build && cd build +cmake .. -DLIBSSH_PATH=../libssh-installed +make +```
\ No newline at end of file |