[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Compiling on Synology
- To: "'Graham Percival'" <gperciva@tarsnap.com>
- Subject: RE: Compiling on Synology
- From: "Arun Pillai" <aspillai@gmail.com>
- Date: Fri, 10 Jun 2016 07:43:11 -0400
- Cc: <tarsnap-users@tarsnap.com>
- In-reply-to: <20160609170250.GA27801@localhost>
- References: <00e001d1c0b5$edf0f460$c9d2dd20$@gmail.com> <20160609170250.GA27801@localhost>
- Thread-index: AQFMmdRCaO0pgKoEasC0auYZCpYFXwIw7YQLoNrd0pA=
Hi Graham,
I was able to get tarsnap to compile. I'll update what I did for others who
may find themselves in the same situation.
My system is Synology DS414. It has the arm7l CPU.
I needed to do the following to get everything to work:
1. I installed entware-ng which provides a development environment. See
here: https://github.com/Entware-ng/Entware-ng/wiki/Install-on-Synology-NAS
2. I then installed gcc. See here:
https://github.com/Entware-ng/Entware-ng/wiki/Using-gcc-(native-compilation)
3. I installed development headers following the instructions in the above
link.
The problem is that entware-ng doesn't create some of the lib symlinks
properly creating configure problems when compiling tarsnap. So you need to
use "opkg install --force-reinstall" to reinstall openssl and other packages
configure complains about.
After, compiling is simple and everything works.
Thank you to everyone who tried to help.
Arun.