Page 11 of 14

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-08-29 07:04
by botg
Last time I checked, during installation you could select different versions of the compiler. Instead of 4.9.1, try selecting 4.9.0

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-06 05:15
by FileGamer
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?

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-06 07:27
by botg
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.

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-06 17:05
by FileGamer
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!

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-06 17:46
by botg
Debian Jessie in a virtual machine, that should work.

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-07 01:05
by FileGamer
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?

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-07 07:39
by botg
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.

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-08 02:12
by FileGamer
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?

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-08 06:44
by botg
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.

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-08 11:17
by boco
Ubuntu is based on Debian, as we all know. Should work fine.

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-08 17:30
by botg

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-23 00:51
by FileGamer
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

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-23 08:27
by botg
Ubuntu may use slightly different package names. Adjust them as needed.

If the directory is missing, create it :)

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-25 00:57
by FileGamer
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.

Re: Howto: Compiling FileZilla 3 under Windows

Posted: 2014-09-25 07:26
by botg
- 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.