Skip to content

Mac OS X

Install QT 5.15.1:

Install Macports

###Setup macports environment

  1. Install xcode

  2. Download Xcode from website or App Store

  3. Install macports

  4. Quick start

visit for more

  1. Install following libraries and tools using port
sudo port install autoconf automake pkgconfig libtool glib2 \
libevent vala openssl git jansson cmake
  1. Install python
sudo port install python27
sudo port select --set python python27

sudo port install py27-pip
sudo port select --set pip pip27
  1. Set pkg config environment
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/pkgconfig
export LIBTOOL=glibtool
export LIBTOOLIZE=glibtoolize
export CPPFLAGS="-I/opt/local/include"
export LDFLAGS="-L/opt/local/lib -L/usr/local/lib -Wl,-headerpad_max_install_names"

export PATH=$QT_BASE/bin:$PATH

Compiling libsearpc

Download libsearpc, then:

sudo make install

Compiling seafile

  1. Download seafile
  2. Compile
sudo make install

Compiling seafile-client

  1. Download seafile-client
  2. Compile
cmake .
  1. Run the seafile client executable