Client Compile: Difference between revisions

From FileZilla Wiki
Jump to navigationJump to search
No edit summary
(Add info on installing packages on Debian and Red Hat.)
Line 29: Line 29:
# [[Compiling FileZilla 3 under Mac OS X]]
# [[Compiling FileZilla 3 under Mac OS X]]
# [[Cross Compiling FileZilla 3 for Windows under Debian GNU/Linux]]
# [[Cross Compiling FileZilla 3 for Windows under Debian GNU/Linux]]
===Packages===
On Debian and derivatives like Ubuntu, you can install dependencies with the command shown below.
<pre>sudo apt-get install libfilezilla-dev libwxbase3.0-dev gnutls-dev libdbus-1-dev</pre>
If you can't find a package on Debian and derivatives, then use <tt>apt-cache</tt> find a package name. For example, <tt>apt-cache search filezilla | grep dev</tt> will reveal the package <tt>libfilezilla-dev</tt>.
On Red Hat and derivatives like Fedora, you can install dependencies with the command shown below.
<pre>sudo dnf install libfilezilla-devel wxBase3-devel gnutls-devel</pre>
If you can't find a package on Red Hat and derivatives, then use <tt>denf</tt> find a package name. For example, <tt>dnf search filezilla | grep dev</tt> will reveal the package <tt>libfilezilla-devel</tt>.

Revision as of 19:19, 27 February 2022

FileZilla 3 has the following dependencies:

  • libfilezilla
  • wxWidgets
  • GnuTLS
  • libidn (under Unix-like systems)
  • gettext (Compiletime only)
  • libdbus (under Unix-like systems)

If you've checked out FileZilla from the SVN repository as opposed to using an official release, you also need the following dependencies:

  • Perl
  • Libtool
  • autoconf
  • automake

Execute autoreconf -i after installing these additional dependencies.

If all dependencies are installed, compiling FileZilla is as simple as calling

  • ./configure
  • make
  • make install

If anything is missing, the configure script will tell you about it.

For more exotic systems, more detailed instructions are provided:

  1. Compiling FileZilla 3 under Windows
  2. Compiling FileZilla 3 under Mac OS X
  3. Cross Compiling FileZilla 3 for Windows under Debian GNU/Linux

Packages

On Debian and derivatives like Ubuntu, you can install dependencies with the command shown below.

sudo apt-get install libfilezilla-dev libwxbase3.0-dev gnutls-dev libdbus-1-dev

If you can't find a package on Debian and derivatives, then use apt-cache find a package name. For example, apt-cache search filezilla | grep dev will reveal the package libfilezilla-dev.

On Red Hat and derivatives like Fedora, you can install dependencies with the command shown below.

sudo dnf install libfilezilla-devel wxBase3-devel gnutls-devel

If you can't find a package on Red Hat and derivatives, then use denf find a package name. For example, dnf search filezilla | grep dev will reveal the package libfilezilla-devel.