Difference between revisions of "Client Compile"

From FileZilla Wiki
Jump to navigationJump to search
(Revert to last revision by Danopia)
(Undo vandalism in revision 53140 by 2600:387:2:803:0:0:0:72 (talk))
Tag: Undo
 
(60 intermediate revisions by 35 users not shown)
Line 1: Line 1:
'''NOTE:''' This is outdated information, you will have to check the forums for further instructions.<br>
+
FileZilla 3 has the following dependencies:
== Compiling FileZilla ==
+
 
To compile FileZilla, you need the following programs and tools:
+
* libfilezilla
*'''MS Visual C++ 7.1'''
+
* wxWidgets
*'''MS Platform SDK'''
+
* GnuTLS
:Download latest from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
+
* libidn  (under Unix-like systems)
*'''MS HTML Help Workshop'''
+
* gettext (Compiletime only)
:You can download the latest version of HTML Help Workshop from the Microsoft Website. After installing, you should prepare DevStudio: Go to Tools, Options, Directories, then (assuming that you've installed HTML Help Workshop to C:\Program Files\HTML Help Workshop):
+
* libdbus (under Unix-like systems)
:Under Show directories for choose Include files, click on New and type C:\Program Files\HTML Help Workshop\include
+
 
:Under Show directories for choose Library files, click on New and type C:\Program Files\HTML Help Workshop\lib
+
If you've checked out FileZilla from the SVN repository as opposed to using an official release, you also need the following dependencies:
:Under Show directories for choose Executable files, click on New and type C:\Program Files\HTML Help Workshop
+
 
:Close DevStudio and restart to save the changes.
+
* Perl
*'''NSIS'''
+
* Libtool
:To compile the install script, you have to download and install NSIS. After installing NSIS, right-click the file FileZilla.nsi in the Explorer and choose "Compile NSI".
+
* autoconf
*'''Extra libraties needed for compiling'''
+
* automake
:*'''Zlib'''
+
 
::GNU Zlib library for win32
+
Execute autoreconf -i after installing these additional dependencies.
:*'''IDNA'''
+
 
::Internation Domain Names for Applications
+
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:
 +
 
 +
# [[Compiling FileZilla 3 under Windows]]
 +
# [[Compiling FileZilla 3 under Mac OS X]]
 +
# [[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>.

Latest revision as of 04:05, 12 October 2023

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

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.