Xubuntu 16.10 not work with FFS 8.5

Get help for specific problems
Posts: 2
Joined: 15 Oct 2016

jidge

All is in title.

Execute don't launch FFS (works on Xubuntu 16.04).
Posts: 2
Joined: 15 Oct 2016

jidge

Is-it because kernel 4.4=> 4.8 ?
I tried also Ubuntu 16.10: same pb.

And I hate Grsync :)
User avatar
Site Admin
Posts: 7282
Joined: 9 Dec 2007

Zenju

It's a broken glibc dependency. You'll see an error message when you start via command line.
Posts: 4
Joined: 18 Oct 2016

fgafsf

Hi,

i compiled FreeFileSync 8.5 under ubuntu gnome 16.10 by myself and its running fine as far as i can say. Thanks for this very nice program!

Here is a little tutorial for building FreeFileSync from source under Ubuntu 16.10 which i've written during getting all necessary dependencies for building FreeFileSync: (i cannot guarantee that the following is "right", so better make backups before using the self build version)

The following steps are inspired from the PKGBUILD from archlinux (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freefilesync):

1. install the "old" gcc-5 since wxwidget seems to be compiled with gcc-5 and not with new default gcc-6 compiler
Else if you choose gcc-6 you get the following warning:

$ ./FreeFileSync
18:23:19: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).

i don't know which consequences this can have so better don't use a gcc-6 compiled version! If anyone knows more about this plz let me know.

1.1 So install g++-5 (fortran and gcc can probably be omitted but i always want the "full version of a compiler" for compiling other stuff)
sudo apt-get install gcc-5 g++-5 gfortran-5 build-essentials

1.2 you probably now have two different compiler version, the current active one can be seen by
gcc --version

1.3 the following two commands save the compilers as switchable profiles
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-6
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 40 --slave /usr/bin/g++ g++ /usr/bin/g++-5 --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-5

1.4 with the following you can switch the version, type the number with gcc-5
sudo update-alternatives --config gcc

( step 1.3/1.4 can be made undone with
sudo update-alternatives --remove-all gcc )


2. The following packages are required for compiling FreeFileSync
sudo apt-get install libwxgtk3.0-dev libgtk2.0-dev libboost-all-dev

3. Download the source FreeFileSync_8.5_Source.zip from https://freefilesync.org/download/FreeFileSync_8.5_Source.zip
4. Download zenXml_2.3.zip from http://downloads.sourceforge.net/project/zenxml/zenXml_2.3.zip

4. Create a folder and extract the FreeFileSync.zip and the zenXml_2.3.zip into this folder
mkdir FreeFileSync

(should look like this $ls FreeFileSync: FreeFileSync LICENSE wx+ zen zenXml )


5. Compile FreeFileSync
cd to pathToTheFolder/FreeFileSync/FreeFileSync/Source

make launchpad

6. Compile RealTimeSync
cd to pathToTheFolder/FreeFileSync/FreeFileSync/Source/RealTimeSync

make launchpad

7. Run FreeFileSync
cd to the Build folder athToTheFolder/FreeFileSync/FreeFileSync/Build
There should be the binaries which can be run with

./FreeFileSync


Optionally you can use make install after the "make launchpad" but i like this version