How to compile Filezilla3 on Centos5.3 ?
Moderator: Project members
-
- 500 Command not understood
- Posts: 4
- Joined: 2010-07-12 09:16
How to compile Filezilla3 on Centos5.3 ?
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!
[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!
Re: How to compile Filezilla3 on Centos5.3 ?
It looks like GnuTLS is not installed properly, or if multiple versions are installed, that they conflict each other.
-
- 500 Command not understood
- Posts: 4
- Joined: 2010-07-12 09:16
Re: How to compile Filezilla3 on Centos5.3 ?
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.botg wrote:It looks like GnuTLS is not installed properly, or if multiple versions are installed, that they conflict each other.
Re: How to compile Filezilla3 on Centos5.3 ?
How exactly did you install GnuTLS?
-
- 500 Command not understood
- Posts: 4
- Joined: 2010-07-12 09:16
Re: How to compile Filezilla3 on Centos5.3 ?
[root@centos gnutls-2.9.2]# ./configure && make && make installbotg wrote:How exactly did you install GnuTLS?
I have add '/usr/local/lib' to '/etc/ld.so.conf'
Re: How to compile Filezilla3 on Centos5.3 ?
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?
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?
-
- 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 ?
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.
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
-
- 500 Command not understood
- Posts: 4
- Joined: 2010-07-12 09:16
Re: How to compile Filezilla3 on Centos5.3 ?
You are quite right~ Follow your suggestion, I compiled successful! Thank you very much ~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.
Also thank botg's reply~