How to compile Filezilla3 on Centos5.3 ?

Moderator: Project members

Post Reply
Message
Author
kaweh.candy
500 Command not understood
Posts: 4
Joined: 2010-07-12 09:16

How to compile Filezilla3 on Centos5.3 ?

#1 Post by kaweh.candy » 2010-07-12 09:47

when I compiled Filezilla3.3.3 on Centos5.3_x86_64, error as follows:

[root@centos filezilla-3.3.3]# libgnutls-config --version
1.4.1
[root@centos filezilla-3.3.3]# ./configure
...
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 1.5.4...
*** LIBGNUTLS header file (version 2.9.2) does not match
*** library (version 1.4.1)

configure: error:
***
*** libgnutls was not found. You may want to get it from
*** ftp://ftp.gnutls.org/pub/gnutls/

Any ideas are welcome! Thanks!

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

Re: How to compile Filezilla3 on Centos5.3 ?

#2 Post by botg » 2010-07-12 18:57

It looks like GnuTLS is not installed properly, or if multiple versions are installed, that they conflict each other.

kaweh.candy
500 Command not understood
Posts: 4
Joined: 2010-07-12 09:16

Re: How to compile Filezilla3 on Centos5.3 ?

#3 Post by kaweh.candy » 2010-07-14 01:27

botg wrote:It looks like GnuTLS is not installed properly, or if multiple versions are installed, that they conflict each other.
I have tried to overwrite the old version many times, but every time was the same error. If I could reconfiguration the configure file, may be "./configure" successful.

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

Re: How to compile Filezilla3 on Centos5.3 ?

#4 Post by botg » 2010-07-14 05:51

How exactly did you install GnuTLS?

kaweh.candy
500 Command not understood
Posts: 4
Joined: 2010-07-12 09:16

Re: How to compile Filezilla3 on Centos5.3 ?

#5 Post by kaweh.candy » 2010-07-14 08:53

botg wrote:How exactly did you install GnuTLS?
[root@centos gnutls-2.9.2]# ./configure && make && make install
I have add '/usr/local/lib' to '/etc/ld.so.conf'

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

Re: How to compile Filezilla3 on Centos5.3 ?

#6 Post by botg » 2010-07-14 18:09

Note that GnuTLS 2.9.2 is an in-progress development version. I trust you know what you are doing?

Some old version of GnuTLS is probably installed in another prefix that takes precedence. Remove that old version.

Last but not least, why don't you simply install GnuTLS through your distribution's package management tool?

jdratlif
226 Transfer OK
Posts: 392
Joined: 2008-12-30 10:30
First name: John
Last name: Ratliff
Location: In a small white padded room.

Re: How to compile Filezilla3 on Centos5.3 ?

#7 Post by jdratlif » 2010-07-15 04:57

You'll need to add the pkg-config path so that FileZilla can use the proper version. Try this before you configure FileZilla.

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

That may need adjusting. Most configures default to /usr/local, so I'm assuming that's where you have it installed. Look for something like gnutls.pc. Whatever directoty that file is in is what needs to be added to the PKG_CONFIG_PATH.
http://jdrrant.blogspot.com/ - CODEpendent Blog

kaweh.candy
500 Command not understood
Posts: 4
Joined: 2010-07-12 09:16

Re: How to compile Filezilla3 on Centos5.3 ?

#8 Post by kaweh.candy » 2010-07-16 04:57

jdratlif wrote:You'll need to add the pkg-config path so that FileZilla can use the proper version. Try this before you configure FileZilla.

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

That may need adjusting. Most configures default to /usr/local, so I'm assuming that's where you have it installed. Look for something like gnutls.pc. Whatever directoty that file is in is what needs to be added to the PKG_CONFIG_PATH.
You are quite right~ Follow your suggestion, I compiled successful! Thank you very much ~ :P
Also thank botg's reply~ :)

Post Reply