Discussion:
[OpenIndiana-discuss] Building Filezilla Client
russell
2018-01-13 21:38:06 UTC
Permalink
Hi,

After some experimentation I finally built a Filezilla Client using the
standard libraries with OpenIndiana, unfortunately I hit a problem which
is outside my experience. I am looking to use Filezilla as I find gftp
crashes frequently.

$ ./filezilla
Fatal Error: Mismatch between the program and library build versions
detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx
containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI
1011,wx containers,compatible with 2.6).
Abort

After some experimentation I found that Filezilla Client 3.3.0.1 would
build on OpenIndiana (available here
http://download.filezilla-project.org/client/FileZilla_3.3.0.1_src.tar.bz2 )

After unzipping and using the following line to configure the environment

$ CC=gcc CXX=g++ CPPFLAGS=-I/usr/include/idn ./configure
--prefix=/opt/gnu --enable-shared=yes --disable-static
--disable-autoupdatecheck

I found on the first attempt that the build fails because of xgettext
not accepting the parameters passed, so change PATH=/usr/gnu/bin:$PATH
and could then complete the build using the gcc 7.2 compiler

$ make

Upon completion I could run "make install" to complete the installation.

Is there a flag I need to set to create the correct the library issue?

TIA

Russell
Andreas Wacknitz
2018-01-14 10:16:21 UTC
Permalink
Am 13.01.18 um 22:38 schrieb russell:
Hi Russell,

I have some comments:
1. If I look at the project site I see the latest download is version
3.30.0. Why don't you use this one?
2. You will also need libfilezilla (0.11.2 is the newest version).
3. At least for libfilezilla you will need to use gmake instead our make.
3. You don't need gcc 7.2 as our default version 4.9.4 supports
|-std=c++14. Most probably your ABI problems are due to the use of 7.2.
|4. I recommend creating real packages for both (libfilezilla and
filezilla). I am willing to help here or do it, whatever you prefer.

Regards
Andreas

||
Post by russell
Hi,
After some experimentation I finally built a Filezilla Client using
the standard libraries with OpenIndiana, unfortunately I hit a problem
which is outside my experience. I am looking to use Filezilla as I
find gftp crashes frequently.
$ ./filezilla
Fatal Error: Mismatch between the program and library build versions
detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx
containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI
1011,wx containers,compatible with 2.6).
Abort
After some experimentation I found that Filezilla Client 3.3.0.1 would
build on OpenIndiana (available here
http://download.filezilla-project.org/client/FileZilla_3.3.0.1_src.tar.bz2 )
After unzipping and using the following line to configure the environment
$ CC=gcc CXX=g++ CPPFLAGS=-I/usr/include/idn ./configure
--prefix=/opt/gnu --enable-shared=yes --disable-static
--disable-autoupdatecheck
I found on the first attempt that the build fails because of xgettext
not accepting the parameters passed, so change PATH=/usr/gnu/bin:$PATH
and could then complete the build using the gcc 7.2 compiler
$ make
Upon completion I could run "make install" to complete the installation.
Is there a flag I need to set to create the correct the library issue?
TIA
Russell
_______________________________________________
openindiana-discuss mailing list
https://openindiana.org/mailman/listinfo/openindiana-discuss
russell
2018-01-14 12:38:43 UTC
Permalink
Hi,

The problem of building an up to date version of Filezilla like 3.30.0
are the dependant libraries which in turn have further dependencies. So
you have a situation where multiple libraries have to be maintained. All
I need is a FTP/SCP client which does not crash like gftp. The gftp
2.0.19 was released in November 30, 2008 while Filezilla 3.3.0.1 is from
November 15, 2009.

When I previously tried to build Filezilla I had issues with the older
versions of gcc available, having tried gcc 7.2 this issues disappeared.

Using Filezilla 3.3.0.1 it is possible to build an executable,
attempting to build 3.5.0 fails because the TinyXML version on
OpenIndiana is rejected as too old and hightlights issues.

It would be great to build Filezilla 3.30.0 just building the system
provided libraries but the work involved to complete this would require
a significant contribution by everyone using OpenIndiana.

If I can resolve the library compatibility issue and find that Filezilla
3.3.0.1 is more stable than gftp then the replacing gftp should have
minimal impact within the build environment. As system libraries are
upgraded then newer versions of Filezilla can be provided.

Regards

Russell

Loading...