Install xcode
Install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
Then install seafile from homebrew
brew tap Chilledheart/seafile
brew install seafile-client
If you face any installation issue, please report it with your homebrew logs
If it is an issue while using homebrewed seafile, please report it with your seafile logs
Install xcode
Install macports
Install following libraries and tools using port
sudo port install autoconf automake pkgconfig libtool glib2 \
libevent vala openssl git qt4-mac python27 jansson
Install python
sudo port install py27-pip
sudo port select --set python python27
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"
Download libsearpc, then:
./autogen.sh
./configure
make
sudo make install
Download ccnet, then:
./autogen.sh
./configure
make
sudo make install
Compile
./autogen.sh
./configure --disable-fuse
make
sudo make install
execute the building script:
./scripts/build.py
Go to Release directory and see if seafile-applet.app
can run correctly.
install_name_tool
reports "malformed object" "unknown load command", It may be the version of xcode command line tools incompatible with install_name_tool
.