Howto: Compiling FileZilla 3 under Windows

Moderator: Project members

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

#61 Post by botg » 2007-05-18 14:42

Learning yet another build system? What a nightmare.

eyebex
226 Transfer OK
Posts: 171
Joined: 2004-04-02 15:24

#62 Post by eyebex » 2007-05-18 17:32

botg wrote:Learning yet another build system? What a nightmare.
You shouldn't judge from autotools about other build systems ;-)

mkman
504 Command not implemented
Posts: 6
Joined: 2007-07-01 01:00

#63 Post by mkman » 2007-07-01 01:16

Hello every one,

i need ur help after i did every thing i know to solve my problem ..

I am working on vista, and i have c : and f: drives

i have downloaded

MinGW-5.1.3 in F:\dev\mingw

MSYS-1.0.11-2004.04.30-1 in F:\dev\msys\1.0

msysDTK-1.0.1 in F:\dev\msys

i made directory with the name

F:\dev\msys\1.0\home\Duli

and i have created

.bash_history and .profile and src

i have extract libtool-1.5.24 inside src and i tried to install it throgh the cammand

./configure --prefix=

but every time i do this i get this error

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 a thread-safe mkdir -p... /bin/mkdir -p
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.

---------------------------------------------

this what i found in .bash_history

Code: Select all

echo"export LDFLAGS=-L/local/lib" >~/.profile
echo "export LDFLAGS=-L/Duli/lib"~/.profile
echo "export CPPFLAGS=-I/Duli/include">>~/.profile
exit
mkdir /Duli/src
is
Is
IS
mkdir /Duli/src
cd /Duli
mkdir /f/usr/src
mkdir /f/usr
mkdir /f/sur/src
mkdir /f/usr/src
cd /f/usr/src
tar -xvzt /f/dev/download/libtool-1.5.24.tar.gz
tar -xvzt /f/dev.download/libtool-1.5.24.tar.gz
cd /f/usr/src
tar -xvzt /f/dev/download/libtool-1.5.22.tar.gz
tar -xvzf /f/dev/download/libtool-1.5.24.tar.gz
cd libtool-1.5.24
./configure --prefix=
cd /f/dev
cd msys
cd 1.0
cd home
cd Duli
tar -xvzf /f/dev/download/libtool-1.5.24.tar.gz
cd libtool-1.5.24
./configure --prefix=
cd /f/
cd /f/usr/src
echo"export LDFLAGS=-I/f/usr/src/lib">~/.profile
echo"export LDFLAGS=-I/Duli/lib"~/.profile
echo"expot CPPFLAGS=-I/Duli/include">>~/.profile
exit
----------------------------

any help please !!!

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

#64 Post by botg » 2007-07-01 08:46

mkman, try the libtool version mentioned in the instructions.

mkman
504 Command not implemented
Posts: 6
Joined: 2007-07-01 01:00

#65 Post by mkman » 2007-07-01 15:13

i did it but still having problem

F:\dev\msys\1.0\home\Duli\src



what is local in this case

echo"export LDFLAGS=-I/local/lib">~/.profile

because it say that there is no file or dircoty , what is the write thing ..


is this ok for

MSYS-1.0.11-2004.04.30-1

to be in dirctory with the name 1.0 as F:\dev\msys\1.0
or it have to be in msys directory without the 1.0 directory

thank u

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

#66 Post by botg » 2007-07-01 17:12

If you install it some other directory as the one described in the instructions, you'll have to change all other directories as well.

mkman
504 Command not implemented
Posts: 6
Joined: 2007-07-01 01:00

#67 Post by mkman » 2007-07-01 20:59

i have deleted everything and start as explained ..

but still having same proplem

Code: Select all



Duli@DULI-PC /usr/src/libtool-1.5.24/libtool-1.5.22
$ ./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.

Duli@DULI-PC /usr/src/libtool-1.5.24/libtool-1.5.22
$ 


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

#68 Post by botg » 2007-07-01 21:55

Have you tried Windows XP yet? Vista isn't exactly a good platform for software development.

mkman
504 Command not implemented
Posts: 6
Joined: 2007-07-01 01:00

#69 Post by mkman » 2007-07-01 22:04

do u know what is the best dev inviorment .. i would like to install linux but i have no idea where i should start from ..

thank u

Superracingteam
150 Opening data channel
Posts: 55
Joined: 2004-05-18 15:41

#70 Post by Superracingteam » 2007-07-02 17:18

mkman wrote:do u know what is the best dev inviorment .. i would like to install linux but i have no idea where i should start from ..

thank u
Method that worked very well for me:

Download Ubuntu:
http://releases.ubuntu.com/7.04/

Put it in your CD-tray, reboot, and at startup you should boot from CD (go into the boot-menu, the key for that is given normally at startup)

Installion is normally straight-forwarded, but for instructions with screenshots: https://help.ubuntu.com/community/GraphicalInstall?

This also seems to be a good comparison: https://help.ubuntu.com/community/Switc ... romWindows

mkman
504 Command not implemented
Posts: 6
Joined: 2007-07-01 01:00

#71 Post by mkman » 2007-07-03 02:25

thank you :)

before i read this i downloaded the operating system but these links will help me more .. thank u

i would like to show u something just for fun

http://youtube.com/watch?v=xC5uEe5OzNQ


can you guys tell me what is the next steps :)

how to donwload filezilla using linux :)

Decimator
500 Command not understood
Posts: 2
Joined: 2007-11-08 18:28

#72 Post by Decimator » 2007-11-08 18:35

There is nothing listed under this link:

Download and install MSYS Developer Toolkit executable:
http://sourceforge.net/project/showfile ... _id=158856
Install to c:\dev\msys as well.

I assume that is why a later step doesn't find perl?

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

Re: Howto: Compiling FileZilla 3 under Windows

#73 Post by botg » 2008-06-11 21:59

I've updated the guide with the latest versions of m4, Libtool, Autoconf, Automake, libiconv, libidn, gettext, libgpg-error, libgcrypt, gnutls and wxWidgets.

Replika
500 Command not understood
Posts: 1
Joined: 2008-07-13 02:39

Re: Howto: Compiling FileZilla 3 under Windows

#74 Post by Replika » 2008-07-13 02:59

I follow the tutorial but have error at libidn step:

Code: Select all

$ cd compile
$ ../configure --disable-shared --enable-static --disable-nls
(...)
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

$ cd lib
$ make -j3
(...)
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/strerror-stringprep.Tpo .deps/strerror-stringprep.Plo
make[1]: *** Waiting for unfinished jobs....
 gcc -std=gnu99 -DLIBIDN_BUILDING -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../../lib/gl -Igl -I/local/include -I/usr/local/include -g -O2 -MT tld.lo -MD -MP -MF .deps/tld.Tpo -c ../../lib/tld.c -o tld.o
mv -f .deps/tld.Tpo .deps/tld.Plo
 gcc -std=gnu99 -DLIBIDN_BUILDING -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../../lib/gl -Igl -I/local/include -I/usr/local/include -g -O2 -MT tlds.lo -MD -MP -MF .deps/tlds.Tpo -c ../../lib/tlds.c -o tlds.o
mv -f .deps/tlds.Tpo .deps/tlds.Plo
make[1]: Leaving directory `/usr/src/libidn-1.8/compile/lib'
make: *** [all] Error 2

$ make install
make  install-am
make[1]: Entering directory `/usr/src/libidn-1.8/compile/lib'
make[1]: *** No rule to make target `gl/libgnu.la', needed by `libidn.la'.  Stop.
make[1]: Leaving directory `/usr/src/libidn-1.8/compile/lib'
make: *** [install] Error 2
And in the wiki, I do not find gnutls-2.2.5.tar.bz2, may be you mean 2.5.2

networe
504 Command not implemented
Posts: 7
Joined: 2009-05-05 18:14
First name: sadsadds
Last name: sadsdasda

Re:

#75 Post by networe » 2009-05-05 18:16

botg wrote:Section 4: Compile FileZilla 3

4.1 Download FZ3 from SVN:

Code: Select all

cd ~/source
svn co http://filezilla.svn.sourceforge.net/svnroot/filezilla/FileZilla3/trunk FileZilla3
4.2 Generate configure

Code: Select all

cd FileZilla3
./autogen.sh
4.3 Compile FileZilla 3

Code: Select all

mkdir compile
cd compile
../configure --prefix=/opt/FileZilla3
make
4.4 Generate installer

Rightclick compile/data/install.nsi in Explorer and use "Compile NSIS Script" from context menu.
Step 4.3:

configure: error:
wxWidgets must be installed on your system
but wx-config script couldn't be found.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.8.9 or above.

What should I do??
And how to do it??

Post Reply