Howto: Compiling FileZilla 3 under Windows

Moderator: Project members

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

#16 Post by botg » 2006-06-09 19:29

Do you have this in /home/$USERNAME/.profile?

Code: Select all

export LDFLAGS=-L/local/lib
export CPPFLAGS=-I/local/include
Last edited by botg on 2006-06-10 09:29, edited 1 time in total.

war59312
500 Command not understood
Posts: 5
Joined: 2006-05-30 09:41
Location: U.S.A

#17 Post by war59312 » 2006-06-10 08:39

Hey,

You mean .profile ?

Well, I started over again and now I get:

Code: Select all

$ ./configure --prefix=
configure: loading site script /etc/config.site
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
And here is the full config.log file:

http://home.sc.rr.com/newbieslair/config.log

Any ideas?

Update:

Thanks a ton rccall!

In your other post you talked about fstab. Yeah it was not created here either because of the bad installer. Added that line and removed .sample from the file name and now it worked. :)

Thanks,

Will
Last edited by war59312 on 2006-06-10 09:32, edited 1 time in total.
God Bless America

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

#18 Post by botg » 2006-06-10 09:31

I really wonder what's so difficult to properly setup the mingw environment. I've done it at least 5 times now according to the guide, never had any such problems.

war59312
500 Command not understood
Posts: 5
Joined: 2006-05-30 09:41
Location: U.S.A

#19 Post by war59312 » 2006-06-10 09:58

Hey,

The installer is bad like rccall explained in the other post. :(

I am now at part 2.2 of the guide and I now get this error:

Code: Select all

Administrator@WILL /
$ mkdir /opt/wxWidgets
mkdir: cannot create directory `/opt/wxWidgets': No such file or directory
Um, there is no opt folder anywhere. So just create it? But under what if so?

I mean what is the full directory, "C:\dev\msys\opt\" ?

Guess not since next command does not work either:

Code: Select all

Administrator@WILL /
$ cd /devel
sh: cd: /devel: No such file or directory
Thanks for any help,

Will
God Bless America

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

#20 Post by botg » 2006-06-10 12:05

Thanks for spotting this war59312, I've updated the guide.

wophp
500 Command not understood
Posts: 5
Joined: 2006-06-12 11:40

error: C compiler cannot create executables

#21 Post by wophp » 2006-06-12 11:44

What is this error?
Why so?
Can someone help to deal with this error?

Code: Select all

checking for toolkit... msw
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Last edited by wophp on 2006-06-17 17:00, edited 2 times in total.
I found people here are intelligent and friendly.
My english is not very good.

wophp
500 Command not understood
Posts: 5
Joined: 2006-06-12 11:40

About install the msys.

#22 Post by wophp » 2006-06-12 11:53

When install the msys.
When I Chose c:\dev\msys as installation directory.
It will auto install in to the c:\dev\msys\1.0.
Will it case any problems?
Last edited by wophp on 2006-06-17 17:01, edited 1 time in total.
I found people here are intelligent and friendly.
My english is not very good.

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

#23 Post by botg » 2006-06-12 13:15

Wophp, please reinstall msys and follow the instructions in the postinstall script.

rccall
550 Permission denied
Posts: 26
Joined: 2006-06-05 19:15
Location: NJ

LDFLAGS etc.

#24 Post by rccall » 2006-06-12 20:24

Botg,

Yes, I have LDFLAGS and CPPFLAGS set as in your post (and as in the guide).

That's why it's such a mystery to me that the build process seems to be having so much trouble finding the libidn stuff.

Any thoughts on how to get around this problem?

rccall
550 Permission denied
Posts: 26
Joined: 2006-06-05 19:15
Location: NJ

Found it!

#25 Post by rccall » 2006-06-12 20:37

OK, I think I finally got to the bottom of this:

The capital I and capital L in the MinGW font, and in the font used for the instructions, look remarkably similar.

The problem was that I had used an I instead of an L in the LDFLAGS variable.

Once I corrected that problem, the configure and make steps ran OK.

war59312
500 Command not understood
Posts: 5
Joined: 2006-05-30 09:41
Location: U.S.A

#26 Post by war59312 » 2006-06-12 22:11

Hey,

No problem! Thanks for the update. :)

Wophp that is the same error I was getting. You need to manually create the "C:\dev\msys\etc\fstab" file:

c:/dev/mingw /mingw

Yeah just that one liner. This problem is caused by the installer. It has a nasty bug atm that causes this problem.

So now I am trying to download (section 4.1) FZ3 from CVS. After typing in the first command it is asking for a password which is pretty odd. :(

Update: oh lol just push enter he-he might want to add some tips for newbies ;)

Building FZ3 right now. No errors yet. :D

Um might want to say the default full dir for the install script: "C:\dev\msys\home\Administrator\source\FileZilla3\compile\data" so newbies know what you mean. :oops:

Sweet, everything went pefect. Build completed fine. :) Finally!

Though it kinda sucks it does not show how long it will take to create the installer in NSIS. Even though it's not long. Would still be nice. And would also be nice if you could control build piroity.

Take Care,

Will
God Bless America

wophp
500 Command not understood
Posts: 5
Joined: 2006-06-12 11:40

Thank

#27 Post by wophp » 2006-06-17 16:56

Thank you very much for all you help.
I would like to try again. :D
I found people here are intelligent and friendly.
My english is not very good.

lkfstephen
500 Command not understood
Posts: 1
Joined: 2006-06-20 05:52

#28 Post by lkfstephen » 2006-06-20 05:58

I have completed 1.7.2. But I have trouble when 1.7.3.
Administrator@STEPHEN /usr/src
$ ls
autoconf-2.59 libtool-1.5.22

Administrator@STEPHEN /usr/src
$ cd autoconf-2.59/

Administrator@STEPHEN /usr/src/autoconf-2.59
$ ./configure --prefix=
configure: loading site script /etc/config.site
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for expr... /bin/expr
checking for gm4... no
checking for gnum4... no
checking for m4... /bin/m4
checking whether m4 supports frozen files... yes
checking for perl... no
configure: error: perl is not found

Administrator@STEPHEN /usr/src/autoconf-2.59
$
What is my problem.... It say perl is not found.

wophp
500 Command not understood
Posts: 5
Joined: 2006-06-12 11:40

#29 Post by wophp » 2006-06-28 09:03

lkfstephen I have the same problem

Code: Select all

GuanYongze@GUANYONG-STUDIO /usr/src/autoconf-2.59
$ ./configure --prefix=
configure: loading site script /etc/config.site
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for expr... /bin/expr
checking for gm4... no
checking for gnum4... no
checking for m4... /bin/m4
checking whether m4 supports frozen files... yes
checking for perl... no
configure: error: perl is not found
I found people here are intelligent and friendly.
My english is not very good.

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

#30 Post by botg » 2006-06-28 09:39

Please restart from scratch, there's some package you must have installed improperly. (msys developer toolkit could possibly be the culprit)

Post Reply