Yes.JeanA wrote:So would the original configure command have worked if I had been using the one labeled "MSYS2 Shell" which references the msys2_shell.bat file?
Howto: Compiling FileZilla 3 under Windows
Moderator: Project members
Re: Howto: Compiling FileZilla 3 under Windows
Re: Howto: Compiling FileZilla 3 under Windows
I'll switch to that one next time then. Thank you again for all of your help. Have a great day!
Re: Howto: Compiling FileZilla 3 under Windows
Fixed in the repository.botg wrote:There's an m4 directory in the src subdirectory? That shouldn't be. I'll investigate.I'm not sure if it means anything, but after running autoreconf -i, the m4/libtool.m4 file had "serial 58 LT_INIT" in it and the src/m4/libtool.m4 still had "serial 57 LT_INIT". I tried copying all the *.m4 files that autoreconf updated in the m4 directory to the src/m4 directory so that they'd match but that didn't help either.
Re: Howto: Compiling FileZilla 3 under Windows
What needs to be added to the wiki instructions in order to compile FileZilla for use on a 32-bit Windows machine?
I've tried adding --host=i686-w64-mingw32 to each configure command (except zlib, which didn't accept it).
I've tried compiling using both the "MSYS2 Shell" shortcut as well as the "MinGW-w64 Win32 Shell" shortcut.
I get the following error during the make command for FileZilla:
Any help would be appreciated.
I've tried adding --host=i686-w64-mingw32 to each configure command (except zlib, which didn't accept it).
I've tried compiling using both the "MSYS2 Shell" shortcut as well as the "MinGW-w64 Win32 Shell" shortcut.
I get the following error during the make command for FileZilla:
Code: Select all
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0xddb): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0xe2e): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x2619): undefined reference to `adler32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x262d): undefined reference to `adler32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x26e0): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x26f4): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x1b52): undefined reference to `inflateReset'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngread.o):pngread.c:(.text+0x4856): undefined reference to `inflateEnd'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x2e4): undefined reference to `inflateReset2'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x31e): undefined reference to `inflateInit2_'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x4e8): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x68a): undefined reference to `inflateReset'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0xab7): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x4771): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x47c9): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwrite.o):pngwrite.c:(.text+0x1aee): undefined reference to `deflateEnd'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x2aa): undefined reference to `deflateInit2_'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x2f2): undefined reference to `deflateEnd'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x382): undefined reference to `deflateReset'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x775): undefined reference to `deflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x11fd): undefined reference to `deflate'
collect2.exe: error: ld returned 1 exit status
Makefile:873: recipe for target 'filezilla.exe' failed
make[4]: *** [filezilla.exe] Error 1
make[4]: Leaving directory '/home/jean/filezilla/src/interface'
Makefile:2586: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/jean/filezilla/src/interface'
Makefile:736: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/jean/filezilla/src/interface'
Makefile:409: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jean/filezilla/src'
Makefile:593: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Re: Howto: Compiling FileZilla 3 under Windows
You need to start over and when setting the environment variables, make sure the 32bit stuff comes before the 64bit stuff. Make sure to configure everything with i686-w64-mingw32 as argument to --buildWhat needs to be added to the wiki instructions in order to compile FileZilla for use on a 32-bit Windows machine?
Re: Howto: Compiling FileZilla 3 under Windows
Worked like a charm.
To quote TheCureForM$ from viewtopic.php?t=2188:
To quote TheCureForM$ from viewtopic.php?t=2188:
TheCureForM$ wrote:I love you.
-
- 500 Command not understood
- Posts: 1
- Joined: 2018-11-14 21:31
- First name: First
- Last name: Last
Re: Howto: Compiling FileZilla 3 under Windows
Hey!
I would appreciate an update on https://wiki.filezilla-project.org/Comp ... er_Windows
Since the versions do not work (anymore?) i would be happy for some hits what versions are used for the current FileZilla on Windows. Did try the old versions and latest versions. The old msys2 from 2015 won't even update correctly on Win10. Changed to latest msys2-x86_64-20180531.exe and old requirements break on paths and dependencies. Latest versions won't do the trick from me because of version conflicts and so on. After four hours i gave up, since i was unable to find a hint for the the right magic ingredients.
Thanks!
Great Project
I would appreciate an update on https://wiki.filezilla-project.org/Comp ... er_Windows
Since the versions do not work (anymore?) i would be happy for some hits what versions are used for the current FileZilla on Windows. Did try the old versions and latest versions. The old msys2 from 2015 won't even update correctly on Win10. Changed to latest msys2-x86_64-20180531.exe and old requirements break on paths and dependencies. Latest versions won't do the trick from me because of version conflicts and so on. After four hours i gave up, since i was unable to find a hint for the the right magic ingredients.
Thanks!
Great Project
Re: Howto: Compiling FileZilla 3 under Windows
The guide should now be updated.
-
- 500 Command not understood
- Posts: 2
- Joined: 2018-12-12 19:06
- First name: Devin
- Last name: Arthur
Re: Howto: Compiling FileZilla 3 under Windows
The build environment worked fine for me with no errors, however, when it comes to compiling (make) filezilla I am left with this error, even though the wx3 package is installed correctly:
/home/lexcyn/prefix/bin/wxrc -g -e ./../src/interface/resources/xrc/*.xrc > "resources.h~" || exit 1
C:/msys64/home/lexcyn/prefix/bin/wxrc.exe: error while loading shared libraries: wxbase30u_xml_gcc_custom.dll: cannot open shared object file: No such file or directory
make[1]: *** [Makefile:583: resources.h] Error 1
make[1]: Leaving directory '/home/lexcyn/filezilla/locales'
make: *** [Makefile:617: all-recursive] Error 1
Any ideas?
/home/lexcyn/prefix/bin/wxrc -g -e ./../src/interface/resources/xrc/*.xrc > "resources.h~" || exit 1
C:/msys64/home/lexcyn/prefix/bin/wxrc.exe: error while loading shared libraries: wxbase30u_xml_gcc_custom.dll: cannot open shared object file: No such file or directory
make[1]: *** [Makefile:583: resources.h] Error 1
make[1]: Leaving directory '/home/lexcyn/filezilla/locales'
make: *** [Makefile:617: all-recursive] Error 1
Any ideas?
Re: Howto: Compiling FileZilla 3 under Windows
Try adding the prefix's lib directory to PATH
-
- 500 Command not understood
- Posts: 2
- Joined: 2018-12-12 19:06
- First name: Devin
- Last name: Arthur
Re: Howto: Compiling FileZilla 3 under Windows
Thanks, that did the trick!
Note I added prefix/lib separately and it didn't work, so I had to do it this way:
echo 'export PATH="$HOME/prefix/bin:/prefix/lib:/mingw64/bin:/mingw32/bin:$PATH"' >> ~/.profile
echo 'export PATH="$HOME/prefix/bin:/prefix/lib:/mingw64/bin:/mingw32/bin:$PATH"' >> ~/.bash_profile
Re: Howto: Compiling FileZilla 3 under Windows
That can't work, missing the home bit.
Re: Howto: Compiling FileZilla 3 under Windows
The OP contains a wrong URL for the repo:
Also, the INSTALL file in the repo contains inaccurate build information:
Should be updated.$ svn co http://filezilla.svn.sourceforge.net/sv ... lla3/trunk FileZilla3
Redirecting to URL 'https://sourceforge.net/projects/filezilla':
svn: E170013: Unable to connect to a repository at URL 'https://sourceforge.net/projects/filezilla'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: syntax error
Also, the INSTALL file in the repo contains inaccurate build information:
There is no configure script.$ mkdir compile
$ cd compile
$ ../configure
bash: ../configure: No such file or directory
Re: Howto: Compiling FileZilla 3 under Windows
botg wrote: ↑2005-08-01 23:52Please follow the instructions in the Wiki: https://wiki.filezilla-project.org/Comp ... er_Windows