![]() |
#1 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
can't install source 8.35
Just tried to install 8.35 source and I'm getting a coffee error even though I installed coffee 1.20 for calibre 8.34 successfully:
any suggestions? * * Running coffee * Compiling cfi.coffee Traceback (most recent call last): File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 415, in <module> main() File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 400, in main ans, errors = Compiler()(args.src.read(), filename=args.src.name) File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 88, in __init__ check_qt() File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 46, in check_qt raise RuntimeError('X server required. If you are running on a' RuntimeError: X server required. If you are running on a headless machine, use xvfb Compilation of cfi.coffee failed Command '['/usr/bin/python', '/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py', 'compile', '/mnt/installs/iomari/work/calibre/src/calibre/ebooks/oeb/display/cfi.coffee']' returned non-zero exit status 1 |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
anybody out there?
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run the install command with xvfb
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
I'm confused. How do I do that and why did I not have to do that with 8.24?
Last edited by iomari; 01-16-2012 at 10:51 AM. |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
anyone
![]() What is the difference between 8.24 and 8.25 that makes compiling fail? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
xvfb-run sudo python setup.py install
Last edited by kovidgoyal; 01-16-2012 at 09:52 PM. |
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
xvfb-run does not come with opensuse by default. I found it in the build service and installed it. Now I get the error:
-> xvfb-run -a sudo python setup.py install mktemp: too few X's in template `Xauthority' I'm still confuses as to what has changed in 8.35 that stop me from compiling when I was compiling happily all wht way up to 8.24. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just wait, you wont need xvfb anymore in 0.8.36
|
![]() |
![]() |
![]() |
#9 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
ok i'll wait. thanks
|
![]() |
![]() |
![]() |
#10 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
now I can't install 8.0.36
Seems like I'm doomed to never go beyond 8.34. Just tried 8.36 and now I'm getting:
* * Running develop * Installing binary: /usr/bin/ebook-device Traceback (most recent call last): File "setup.py", line 99, in <module> sys.exit(main()) File "setup.py", line 85, in main command.run_all(opts) File "/mnt/installs/iomari/work/calibre-8.0.36/setup/__init__.py", line 163, in run_all self.run_cmd(self, opts) File "/mnt/installs/iomari/work/calibre-8.0.36/setup/__init__.py", line 159, in run_cmd cmd.run(opts) File "/mnt/installs/iomari/work/calibre-8.0.36/setup/install.py", line 136, in run self.write_templates() File "/mnt/installs/iomari/work/calibre-8.0.36/setup/install.py", line 190, in write_templates self.write_template(name, mod, func) File "/mnt/installs/iomari/work/calibre-8.0.36/setup/install.py", line 212, in write_template open(path, 'wb').write(script) IOError: [Errno 13] Permission denied: '/usr/bin/ebook-device' |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You forgot the sudo
|
![]() |
![]() |
![]() |
#12 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
Yeah I just noticed that. I'm embarrassed
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Install Fails on Ubuntu 11.04 | chris1412 | Library Management | 2 | 09-14-2011 09:15 AM |
Unable to install Calibre 0.7.56 from source | prashc | Calibre | 2 | 04-18-2011 09:42 AM |
Re-Install of 2.5.7 or 2.5.8 possible? | ArdjanB | Kindle Developer's Corner | 2 | 03-29-2011 02:01 PM |
Help: Can not install | KindleHelpme | Calibre | 4 | 07-14-2010 08:31 PM |
PRS-900 Sony Digital Edition Library Install, and Install, ... | Hamlet53 | Sony Reader | 3 | 04-05-2010 03:29 PM |