packages and versions required for compiling FreeFileSync?

Get help for specific problems
Posts: 3
Joined: 11 Jan 2015

pkrummrich

Hi,

I still have problems to compile FreeFileSync from the source on a 32 bit OpenSuse 13.2 Linux system. Which packages should be installed (gtk, boost, ...) and which versions to avoid conflicting symbol declarations?

Is there a Readme file with instructions?

Best Regards,

Peter
Posts: 17
Joined: 5 May 2003

mitsch81

I work on openSUSE 13.2 64 Bit and try to compile from FreeFileSync_6.13_Source.zip.

I got this error:

```
mkdir -p ../Obj/FFS_GCC_Make_Release/ffs/src/
g++ -std=c++11 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -DZEN_LINUX -pthread `pkg-config --cflags gtk+-2.0` -c application.cpp -o ../Obj/FFS_GCC_Make_Release/ffs/src/application.o
In file included from /usr/include/wx-2.8/wx/event.h:15:0,
from /usr/include/wx-2.8/wx/app.h:20,
from application.h:12,
from application.cpp:7:
/usr/include/wx-2.8/wx/defs.h:2887:5: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
"/manifestdependency:\"type='win32' \
^
In file included from lib/process_xml.h:10:0,
from comparison.h:11,
from application.cpp:16:
../../zen/xml_io.h:10:24: fatal error: zenxml/xml.h: No such file or directory
#include <zenxml/xml.h>
^
compilation terminated.
```

@zenyu: The file zenxml/xml.h seems to be missing in the source zip. Did you forget to put it there?


@peter: I built an older version for openSUSE here:
https://build.opensuse.org/package/show/home:codeminister/FreeFileSync

1) In the spec file there are the requirements for 13.1:
BuildRequires: unzip
BuildRequires: gcc-c++ >= 4.8
BuildRequires: boost-devel >= 1.53
BuildRequires: wxWidgets-2_9-devel

2) The build requirement `wxWidgets-2_9-devel` for openSUSE 13.1 does not exist anymore in openSUSE 13.2. Maybe try it with `wxWidgets-devel` (which installs wxWidgets 2.8).

3) What exact error message do you get?
Posts: 17
Joined: 5 May 2003

mitsch81

@zenyu: you did not forget it, sorry. I found your answer in another thread: http://sourceforge.net/projects/zenxml
Posts: 17
Joined: 5 May 2003

mitsch81

@peter: correction: on openSUSE 13.2 you should use the package `wxWidgets-3_0-devel` and I used the xenxml folder from zenXml_2.1.zip
Posts: 17
Joined: 5 May 2003

mitsch81

Latest build status: [404, Invalid URL: https://build.opensuse.org/package/show/home:codeminister/FreeFileSync-6.13] Do you find that useful?
Posts: 3
Joined: 11 Jan 2015

pkrummrich

Unfortunately not - the 32 bit executable does not work.

I downloaded the i586 package (FreeFileSync-6.13-4.1.i586.rpm) and installed it using zypper on a 32 bit OpenSuse 13.2 system. After starting FreeFileSync in a terminal, I got the jumping icon for approx. 10 seconds. After that, the program just stopped. No window, no error message.
Posts: 17
Joined: 5 May 2003

mitsch81

I found that the package does not specify all needed requirements. So you start FreeFileSync in a console and there is no output? Could you paste everything related you see in the console here?
Posts: 17
Joined: 5 May 2003

mitsch81

I build a new package freefilesync ([404, Invalid URL: https://build.opensuse.org/package/show/home:codeminister/freefilesync-6.13]).

To be more standard-compliant this package uses lower-case. @Zenju: is this ok with you?

@Peter: After the last codeminister package was created, it was adapted to more official package sources like this one: https://build.opensuse.org/package/show/network/FreeFileSync