Compiling FileZilla on OSX

Moderator: Project members

Post Reply
Message
Author
sim0s
504 Command not implemented
Posts: 9
Joined: 2017-01-27 14:42
First name: Simos
Last name: Gerasimou

Compiling FileZilla on OSX

#1 Post by sim0s » 2017-01-27 14:56

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

User avatar
botg
Site Admin
Posts: 33411
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Compiling FileZilla on OSX

#2 Post by botg » 2017-01-27 18:45

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.

User avatar
botg
Site Admin
Posts: 33411
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Compiling FileZilla on OSX

#3 Post by botg » 2017-01-27 18:53


sim0s
504 Command not implemented
Posts: 9
Joined: 2017-01-27 14:42
First name: Simos
Last name: Gerasimou

Re: Compiling FileZilla on OSX

#4 Post by sim0s » 2017-01-27 22:56

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)?

User avatar
botg
Site Admin
Posts: 33411
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Compiling FileZilla on OSX

#5 Post by botg » 2017-01-28 08:32

Install cppunit, re-run configure, then run make check.

sim0s
504 Command not implemented
Posts: 9
Joined: 2017-01-27 14:42
First name: Simos
Last name: Gerasimou

Re: Compiling FileZilla on OSX

#6 Post by sim0s » 2017-01-28 13:20

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?

sim0s
504 Command not implemented
Posts: 9
Joined: 2017-01-27 14:42
First name: Simos
Last name: Gerasimou

Re: Compiling FileZilla on OSX

#7 Post by sim0s » 2017-01-28 14:28

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

User avatar
botg
Site Admin
Posts: 33411
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Compiling FileZilla on OSX

#8 Post by botg » 2017-01-28 19:05

I am doing some research on comparing different versions of open-source software (especially those that have changed their third-party libraries)
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?
Please elaborate, I don't think I understand what you are trying to achieve.

Post Reply