Hi

I found that libfilezilla 0.24 would build cleanly

To Build libfilezilla 0.24.

export 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


Once libfilezilla 0.24 was built I was able to build Filezilla 3.49.1 Building filezilla-3.47.2.1

export PATH=/usr/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" LT_SYS_LIBRARY_PATH="/opt/gnu/lib:${LD_LIBRARY_PATH}" ./configure --prefix=/opt/gnu --enable-shared --disable-static --with-pugixml=builtin --disable-dependency-tracking

$ gmake
# gmake install


When I tried to build libfilezilla 0.25 or later it generated a compilation issue with the cpp, similarly when I attempted to build filezilla 3.50 or later it generated a compilation issue with the cpp.
Not sure if changing to using gcc 10 will fix the compilation issues


Russell


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to