[OpenIndiana-discuss] Filezilla 3.41.2 GUI

russell stream at willows7.myzen.co.uk
Sat Jun 22 07:40:55 UTC 2019


Hi,

Having tried gcc 6,7 and 8 trying to build Filezilla 3.31.0 and 3.41.2

CXX=/usr/gcc/8/bin/g++ CXXFLAGS="-m64 -I/opt/gnu/include 
-I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include" 
LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" CC=/usr/gcc/8/bin/gcc 
CFLAGS="-m64  -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 
-I/usr/include/idn -I/usr/gnu/include" NETTLE_CFLAGS=-I/opt/gnu/include 
NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include 
HOGWEED_LIBS=-L/opt/gnu/lib/64 LIBFILEZILLA_CFLAGS=-I/opt/gnu/include 
LIBFILEZILLA_LIBS=-L/opt/gnu/lib 
PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" 
LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" 
LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu 
--enable-static --disable-shared --with-pugixml=builtin


The configure works correctly all the c++ components build correctly 
prior to entering ./src/interface both versions complain that an object 
referenced in wx include  dataobj.h is not defined but subsequent errors 
are not the same. Looking at the cpp file it includes filezilla.h which 
includes all of the wx components including dataobj.h. Not sure how to 
proceed everything I tried does not fix the issue.


Building libfilezilla-0.16.0
CXX=g++ CXXFLAGS="-m64" LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" 
CC=gcc CFLAGS="-m64" NETTLE_CFLAGS=-I/opt/gnu/include 
NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include 
HOGWEED_LIBS=-L/opt/gnu/lib/64 ./configure --prefix=/opt/gnu 
--enable-static --disable-shared

      dependancies
                 gmp-6.1.2
                          CC=gcc CXX=g++ CFLAGS=-m64 ./configure 
--prefix=/opt/gnu

                 nettle-3.4.1 (libhogweed library must be built)

                          CC=gcc-6 CFLAGS="-m64 -I/usr/include 
-I/opt/gnu/include/" CXX=g++-6 CPPFLAGS="-m64 -I/usr/include 
-I/opt/gnu/include/" NETTLE_CFLAGS="-I/opt/gnu/include/nettle" 
NETTLE_LIBS="-L/opt/gnu/lib/64" 
HOGWEED_CFLAGS="-I/opt/gnu/include/nettle/" 
HOGWEED_LIBS="-L/opt/gnu/lib/64" ./configure  --prefix=/opt/gnu 
--enable-shared=yes --disable-static --disable-assembler 
--build=x86_64-pc-solaris2

Building filezilla-3.41.2
CXX=/usr/gcc/6/bin/g++ CXXFLAGS="-m64 -I/opt/gnu/include 
-I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include" 
LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" CC=/usr/gcc/6/bin/gcc 
CFLAGS="-m64  -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 
-I/usr/include/idn -I/usr/gnu/include" NETTLE_CFLAGS=-I/opt/gnu/include 
NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include 
HOGWEED_LIBS=-L/opt/gnu/lib/64 LIBFILEZILLA_CFLAGS=-I/opt/gnu/include 
LIBFILEZILLA_LIBS=-L/opt/gnu/lib 
PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" 
LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" 
LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu 
--enable-static --disable-shared --with-pugixml=builtin

       dependancies

       wx-widgets-3.0.4 build (requires Motif installed)

                          CC=gcc CFLAGS=-m64 CXX=g++ CXXFLAGS=-m64 
LDFLAGS=-m64 QT5_CUSTOM_DIR=/usr/lib/qt/5.8 ./configure 
--prefix=/opt/gnu --with-qt

       gnutls 3.4.15 or later (install 
pkg:/library/gnu/gnutls at 3.5.16-0.2017.0.0.5)

       gnu idn    (install pkg:/library/libidn at 1.35-2018.0.0.0)

       gnu gettext ( install pkg pkg:/text/gnu-gettext at 0.19.8.1-2018.0.0.0)

       PATH=/usr/gnu/bin:$PATH ; export PATH




More information about the openindiana-discuss mailing list