[OpenIndiana-discuss] Filezilla update
Till Wegmueller
toasterson at gmail.com
Mon Jul 4 13:44:16 UTC 2022
Hi Russel
Do you have any more details to share? There are many reasons
compilation can fail, most simply because a library's version
requirements changed.
-Till
On 04/07/2022 10.14, russell wrote:
> 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 at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list