Howto: Compiling FileZilla 3 under Windows

Moderator: Project members

Message
Author
mastigos
504 Command not implemented
Posts: 7
Joined: 2014-04-27 20:45
First name: k
Last name: s

Re: Howto: Compiling FileZilla 3 under Windows

#136 Post by mastigos » 2014-04-27 22:48

botg wrote:Peculiar. What's the output of the following? gcc -v
after running the make -j3 command I did gcc-v and got "command not found"


My computer:
Windows 7, 64 bit operating system , intel core i7 processor, alienware
Attachments
gcc-v not found.JPG
gcc-v not found.JPG (14.48 KiB) Viewed 15446 times
minus j3_2.JPG
- j3 2
minus j3_2.JPG (217.33 KiB) Viewed 15446 times
minus j3_1.JPG
- j3 1
minus j3_1.JPG (188.54 KiB) Viewed 15446 times

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

Re: Howto: Compiling FileZilla 3 under Windows

#137 Post by botg » 2014-04-28 05:23

mastigos wrote:
botg wrote:Peculiar. What's the output of the following? gcc -v
after running the make -j3 command I did gcc-v and got "command not found"
There's a space missing between the gcc and the -v.

mastigos
504 Command not implemented
Posts: 7
Joined: 2014-04-27 20:45
First name: k
Last name: s

Re: Howto: Compiling FileZilla 3 under Windows

#138 Post by mastigos » 2014-04-28 09:12

botg wrote:
mastigos wrote:
botg wrote:Peculiar. What's the output of the following? gcc -v
after running the make -j3 command I did gcc-v and got "command not found"
There's a space missing between the gcc and the -v.
so there is
Attachments
gcc-v.JPG
gcc-v.JPG (59.94 KiB) Viewed 15426 times

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

Re: Howto: Compiling FileZilla 3 under Windows

#139 Post by botg » 2014-04-28 16:54

I see. That's not the compiler known to work as listed on the FileZilla Wiki.

I'm unfamiliar with your particular setup, and the problem occurs compiling a third-party library. I'm afraid I can't be of much help in this case :(

mastigos
504 Command not implemented
Posts: 7
Joined: 2014-04-27 20:45
First name: k
Last name: s

Re: Howto: Compiling FileZilla 3 under Windows

#140 Post by mastigos » 2014-04-28 16:59

botg wrote:I see. That's not the compiler known to work as listed on the FileZilla Wiki.

I'm unfamiliar with your particular setup, and the problem occurs compiling a third-party library. I'm afraid I can't be of much help in this case :(
I followed the wiki ... if there's any way to get it working I'd be quite happy to hear it.

Also , do you have any reccomendations for alternative ways to compile and edit filezilla? I am working on it as part of a school project and I've been ramming my head against the compilation issue for a while now. I wish I had thought to ask the forum before my deadline got so close

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

Re: Howto: Compiling FileZilla 3 under Windows

#141 Post by botg » 2014-04-28 18:05

As per https://wiki.filezilla-project.org/Comp ... er_Windows, you should have GCC 4.5, not 4.8.

As alternative, there's also the guide for cross-compiling FileZilla: https://wiki.filezilla-project.org/Cros ... _GNU/Linux, it's actually the way the official FileZilla binaries are currently being built.

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

Re: Howto: Compiling FileZilla 3 under Windows

#142 Post by FileGamer » 2014-08-23 22:31

Hi, I've been working on compiling Filezilla 3 under Windows. I followed your instructions in the wiki exactly and everything installed fine. In the last step after I've downloaded Filezilla's trunk and changed the directory, i go to execute the autoreconf -i. I get these errors:

locales/Makefile.am:46: warning: 'x'-style pattern rules are a GNU make extension
locales/Makefile.am:50: warning: 'x'-style pattern rules are a GNU make extension

Then why i enter the ./configure --with-tinyxml=builtin command, I don't get an error. But when I go to make, cc1plus.exe stops working. This causes mingw32 to give me this:

Image

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

Re: Howto: Compiling FileZilla 3 under Windows

#143 Post by botg » 2014-08-24 08:52

You have a strange directory structure there. You were following the guide too literal. I'll adjust the guide to account for this. Nonetheless, it shouldn't cause this compile error.

Can you please post a bit larger section of the output?

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

Re: Howto: Compiling FileZilla 3 under Windows

#144 Post by FileGamer » 2014-08-24 20:17

botg wrote:You have a strange directory structure there. You were following the guide too literal. I'll adjust the guide to account for this. Nonetheless, it shouldn't cause this compile error.

Can you please post a bit larger section of the output?
I saw the wiki edits with changing directories and I re-did everything from scratch. Everything installed fine, but thing still don't go well at the Filezilla compile steps. autoreconf -i gives this:

Image

The configure command still doesn't give any error, but the make command does where cc1plus.exe stops working:

Image

When I click cancel, the window shows this:

Image

And from there, I don't know what to do.

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

Re: Howto: Compiling FileZilla 3 under Windows

#145 Post by botg » 2014-08-24 20:38

It's a compiler error. Which version are you using, ie. what's the output of gcc -v ?

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

Re: Howto: Compiling FileZilla 3 under Windows

#146 Post by FileGamer » 2014-08-24 23:55

botg wrote:It's a compiler error. Which version are you using, ie. what's the output of gcc -v ?
Image

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

Re: Howto: Compiling FileZilla 3 under Windows

#147 Post by botg » 2014-08-25 07:03

Looks like we need to wait for the next compiler version.

In the meantime, you could try a slightly older version of the compiler, e.g. 4.9.0 (rev 2).

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

Re: Howto: Compiling FileZilla 3 under Windows

#148 Post by FileGamer » 2014-08-25 07:25

botg wrote:Looks like we need to wait for the next compiler version.

In the meantime, you could try a slightly older version of the compiler, e.g. 4.9.0 (rev 2).
So in other words, I'm probably not doing anything wrong here? Also, when i download 4.9.0, do I have re-do everything from the beginning on that wiki page? Because that would be the third time I'm doing this.

Is there like a pre-compiled compiler I can download for Filezilla where its just enter the filezilla directory and it will compile it into the necessary executables.

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

Re: Howto: Compiling FileZilla 3 under Windows

#149 Post by botg » 2014-08-26 07:08

You may or may not have to start over. Only trying it out will bring clarity.
[Is there like a pre-compiled compiler I can download for Filezilla where its just enter the filezilla directory and it will compile it into the necessary executables.
Yes, that's what the guide does. But it's not working for you for some reason.

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

Re: Howto: Compiling FileZilla 3 under Windows

#150 Post by FileGamer » 2014-08-28 22:24

botg wrote:You may or may not have to start over. Only trying it out will bring clarity.
[Is there like a pre-compiled compiler I can download for Filezilla where its just enter the filezilla directory and it will compile it into the necessary executables.
Yes, that's what the guide does. But it's not working for you for some reason.
I've been having trouble finding an older version of the compiler. Do you happen to have a link?

Post Reply