Difference between revisions of "Client Compile"

From FileZilla Wiki
Jump to navigationJump to search
(Undo vandalism in revision 53140 by 2600:387:2:803:0:0:0:72 (talk))
Tag: Undo
 
(66 intermediate revisions by 39 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 ==
+
* libfilezilla
 +
* wxWidgets
 +
* GnuTLS
 +
* libidn  (under Unix-like systems)
 +
* gettext (Compiletime only)
 +
* libdbus (under Unix-like systems)
  
To compile FileZilla, you need the following programs and tools:
+
If you've checked out FileZilla from the SVN repository as opposed to using an official release, you also need the following dependencies:
  
<ul>
+
* Perl
<li>'''MS Visual C++ 6'''</li>
+
* Libtool
<li>'''MS Platform SDK'''<br>Download latest from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/</li>
+
* autoconf
<li>'''MS HTML Help Workshop'''<br>
+
* automake
  
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):<br>
+
Execute autoreconf -i after installing these additional dependencies.
  
Under Show directories for choose Include files, click on New and type
+
If all dependencies are installed, compiling FileZilla is as simple as calling
C:\Program Files\HTML Help Workshop\include <br>
+
* ./configure
 +
* make
 +
* make install
  
Under Show directories for choose Library files, click on New and type
+
If anything is missing, the configure script will tell you about it.
C:\Program Files\HTML Help Workshop\lib <br>
 
  
Under Show directories for choose Executable files, click on New and type
+
For more exotic systems, more detailed instructions are provided:
C:\Program Files\HTML Help Workshop <br>
 
Close DevStudio and restart to save the changes. </li>
 
  
<li>'''NSIS'''<br>
+
# [[Compiling FileZilla 3 under Windows]]
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".
+
# [[Compiling FileZilla 3 under Mac OS X]]
</li>
+
# [[Cross Compiling FileZilla 3 for Windows under Debian GNU/Linux]]
  
<li>'''Extra libraties needed for compiling'''<br/>
+
===Packages===
  
'''Zlib'''<br/>
+
On Debian and derivatives like Ubuntu, you can install dependencies with the command shown below.
  
GNU Zlib library for win32<br/>
+
<pre>sudo apt-get install libfilezilla-dev libwxbase3.0-dev gnutls-dev libdbus-1-dev</pre>
  
'''IDNA'''<br/>
+
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>.
  
Internation Domain Names for Applications<br/>
+
On Red Hat and derivatives like Fedora, you can install dependencies with the command shown below.
  
</li>
+
<pre>sudo dnf install libfilezilla-devel wxBase3-devel gnutls-devel</pre>
</ul>
+
 
 +
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.