LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Unable to compile FileZilla on Slackware64 (https://www.linuxquestions.org/questions/slackware-14/unable-to-compile-filezilla-on-slackware64-763081/)

AlvaroG 10-19-2009 10:09 PM

Unable to compile FileZilla on Slackware64
 
Hi guys!
I tried yesterday to compile FileZilla, without success. The ./configure script fails saying LIBGNUTLS is not available.
Actually what is missing is the libgnutls-config binary, which is not included in the stock gnutls package

The 32bit version of the package contains a different version of the library, that does include the required binary. I have both installed thanks to AlienBob's multilib packages.

The thing is I can't compile it even after sourcing 32dev.sh, because it complains that the library headers (from the 64bit package) are for a different version of the library itself (coming from the 32bit package)

I'd like to compile it for 64bit, the issue seems rather stupid (just a config stuff, maybe not even a real compatibility issue), but a 32bit FileZilla would be good also, if I could get it to compile.

The easy solution seems to be to copy the include files from the 32bit package, but I'd like to know if there is a workaround available.


Thanks in advance,
Regards.

tobyl 10-20-2009 04:32 PM

Hi AlvaroG

I don't know if this helps, but I compiled this app successfully on a fairly stock slackware 64 current back in June.
Not sure what libraries etc have changed since then

FileZilla Client
----------------

Version: 3.2.4.1

Build information:
Compiled for: x86_64-unknown-linux-gnu
Compiled on: x86_64-unknown-linux-gnu
Build date: 2009-06-10
Compiled with: gcc (GCC) 4.3.3
Compiler flags: -O2 -fPIC -Wall -g -fexceptions

Dependencies:
wxWidgets: 2.8.10
GnuTLS: 2.8.4

tobyl

AlvaroG 10-20-2009 07:03 PM

Well, it seems that the updated package for gnutls does not include the libgnutls-config utility, while the package for Slack13 does, 32 or 64 bit doesn't matter.

The difference between original and updated packages is quite obvious:

alvaro@alvaro:~# tar tvf gnutls-2.6.6-x86_64-2.tar | grep bin
drwxr-xr-x root/root 0 2009-05-23 01:37 usr/bin/
-rwxr-xr-x root/root 66264 2009-05-23 01:37 usr/bin/gnutls-serv
-rwxr-xr-x root/root 66024 2009-05-23 01:37 usr/bin/gnutls-cli
-rwxr-xr-x root/root 1704 2009-05-23 01:37 usr/bin/libgnutls-extra-config
-rwxr-xr-x root/root 1673 2009-05-23 01:37 usr/bin/libgnutls-config
-rwxr-xr-x root/root 18176 2009-05-23 01:37 usr/bin/psktool
-rwxr-xr-x root/root 23696 2009-05-23 01:37 usr/bin/srptool
-rwxr-xr-x root/root 109288 2009-05-23 01:37 usr/bin/certtool
-rwxr-xr-x root/root 54848 2009-05-23 01:37 usr/bin/gnutls-cli-debug
-rw-r--r-- root/root 758 2009-05-23 01:37 usr/man/man3/gnutls_hex2bin.3.gz

alvaro@alvaro:~# grep bin /var/log/packages/gnutls-2.8.4-x86_64-1_slack13.0
usr/bin/
usr/bin/gnutls-cli-debug
usr/bin/certtool
usr/bin/gnutls-serv
usr/bin/gnutls-cli
usr/bin/psktool
usr/bin/srptool
usr/man/man3/gnutls_hex2bin.3.gz

So my quick 'n' dirty solution was to get back to stock Slack13 package, compile FileZilla, and only then upgrade to gnutls-2.8.4

I don't know if it is something wrong with the upgraded package, a change in gnutls source code, or what. But this way I got it working. I'd like to know which programs depend on gnutls and if any of those that I may want to compile will complain about the same thing...

Thanks for your reply, it was enough to force me to do some more research :)

klein.rfk 10-27-2009 11:53 AM

AlvaroG,

your "quick 'n' dirty" solution work here, and I sent mail to PatrickV, maybe he found the problem and correct with a new patch for gnutls.

sahko 11-02-2009 02:00 PM

Earlier versions of FileZilla didnt build with gnutls-2.8.4. So this doesnt seem to be a problem with the Slackware gnutls package.
I have submitted an updated SlackBuild that should work, at least in 13.0.
I have no idea if its gonna work using multilib though.
And i am guessing it will not build in earlier Slackware versions, but you are free to try to accomplish it.


All times are GMT -5. The time now is 04:11 PM.