Talk:Compiling FileZilla 3 under Windows

From FileZilla Wiki
Revision as of 15:05, 13 May 2009 by CodeSquid (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. --CodeSquid 14:05, 13 May 2009 (UTC)