Resources:
- https://freefilesync.org/forum/viewtopic.php?t=6566
- https://www.raspberrypi.org/forums/viewtopic.php?p=439393
- https://freefilesync.org/forum/viewtopic.php?t=6190&p=21382&hilit=raspberry+pi#p21382
It appears that you don't have dependency wxWidgets installed ("wx-config: not found")
-
- Posts: 1
- Joined: 9 Jul 2019
I'm curious, did you ever get this to work?
-
- Posts: 17
- Joined: 5 Oct 2018
Here's a web page that shows the steps to build on Linux: https://github.com/jeffli678/build-FreeFileSync
That page references another page https://solarianprogrammer.com/2016/10/07/building-gcc-ubuntu-linux/ that shows how to build a newer version of gcc, which you'll likely need to do as well. When building gcc on the Pi, here are the configure options I used:
Many of those are probably the build defaults for gcc but I included them based on the output of the older gcc already installed with raspbian ("gcc -v") just to be sure. Building gcc on the Pi takes a long time.
That page references another page https://solarianprogrammer.com/2016/10/07/building-gcc-ubuntu-linux/ that shows how to build a newer version of gcc, which you'll likely need to do as well. When building gcc on the Pi, here are the configure options I used:
Code: Select all
../gcc-9.1.0/configure -v --prefix=/usr/local/gcc-9.1 --program-suffix=-9.1 --enable-languages=c,c++ --disable-multilib --without-included-gettext --enable-threads=posix --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release
-
- Posts: 85
- Joined: 7 Jan 2018
So, once you have all the build dependencies in place, FreeFileSync builds and runs correctly on the ARMv7 architecture? This is good news!
-
- Posts: 17
- Joined: 5 Oct 2018
Yes. I recently built FFS v10.14 on a Raspberry Pi 3B+ running Raspbian released July, 2019 based on Debian Buster.bgstack15 wrote: So, once you have all the build dependencies in place, FreeFileSync builds and runs correctly on the ARMv7 architecture?
No exhaustive testing, but an interactive mirror sync from the Pi to a Samba share works just fine. RealTimeSync not tested.
Following the recipes given in the links above, packages I installed:
# apt install build-essential libgtk-3-dev libboost-dev libssl-dev libcurl4-openssl-dev libssh2-1-dev
Then:
- Build and install gcc v9.1.0
- Build and install wxWidgets v3.1.2
- In the FFS Makefile, change gtk+-2.0 to gtk+-3.0 and add "-latomic" to the end of LINKFLAGS
Really hammered the uSD card. Next time I would build everything on an attached USB external (magnetic) drive.
- Log in to post comments