Howto: Compiling FileZilla 3 under Windows

Moderator: Project members

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

Re: Howto: Compiling FileZilla 3 under Windows

#151 Post by botg » 2014-08-29 07:04

Last time I checked, during installation you could select different versions of the compiler. Instead of 4.9.1, try selecting 4.9.0

FileGamer
450 Internal Error
Posts: 38
Joined: 2014-08-16 06:26

Re: Howto: Compiling FileZilla 3 under Windows

#152 Post by FileGamer » 2014-09-06 05:15

botg wrote:Last time I checked, during installation you could select different versions of the compiler. Instead of 4.9.1, try selecting 4.9.0
4.9.0 gives me the same exact "all-recursive" errors in the last 'make' step for Filezilla.

There's gotta be an easier way to compile this. This is multiple times of going through all the steps on the WIKI page with 4.9.1 and now with 4.9.0 and nothing working. You could probably understand how frustrated I am with this when it's just the last step of the process.

Also, probably a stupid question, but is it possible to compile Filezilla for Windows under OSX? Is there an article for that?

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

Re: Howto: Compiling FileZilla 3 under Windows

#153 Post by botg » 2014-09-06 07:27

Compiler errors are always annoying :|

It should be possible if you build the cross compiler on OS X. I don't know how to do it though.

FileGamer
450 Internal Error
Posts: 38
Joined: 2014-08-16 06:26

Re: Howto: Compiling FileZilla 3 under Windows

#154 Post by FileGamer » 2014-09-06 17:05

botg wrote:Compiler errors are always annoying :|

It should be possible if you build the cross compiler on OS X. I don't know how to do it though.
Well, if compiling for Windows ON Windows doesn't work, and the only other type of computer I have is a mac, what else am I supposed to do? There's gotta be a way to do this!

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

Re: Howto: Compiling FileZilla 3 under Windows

#155 Post by botg » 2014-09-06 17:46

Debian Jessie in a virtual machine, that should work.

FileGamer
450 Internal Error
Posts: 38
Joined: 2014-08-16 06:26

Re: Howto: Compiling FileZilla 3 under Windows

#156 Post by FileGamer » 2014-09-07 01:05

botg wrote:Debian Jessie in a virtual machine, that should work.
You suggest running that virtual machine on a Windows computer, and cross compiling for Filezilla for Windows through Debian in the virtual machine?

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

Re: Howto: Compiling FileZilla 3 under Windows

#157 Post by botg » 2014-09-07 07:39

You suggest running that virtual machine on a Windows computer, and cross compiling for Filezilla for Windows through Debian in the virtual machine?
The latter part yes. You do not need to run the VM on the Windows machine though. You could run it on OS X for extra weirdness ;)

The official FileZilla binaries are cross-compiled, so I know it currently works.

FileGamer
450 Internal Error
Posts: 38
Joined: 2014-08-16 06:26

Re: Howto: Compiling FileZilla 3 under Windows

#158 Post by FileGamer » 2014-09-08 02:12

botg wrote:
You suggest running that virtual machine on a Windows computer, and cross compiling for Filezilla for Windows through Debian in the virtual machine?
The latter part yes. You do not need to run the VM on the Windows machine though. You could run it on OS X for extra weirdness ;)

The official FileZilla binaries are cross-compiled, so I know it currently works.
https://wiki.filezilla-project.org/Cros ... _GNU/Linux

Your wiki article for cross-compiling recommends Ubuntu. Is there better and possibly easier? If so, is there any later version than 10.04 that may work better? Like is 14.04 okay?

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

Re: Howto: Compiling FileZilla 3 under Windows

#159 Post by botg » 2014-09-08 06:44

The cross-compiling guide unfortunately is very outdated. Orient yourself on the compiling on Windows guide and do the thing with the prefix and host from the cross-compiling guide.

I recommend Debian Jessie (currently in testing). While I haven't tried it, Ubuntu 14.04 should work fine as well.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Howto: Compiling FileZilla 3 under Windows

#160 Post by boco » 2014-09-08 11:17

Ubuntu is based on Debian, as we all know. Should work fine.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: Howto: Compiling FileZilla 3 under Windows

#161 Post by botg » 2014-09-08 17:30


FileGamer
450 Internal Error
Posts: 38
Joined: 2014-08-16 06:26

Re: Howto: Compiling FileZilla 3 under Windows

#162 Post by FileGamer » 2014-09-23 00:51

In the third root step, I get this:

E: Unable to locate package wine32

In the first GMP step, I get this:

bash: cd: /home/unbuntu/src: No such file or directory

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

Re: Howto: Compiling FileZilla 3 under Windows

#163 Post by botg » 2014-09-23 08:27

Ubuntu may use slightly different package names. Adjust them as needed.

If the directory is missing, create it :)

FileGamer
450 Internal Error
Posts: 38
Joined: 2014-08-16 06:26

Re: Howto: Compiling FileZilla 3 under Windows

#164 Post by FileGamer » 2014-09-25 00:57

botg wrote:Ubuntu may use slightly different package names. Adjust them as needed.

If the directory is missing, create it :)
Couple of notes for setting up the compiler on Debian Jessie:

- The first time I tried this, I ended up running out of space on the virtual machine. Most boxes will suggest an 8GB or 10GB virtual drive, but that is NOT enough. I was able to set everything up under a 20GB drive.

- The folder created for GMP does not have the 'a' at the end. So the command is: cd gmp-6.0.0

- In order to get the success message for the last step installing NSIS, I had to install lib32ncurses5 and the lib32ncurses5-dev packages.

- For installing GnuTLS, I needed the nettle-dev package.

Someone may want to update the wiki article.

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

Re: Howto: Compiling FileZilla 3 under Windows

#165 Post by botg » 2014-09-25 07:26

- For installing GnuTLS, I needed the nettle-dev package.
That's odd. In particular the nettle-dev package is for Linux and not cross-compiled for Windows.

Post Reply