[OpenIndiana-discuss] Successfully built Filezilla 3.47.2.1 on illumos-99e2a6f8e9
russell
stream at willows7.myzen.co.uk
Thu Jun 30 18:02:15 UTC 2022
Hi
I managed to build Filezilla 3.47.2.1 using mostly standard libraries
and gcc 7.5.0
To Build libfilezilla 2.20 prior to building Filezilla 3.47.2.1
PATH=/usr/gnu/bin:$PATH
edit lib/string.cpp replace wcsnrtombs with std::wcsnrtombs
$ CXX=g++ CXXFLAGS="-m64 -I/usr/include/iso -I/opt/gnu/include
-fpermissive" LDFLAGS="-L/usr/lib -L/opt/gnu/lib/64 -L/opt/gnu/lib"
CPP=cpp CPPFLAGS="-I/opt/gnu/include -I/usr/include -I/opt/gnu/include"
CC=gcc CFLAGS="-m64"
PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig:/opt/gnu/lib/64/pkgconfig"
./configure --prefix=/opt/gnu --disable-static --enable-shared
$ gmake
# gmake install
As you can build filezilla using the development version of wx-widgets,
I built wx-3.0.5 stable release
To Build wx-3.0.5
$ CC=gcc CFLAGS=-m64 CXX=g++ CXXFLAGS="-m64 -fpermissive" LDFLAGS=-m64
./configure --prefix=/opt/gnu --enable-printfposparam --without-motif
--with-gtk
$ gmake
# gmake install
Using the libfilezilla 3.47.2.1 and wx-widgets 3.0.5, build requires
/usr/gnu/bin/xgettext to process locales correctly and
/opt/gnu/bin/wx-config
export PATH=/opt/gnu/bin:/opt/gnu/bin:$PATH
$ CXX=g++ CXXFLAGS="-m64 -I/usr/include/idn -I/usr/include/idn2
-I/usr/include/pugixml-1.9 -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-1.9 -I/opt/gnu/include
-I/opt/gnu/include/libfilezilla"
PKG_CONFIG_PATH="/opt/gnu/lib/64/pkgconfig:/opt/gnu/lib/pkgconfig:$PKG_CONFIG_PATH"
LDFLAGS="-m64 -L/usr/lib -L/usr/lib/pugixml-1.9 -L/opt/gnu/lib/64
-L/opt/gnu/lib" ./configure --prefix=/opt/gnu --enable-shared
--disable-static --with-pugixml=builtin --disable-dependency-tracking
$ gmake
# gmake install
$ /opt/gnu/bin/filezilla
Hope you find it useful
Russell
More information about the openindiana-discuss
mailing list