Editing Compiling FileZilla 3 and Getting Dependencies on Linux

From FileZilla Wiki
Jump to navigationJump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
  
 
== Setting up build environment ==
 
== 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 ==
 
== 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 ===
 
=== 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 ===
 
=== 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 ==
 
== 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.
 

Please note that all contributions to FileZilla Wiki are considered to be released under the GNU Free Documentation License 1.2 (see FileZilla Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)