[OpenIndiana-discuss] Filezilla 3.47.2.1 working

russell stream at willows7.myzen.co.uk
Fri Apr 2 17:08:27 UTC 2021


Hi

Just to let you know I have managed to build Filezilla 3.47.2.1 (depends 
on libfilezilla 0.20.2) and it works. Unfortunately it is not the latest 
which is Filezilla 3.53.1 but this depends on libfilezilla 0.27.0 or 
later which generate C++ errors and this was built with the default gcc 
7.5.0 compiler

Environment  requirements for all builds

$ export PATH=/opt/gnu/bin:$PATH           (you must use the gnu xgettext)


+++++++++++++++++++++++ To build Libfilezilla 0.20.2 +++++++++++++++++++++++

# pkg install pkg-config gnu-gettext doxygen

edit lib/string.cpp replace wcsnrtombs with std::wcsnrtombs

$ CXX=g++ CXXFLAGS="-m64 -I/usr/include/gmp -fpermissive" CPP=cpp CC=gcc 
CFLAGS="-m64"  ./configure --prefix=/opt/gnu --disable-static 
--enable-shared

$ gmake

# gmake install

+++++++++++++++++++++++ To build Libfilezilla 0.20.2 +++++++++++++++++++++++


The standard version of wxwidgets 2.8.12 which is provided with 
OpenIndiana is too old to be used so I downloaded and built WxWidgets 
3.0.5, also you can not use a later development release
Not how difficult it would be bump the WxWidgets from 2.8.12 to 3.0.5


+++++++++++++++++++++++ To build WxWidgets 3.0.5 +++++++++++++++++++++++

$ CC=gcc CFLAGS=-m64 CXX=g++ CXXFLAGS="-m64 -fpermissive" LDFLAGS="-m64 
-L/opt/gnu/lib" 
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/opt/gnu/lib:$PKG_CONFIG_PATH" 
./configure --prefix=/opt/gnu --with-gtk=2 --enable-ipv6

$ gmake

# gmake install

+++++++++++++++++++++++ To build WxWidgets 3.0.5 +++++++++++++++++++++++



+++++++++++++++++++++++ To build Filezilla 3.47.2.1 +++++++++++++++++++++++

$ CXX=g++ CXXFLAGS="-m64 -I/usr/include/idn -I/usr/include/idn2 
-I/usr/include/pugixml -I/opt/gnu/include 
-I/opt/gnu/include/libfilezilla -fpermissive" CPP=cpp CC=gcc 
CFLAGS="-m64 -I/usr/include/idn -I/usr/include/idn2 
-I/usr/include/pugixml -I/opt/gnu/include 
-I/opt/gnu/include/libfilezilla" 
PKG_CONFIG_PATH="/opt/gnu/lib/64/pkgconfig:/opt/gnu/lib/pkgconfig:/usr/lib/64/pkgconfig:$PKG_CONFIG_PATH" 
LDFLAGS="-m64 -L/usr/lib -L/usr/lib/pugixml -L/opt/gnu/lib/64 
-L/opt/gnu/lib" ./configure --prefix=/opt/gnu --enable-shared 
--disable-static --with-pugixml=builtin --disable-dependency-tracking 
--with-wx-prefix=/opt/gnu

$ gmake

# gmake install

+++++++++++++++++++++++ To build Filezilla 3.47.2.1 +++++++++++++++++++++++


In order to allow the filezilla executable you must have

$ export LD_LIBRARY_PATH=/opt/gnu/lib:$LD_LIBRARY_PATH

then you can run assuming you have /opt/gnu/bin in your PATH

$ filezilla


Russell





More information about the openindiana-discuss mailing list