Talk:Compiling FileZilla 3 under Windows

From FileZilla Wiki
Revision as of 00:58, 28 August 2010 by Netmaster (talk | contribs)
Jump to navigationJump to search

how to edit the code to add something

with notepad... --CodeSquid 23:02, 27 April 2009 (UTC)

If something doesn't work, report the details so that the problem can be solved instead of ignored.


I get the following error when running make for Libiconv:

$ make -j3
builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib"
make[1]: Entering directory `/usr/src/libiconv-1.11.1/libcharset'
cd lib && make all
make[2]: Entering directory `/usr/src/libiconv-1.11.1/libcharset/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/libiconv-1.11.1/libcharset/lib'
make[1]: Leaving directory `/usr/src/libiconv-1.11.1/libcharset'
make[1]: Entering directory `/usr/src/libiconv-1.11.1/libcharset'
cd lib && make all
make[2]: Entering directory `/usr/src/libiconv-1.11.1/libcharset/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/libiconv-1.11.1/libcharset/lib'
cd lib && make install-lib libdir='/usr/src/libiconv-1.11.1/lib' includedir='/usr/src/libiconv-1.11.1/lib'
make[2]: Entering directory `/usr/src/libiconv-1.11.1/libcharset/lib'
/bin/sh ../build-aux/mkinstalldirs /usr/src/libiconv-1.11.1/lib
/bin/sh ../libtool --mode=install /bin/install -c -m 644 libcharset.la /usr/src/libiconv-1.11.1/lib/libcharset.la
/bin/install -c -m 644 .libs/libcharset.lai /usr/src/libiconv-1.11.1/lib/libcharset.la
../libtool: /bin/install: Permission denied
make[2]: *** [install-lib] Error 126
make[2]: Leaving directory `/usr/src/libiconv-1.11.1/libcharset/lib'
make[1]: *** [install-lib] Error 2
make[1]: Leaving directory `/usr/src/libiconv-1.11.1/libcharset'
make: *** [lib/localcharset.h] Error 2

--Trevorparker 15:23, 7 May 2009 (UTC)

Try adding --disable-fast-install to the configure arguments. --CodeSquid 21:51, 7 May 2009 (UTC)

No luck with that. Still getting the same errors. --Trevorparker 04:11, 9 May 2009 (UTC)

Vista user? --CodeSquid 08:52, 10 May 2009 (UTC)

Yeah. Did I screw up? --Trevorparker 19:33, 11 May 2009 (UTC)

Run as administrator. Got it. --Trevorparker 20:00, 11 May 2009 (UTC)

Got through Libiconv. Tried make -j3 on gettext and I get this error:

In file included from ./libxml/parser.h:797,
                from ./libxml/globals.h:19,
                from ./libxml/threads.h:36,
                from ./libxml/xmlmemory.h:217,
                from ./libxml/tree.h:1205,
                from ./libcroco/cr-sel-eng.h:34,
                from term-styled-ostream.oo.c:26:
./libxml/encoding.h:29:19: iconv.h: No such file or directory
In file included from ./libxml/parser.h:797,
                from ./libxml/globals.h:19,
                from ./libxml/threads.h:36,
                from ./libxml/xmlmemory.h:217,
                from ./libxml/tree.h:1205,
                from ./libcroco/cr-sel-eng.h:34,
                from term-styled-ostream.oo.c:26:
./libxml/encoding.h:137: error: syntax error before "iconv_t"
./libxml/encoding.h:137: warning: no semicolon at end of struct or union
./libxml/encoding.h:138: warning: type defaults to `int' in declaration of `iconv_out'
./libxml/encoding.h:138: warning: data definition has no type or storage class
make[4]: *** [term-styled-ostream.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/local/include -g -O2 -c unistr/u8-mbtouc-aux.c -o unistr/u8-mbtouc-aux.o
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/local/include -g -O2 -c unistr/u8-mbtouc.c -o unistr/u8-mbtouc.o
make[4]: Leaving directory `/usr/src/gettext-0.17/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/gettext-0.17/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1

--Trevorparker 18:55, 12 May 2009 (UTC)


Hmpf nothing seems to work on crap Vista, try upgrading to XP. Or just turn off UAC and log into your system as Administrator. --CodeSquid 14:05, 13 May 2009 (UTC)


There's a number of errors on the downloading of individual components, especially for MSYS. It looks like there's been a change in the structure of the folders. I've included the amended list:

http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-core/msys-1.0.15-1/msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-core/msys-1.0.15-1/msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-core/msys-1.0.15-1/msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/bash/bash-3.1.17-3/bash-3.1.17-3-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-3/coreutils-5.97-3-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/regex/regex-1.20090805-2/libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/termcap/termcap-0.20050421_1-2/termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/termcap/termcap-0.20050421_1-2/libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/gettext/gettext-0.17-2/libintl-0.17-2-msys-dll-8.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/libiconv/libiconv-1.13.1-2/libiconv-1.13.1-2-msys-1.0.13-dll-2.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/sed/sed-4.2.1-2/sed-4.2.1-2-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/grep/grep-2.5.4-2/grep-2.5.4-2-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/tar/tar-1.23-1/tar-1.23-1-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/gawk/gawk-3.1.7-2/gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/gettext/gettext-0.17-2/gettext-0.17-2-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/gettext/gettext-0.17-2/gettext-0.17-2-msys-1.0.13-dev.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/gettext/gettext-0.17-2/libasprintf-0.17-2-msys-dll-0.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/bzip2/bzip2-1.0.5-2/libbz2-1.0.5-2-msys-1.0.13-dll-1.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/bzip2/bzip2-1.0.5-2/bzip2-1.0.5-2-msys-1.0.13-bin.tar.lzma/download
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/gzip/gzip-1.3.12-2/gzip-1.3.12-2-msys-1.0.13-bin.tar.lzma/download


Also, I've just set my compliation flags to my profile but when starting the "Libidn", I can't "cd /usr/src" as there's no such directory?!