View Single Post
Old 08-01-2011, 07:28 PM   #36
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,926
Karma: 22669820
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
According to that error your shell script interpreter thinks

path=`readlink -e $0`

is a syntax error. That can happen only if you have an ancient version of bash or you aren't using bash at all.

Look inside /opt/calibre/ebook-convert

it is a shell script (written in BASH). Edit it, replacing the invocation to readlink -e (which apparently your system doesn't support) with a hardcoded path that looks like

path=/opt/calibre/ebook-convert

I've spent enough time on this, you're on your own now. If you can't get it to work, then you just have to live without Economist on this computer.
kovidgoyal is offline   Reply With Quote