Difference between revisions of "Compiling FileZilla 3 and Getting Dependencies on Linux"

From FileZilla Wiki
Jump to navigationJump to search
(Replaced content with "This guide is outdated and no longer works. Look at the history for outdated instructions.")
m (Reverted edits by 2600:387:2:803:0:0:0:72 (talk) to last revision by CodeSquid)
Tag: Rollback
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This guide is outdated and no longer works. Look at the history for outdated instructions.
+
This documentation explains how to setup a build environment for FileZilla 3 and how to compile it under Debian based distributions. This guide assumes you are using Debian stable,  but should work as well on other recent 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 ==
 +
 
 +
Note: This guide is for setting up a development environment. To build the latest officially released versions, download and extract the respective source tarballs instead and skip the autoreconf step.
 +
 
 +
=== 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/trunk 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/trunk 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.

Latest revision as of 08:41, 12 October 2023

This documentation explains how to setup a build environment for FileZilla 3 and how to compile it under Debian based distributions. This guide assumes you are using Debian stable, but should work as well on other recent Debian-based distributions.

Setting up build environment[edit]

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[edit]

Note: This guide is for setting up a development environment. To build the latest officially released versions, download and extract the respective source tarballs instead and skip the autoreconf step.

wxWidgets[edit]

 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[edit]

 cd ~
 svn co https://svn.filezilla-project.org/svn/libfilezilla/trunk lfz
 cd lfz
 autoreconf -i
 ./configure --prefix="$HOME/prefix" --enable-shared --disable-static 
 make && make install

Compiling FileZilla[edit]

 cd ~
 svn co https://svn.filezilla-project.org/svn/FileZilla3/trunk 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.