Compiling FileZilla on OSX
Moderator: Project members
-
- 504 Command not implemented
- Posts: 9
- Joined: 2017-01-27 14:42
- First name: Simos
- Last name: Gerasimou
Compiling FileZilla on OSX
Hi, I've been trying to compile the FileZilla versions 3.11 and 3.24 on Mac but when I run ../configure I get the following error:
configure: error: libgnutls 3.1.12 greater was not found. You can get it from http://gnutls.org/
However, I've installed gnutls using homebrew. Any ideas to resolve the problem are appreciated. Thanks
configure: error: libgnutls 3.1.12 greater was not found. You can get it from http://gnutls.org/
However, I've installed gnutls using homebrew. Any ideas to resolve the problem are appreciated. Thanks
Re: Compiling FileZilla on OSX
Note that we cannot help you with compiling FileZilla 3.11, we cannot support outdated versions.
As for FileZilla 3.24, it requires GnuTLS 3.4.15 or greater.
As for FileZilla 3.24, it requires GnuTLS 3.4.15 or greater.
Re: Compiling FileZilla on OSX
See https://wiki.filezilla-project.org/Comp ... r_Mac_OS_X for instructions.
-
- 504 Command not implemented
- Posts: 9
- Joined: 2017-01-27 14:42
- First name: Simos
- Last name: Gerasimou
Re: Compiling FileZilla on OSX
Thanks, botg.
I am doing some research on comparing different versions of open-source software (especially those that have changed their third-party libraries). That's why I need to compile an older FileZilla version.
I got some help on Stack Overflow and managed to solve the problem. Here is the solution http://stackoverflow.com/questions/4189 ... 0#41899480.
On a different matter, is there any documentation about how I can run the tests for FileZilla (included in the test directory)?
I am doing some research on comparing different versions of open-source software (especially those that have changed their third-party libraries). That's why I need to compile an older FileZilla version.
I got some help on Stack Overflow and managed to solve the problem. Here is the solution http://stackoverflow.com/questions/4189 ... 0#41899480.
On a different matter, is there any documentation about how I can run the tests for FileZilla (included in the test directory)?
Re: Compiling FileZilla on OSX
Install cppunit, re-run configure, then run make check.
-
- 504 Command not implemented
- Posts: 9
- Joined: 2017-01-27 14:42
- First name: Simos
- Last name: Gerasimou
Re: Compiling FileZilla on OSX
Thanks again. I managed to install cppunit and run the test cases.
Is there any way to get some timings/overheads from running filezilla (e.g., from test cases or development code)? Or should I implement my own test cases to achieve this?
Is there any way to get some timings/overheads from running filezilla (e.g., from test cases or development code)? Or should I implement my own test cases to achieve this?
-
- 504 Command not implemented
- Posts: 9
- Joined: 2017-01-27 14:42
- First name: Simos
- Last name: Gerasimou
Re: Compiling FileZilla on OSX
For anyone interested, here is the script I wrote to install filezilla from source
Code: Select all
#! /bin/sh
#based on the answer at
#http://stackoverflow.com/questions/41898925/compiling-filezilla-on-osx/41899480#41899480
#1) Install dependencies as specified in the INSTALL file, i.e.,
# libfilezilla 0.9.0, wxWidgets 3.0.2, libidn, Nettle 3.1, GnuTLS 3.4.15, libdbus, sqlite3 3.7
#2) set PKG_CONFIG_PATH variable for libraries gnutls, nettle, libtasn1; p11-kit, libfilezilla
#make the necessary changes if any library is in a different directory
export PKG_CONFIG_PATH=/usr/local/Cellar/gnutls/3.5.8/lib/pkgconfig
export PKG_CONFIG_PATH=/usr/local/Cellar/nettle/3.3/lib/pkgconfig/:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/local/Cellar/libtasn1/4.10/lib/pkgconfig/:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/local/Cellar/p11-kit/0.23.3/lib/pkgconfig/:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/local/Cellar/libfilezilla-0.9.0/compile/lib/:$PKG_CONFIG_PATH
#3) run the configuration/install scripts
export LIBGNUTLS_CFLAGS=$(pkg-config --cflags gnutls)
export LIBGNUTLS_LIBS=$(pkg-config --libs gnutls)
export LIBFILEZILLA_CFLAGS=$(pkg-config --cflags libfilezilla)
export LIBFILEZILLA_LIBS=$(pkg-config --libs libfilezilla)
if [ -d compile ]; then
rm -rf compile/*
else
mkdir compile
fi
cd compile
../configure --with-pugixml=builtin
make
make install
Re: Compiling FileZilla on OSX
I am doing some research on comparing different versions of open-source software (especially those that have changed their third-party libraries)
Please elaborate, I don't think I understand what you are trying to achieve.Is there any way to get some timings/overheads from running filezilla (e.g., from test cases or development code)? Or should I implement my own test cases to achieve this?