Update seafile client linux and OSX build doc. (#32)

This commit is contained in:
sun20121818 2021-07-05 18:20:42 +08:00 committed by GitHub
parent eeab6d6af3
commit 93c626540d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 42 deletions

View File

@ -43,26 +43,23 @@ First you should get the latest source of libsearpc/ccnet/seafile/seafile-client
Download the source tarball of the latest tag from
* <https://github.com/haiwen/libsearpc/tags> (use v3.1-latest)
* <https://github.com/haiwen/ccnet/tags> (NOTE: from 6.2 version on, ccnet is no longer needed)
* <https://github.com/haiwen/libsearpc/tags> (use v3.2-latest)
* <https://github.com/haiwen/seafile/tags>
* <https://github.com/haiwen/seafile-client/tags>
For example, if the latest released seafile client is 5.0.7, then just use the **v5.0.7** tags of the four projects. You should get four tarballs:
For example, if the latest released seafile client is 8.0.0, then just use the **v8.0.0** tags of the four projects. You should get four tarballs:
* libsearpc-v3.0-latest.tar.gz
* ccnet-5.0.7.tar.gz (NOTE: from 6.2 version on, ccnet is no longer needed)
* seafile-5.0.7.tar.gz
* seafile-client-5.0.7.tar.gz
* libsearpc-v3.2-latest.tar.gz
* seafile-8.0.0.tar.gz
* seafile-client-8.0.0.tar.gz
```sh
# without alias wget= might not work
shopt -s expand_aliases
export version=5.0.7
export version=8.0.0
alias wget='wget --content-disposition -nc'
wget https://github.com/haiwen/libsearpc/archive/v3.0-latest.tar.gz
# NOTE: from 6.2 version on, ccnet is no longer needed
wget https://github.com/haiwen/libsearpc/archive/v3.2-latest.tar.gz
wget https://github.com/haiwen/ccnet/archive/v${version}.tar.gz
wget https://github.com/haiwen/seafile/archive/v${version}.tar.gz
wget https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz
@ -72,8 +69,7 @@ wget https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz
Now uncompress them:
```sh
tar xf libsearpc-3.0-latest.tar.gz
# NOTE: from 6.2 version on, ccnet is no longer needed
tar xf libsearpc-3.2-latest.tar.gz
tar xf ccnet-${version}.tar.gz
tar xf seafile-${version}.tar.gz
tar xf seafile-client-${version}.tar.gz
@ -94,21 +90,7 @@ export PATH="$PREFIX/bin:$PATH"
##### libsearpc
```bash
cd libsearpc-3.0-latest
./autogen.sh
./configure --prefix=$PREFIX
make
sudo make install
cd ..
```
##### ccnet
NOTE: from 6.2 version on, ccnet is no longer needed
```bash
cd ccnet-${version}
cd libsearpc-3.2-latest
./autogen.sh
./configure --prefix=$PREFIX
make

View File

@ -1,8 +1,8 @@
# Mac OS X
### Install QT 5.6.2:
### Install QT 5.15.1:
* Download it from <https://download.qt.io/archive/qt/5.6/5.6.2/qt-opensource-mac-x64-clang-5.6.2.dmg>
* Download it from <https://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg>
* Double click the downloaded dmg file to start the installer, and install it to its default location.
## Install Macports
@ -48,7 +48,7 @@
export CPPFLAGS="-I/opt/local/include"
export LDFLAGS="-L/opt/local/lib -L/usr/local/lib -Wl,-headerpad_max_install_names"
QT_BASE=$HOME/Qt5.6.2/5.6/clang_64
QT_BASE=$HOME/Qt5.15.1/5.15.1/clang_64
export PATH=$QT_BASE/bin:$PATH
export PKG_CONFIG_PATH=$QT_BASE/lib/pkgconfig:$PKG_CONFIG_PATH
@ -66,18 +66,6 @@ Download [libsearpc](https://github.com/haiwen/libsearpc), then:
```
## Compiling ccnet
Download [ccnet](https://github.com/haiwen/ccnet), then:
```
./autogen.sh
./configure
make
sudo make install
```
## Compiling seafile
1. Download [seafile](https://github.com/haiwen/seafile)