View Single Post
Old 01-21-2012, 02:55 AM   #1
Anthon
Junior Member
Anthon began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2011
Location: Braunschweig, Germany
Device: Sony PRS-700
cfi.coffee to cfi.js

I updated to 0.8.36 from the repository on an Ubuntu 11.04 box.

The EPUB book viewer is not running because cfi.js cannot be found.
After searching and finding cfi.coffee I installed coffeescript which did not improve anything, no install errors, and the same viewer message.

running "coffee -c cfi.coffee" by hand showed an error (either coffee is not called by "python setup.py install" or error output is gobbled), namely that nodejs is not found.
I changed the first line of /usr/bin/coffee from "#!/usr/bin/env nodejs" to "#!/usr/bin/env node"
and got errors that seem to have to do with coffee not being the right version.
Then on the coffeescript page somewhere it says:

If installing on Ubuntu or Debian, be careful not to use the existing out-of-date package.

and points to http://opinionatedprogrammer.com/201...ian-or-ubuntu/

Is there any list of prequisites and minimal versions of external software? Could setup.py install not check on the versions (assuming cfi.js is generated at install time, I am not sure).
Anthon is offline   Reply With Quote