View Single Post
Old 09-13-2015, 02:29 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
binary distribution. The only real requirements are a recent enough glibc and i686/x86_64 architecture.

If your Synology runs ARM, you will need to install from source as Kovid doesn't distribute ARM binaries, but it should work just fine.

You will need to install the dependencies as listed on the calibre linux page. calibre officially supports compiling from source -- as in, it should work, but if you have problems with your distro provided calibre, you will need to prove the problem exists with the binary install or it is assumed the distro is the problem.

See the INSTALL file in the source code for compilation instructions.
See here for an example build script (Arch Linux PKGBUILD) that does the right things. It is pretty self-descriptive.


ArchLinuxArm at least offers a pre-built calibre for ARM, but you'd need to install ArchLinuxArm on the NAS, probably in a chroot (all those dependencies ). Raspbian (debian for Raspberry Pi) also has calibre, but they are usually quite out of date. Debian armel probably has it too, with the same proviso.


This is work, but might pay off big time: setup a calibre development environment, run armel in a VM, and spin off a frozen build of calibre for ARM. It would install with minimal, bundled dependencies, unlike going to the effort of a chroot.
You could distribute it as an unofficial solution for all those Synology owners, as this has come up before.

Last edited by eschwartz; 09-13-2015 at 02:44 PM.
eschwartz is offline   Reply With Quote