Compiling FileZilla 3 and Getting Dependencies on Linux
From FileZilla Wiki
Jump to navigationJump to search
This documentation explains how to setup a build environment for FileZilla 3 and how to compile it under Debian based distributions. This guide has been created under Debian 9 (Stretch), but should work as well on other Debian-based distributions.
Setting up build environment
As root, execute:
apt build-dep filezilla libwxgtk3.0-dev apt install libtool git subversion xdg-utils
Back as normal user, execute:
mkdir ~/prefix export PATH="$HOME/prefix/bin:$PATH" export LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH" export PKG_CONFIG_PATH="$HOME/prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
Getting dependencies
wxWidgets
cd ~ git clone --branch WX_3_0_BRANCH --single-branch https://github.com/wxWidgets/wxWidgets.git wx3 cd wx3 ./configure --prefix="$HOME/prefix" --enable-shared --disable-static --enable-unicode make && make install
libfilezilla
cd ~ svn co https://svn.filezilla-project.org/svn/libfilezilla/tags/0.15.1 lfz cd lfz autoreconf -i ./configure --prefix="$HOME/prefix" --enable-shared --disable-static make && make install
Compiling FileZilla
cd ~ svn co https://svn.filezilla-project.org/svn/FileZilla3/tags/3.40.0 fz cd fz autoreconf -i ./configure --prefix="$HOME/prefix" --enable-shared --disable-static make && make install
And you're done. Type filezilla to start FileZilla.