Help: Compile FileZilla 3.5.3 under windows xp
Moderator: Project members
Help: Compile FileZilla 3.5.3 under windows xp
I compiled the FileZilla 3.5.3 under windows xp.
To connect FileZilla Server, it's OK with encryption: Use plain FTP or Require explicit FTP over TLS.
To connect Serv-U, it's OK with encryption: Use plain FTP; But timed out with encryption: Require explicit FTP over TLS. Below is the log:
Status: Connecting to 192.168.1.3:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220 FTP Server for WinSock ready...
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH command OK. Initializing SSL connection.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::ContinueHandshake()
Error: Connection timed out
Trace: CControlSocket::DoClose(2050)
Trace: CFtpControlSocket::ResetOperation(2114)
Trace: CControlSocket::ResetOperation(2114)
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(2114)
Status: Waiting to retry...
Trace: CControlSocket::DoClose(64)
Trace: CControlSocket::DoClose(64)
Thanks for your help.
To connect FileZilla Server, it's OK with encryption: Use plain FTP or Require explicit FTP over TLS.
To connect Serv-U, it's OK with encryption: Use plain FTP; But timed out with encryption: Require explicit FTP over TLS. Below is the log:
Status: Connecting to 192.168.1.3:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220 FTP Server for WinSock ready...
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH command OK. Initializing SSL connection.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::ContinueHandshake()
Error: Connection timed out
Trace: CControlSocket::DoClose(2050)
Trace: CFtpControlSocket::ResetOperation(2114)
Trace: CControlSocket::ResetOperation(2114)
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(2114)
Status: Waiting to retry...
Trace: CControlSocket::DoClose(64)
Trace: CControlSocket::DoClose(64)
Thanks for your help.
Re: Help: Compile FileZilla 3.5.3 under windows xp
Does it work with the official FileZilla binaries? Which version of GnuTLS are you using?
Re: Help: Compile FileZilla 3.5.3 under windows xp
Thanks for your response.
1. The official FileZilla binaries work fine. And libgnutls 2.10.5 is used.
version: 2.10.5 shared 42:14:16
Host type: i686-pc-mingw32
Install prefix: /usr/local
Compiler: gcc -std=gnu99
Warning flags: errors: warnings:
Library types: Shared=no, Static=yes
Valgrind: no
Guile wrappers: no
C++ library: no
OpenSSL library: yes
/dev/crypto: no
2. I changed the file libgnutls-config FROM:
--version)
echo "2.8.6"
exit 0
;;
TO:
--version)
echo "2.10.5"
exit 0
;;
3. Could you tell me the versions of gcc, libs for compiling the official FileZilla 3.5.3 now?
4. The list below is that I used:
mingw-get-inst-20120426.exe
FileZilla_3.5.3_src.tar.bz2
gnutls-2.10.5.tar.bz2
libgcrypt-1.4.6.tar.bz2
libgpg-error-1.10.tar.bz2
libidn-1.22.tar.gz
sqlite-autoconf-3070900.tar.gz
wxWidgets-2.8.12.tar.gz
1. The official FileZilla binaries work fine. And libgnutls 2.10.5 is used.
version: 2.10.5 shared 42:14:16
Host type: i686-pc-mingw32
Install prefix: /usr/local
Compiler: gcc -std=gnu99
Warning flags: errors: warnings:
Library types: Shared=no, Static=yes
Valgrind: no
Guile wrappers: no
C++ library: no
OpenSSL library: yes
/dev/crypto: no
2. I changed the file libgnutls-config FROM:
--version)
echo "2.8.6"
exit 0
;;
TO:
--version)
echo "2.10.5"
exit 0
;;
3. Could you tell me the versions of gcc, libs for compiling the official FileZilla 3.5.3 now?
4. The list below is that I used:
mingw-get-inst-20120426.exe
FileZilla_3.5.3_src.tar.bz2
gnutls-2.10.5.tar.bz2
libgcrypt-1.4.6.tar.bz2
libgpg-error-1.10.tar.bz2
libidn-1.22.tar.gz
sqlite-autoconf-3070900.tar.gz
wxWidgets-2.8.12.tar.gz
Re: Help: Compile FileZilla 3.5.3 under windows xp
Versions of everything you've used seem fine. Which processor do you use? libgcrypt can be problematic if compiled using MinGW on some processors with dedicated crypto instructions.
Re: Help: Compile FileZilla 3.5.3 under windows xp
The problem is solved.
The reason is that I run the compiled FileZilla on my virtual machine, and it's NIC is configured using NAT. After using "Bridged" as network connection, everything is OK.
new questions:
1. There is no list box next to the tool button "Open the Site Manager" in my compiled FileZilla interface. What went wrong?
2. My compiled FileZilla needs the following dlls, why? How can I remove the dependencies?
libgcc_s_dw2-1.dll
libiconv-2.dll
libstdc++-6.dll
Thanks!
The reason is that I run the compiled FileZilla on my virtual machine, and it's NIC is configured using NAT. After using "Bridged" as network connection, everything is OK.
new questions:
1. There is no list box next to the tool button "Open the Site Manager" in my compiled FileZilla interface. What went wrong?
2. My compiled FileZilla needs the following dlls, why? How can I remove the dependencies?
libgcc_s_dw2-1.dll
libiconv-2.dll
libstdc++-6.dll
Thanks!
Re: Help: Compile FileZilla 3.5.3 under windows xp
1) You need to patch your wxWidgets version. See e.g. http://filezilla-project.org/nightlies/ ... 1/patches/
2) That's the way it is with more recent MinGW builds.
2) That's the way it is with more recent MinGW builds.
Re: Help: Compile FileZilla 3.5.3 under windows xp
1. Should I use all these 6 patches:
auibook_trunk.patch
display.patch
hashmap_strict_aliasing.patch
mingw64.patch
opencommand_28.patch
toolbar_dropdown_28branch_draft2.patch
2. I used mingw-get-inst-20120426.exe to install MingW, any suggestion for "more recent MinGW builds"?
Thanks for your help & patience!
auibook_trunk.patch
display.patch
hashmap_strict_aliasing.patch
mingw64.patch
opencommand_28.patch
toolbar_dropdown_28branch_draft2.patch
2. I used mingw-get-inst-20120426.exe to install MingW, any suggestion for "more recent MinGW builds"?
Thanks for your help & patience!
Re: Help: Compile FileZilla 3.5.3 under windows xp
1) In this case only the toolbar dropdown patch is needed. But I would recommend using all of them. It's what is in all official FileZilla releases.
2) 20120426 already is a more recent build. Not recent = whatever antique version of MinGW is in Debian stable. I haven't tried it, but you could try to run configure with LDFLAGS=-static-libstdc++
2) 20120426 already is a more recent build. Not recent = whatever antique version of MinGW is in Debian stable. I haven't tried it, but you could try to run configure with LDFLAGS=-static-libstdc++
Re: Help: Compile FileZilla 3.5.3 under windows xp
After using all patches, the list box appears.
FileZilla can run without libstdc++-6.dll after the following cmd was executed:
export LDFLAGS="-L/local/lib -static-libstdc++"
Perfect.
Thanks.
FileZilla can run without libstdc++-6.dll after the following cmd was executed:
export LDFLAGS="-L/local/lib -static-libstdc++"
Perfect.
Thanks.