Thank you for the updated instructions. I did try starting over and using them.
Regarding:
Code: Select all
rm /mingw32/i686-w64-mingw32/lib/libpthread.dll.a
rm /mingw32/i686-w64-mingw32/lib/libwinpthread.dll.a
rm /mingw64/x86_64-w64-mingw32/lib/libpthread.dll.a
rm /mingw64/x86_64-w64-mingw32/lib/libpthread.dll.a
I assume that last line should be:
Code: Select all
rm /mingw64/x86_64-w64-mingw32/lib/libwinpthread.dll.a
I tried replacing
with
but was unable to configure zlib using those instructions.
Code: Select all
$ ./configure --prefix="$HOME/prefix" --static
Checking for gcc...
Please use win32/Makefile.gcc instead.
** ./configure aborting.
In the end, I used steps based on the original msys2 instructions:
Code: Select all
cd ~
git clone https://github.com/rexdf/build_filezilla_on_msys2.git
cp build_filezilla_on_msys2/*.patch ~
cd ~
git clone https://github.com/Alexpux/MINGW-packages.git
cd ~/MINGW-packages
git apply ../mingw-w64-zlib.patch
cd mingw-w64-zlib
makepkg-mingw -sLf
cp mingw-w64-i686-zlib-1.2.8-9-any.pkg.tar.xz ~/
cd ~
tar axvf mingw-w64-i686-zlib-1.2.8-9-any.pkg.tar.xz -C "$HOME/prefix" --transform 's,^mingw32/,./,' --strip-components=1
Regardless of following these new instructions or the older ones for msys2, I ended up getting the same error during the filezilla (3.13.1) make:
Code: Select all
make[3]: Entering directory '/home/jean/filezilla/src/fzshellext/32'
/bin/sh ./libtool --tag=CXX --mode=compile i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I/home/jean/filezilla/src/fzshellext \
-I./.. -I/home/jean/build/include -fno-exceptions -fno-rtti -g -O2 -Wall -g -std=gnu++14 -MT libfzshellext_la-shellext.lo -MD -MP -MF \
.deps/libfzshellext_la-shellext.Tpo -c -o libfzshellext_la-shellext.lo `test -f 'shellext.cpp' || echo '/home/jean/filezilla/src/fzshellext/'`shellext.cpp
libtool: Version mismatch error. This is libtool 2.4.2 Debian-2.4.2-1.11, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1.11
libtool: and run autoconf again.
Makefile:498: recipe for target 'libfzshellext_la-shellext.lo' failed
make[3]: *** [libfzshellext_la-shellext.lo] Error 63
make[3]: Leaving directory '/home/jean/filezilla/src/fzshellext/32'
Makefile:376: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/jean/filezilla/src/fzshellext/32'
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
I tried, unsuccessfully, to follow various instructions on resolving that error including the steps listed on
http://stackoverflow.com/questions/2878 ... iblinphone in some combination or another both in the filezilla directory and its src/fzshellext subdirectory.
Skipping the autoreconf line ended up working but I assume there are better ways.