04-26-2010, 09:53 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2010
Device: prs-505
|
Calibre 0.6.48 on Ubuntu 9.10 -- installation failed
tried to install according to the:
wget -O- http://status.calibre-ebook.com/dist/src | tar xvz cd calibre* sudo python setup.py install and the last step gives the following error: $ sudo python setup.py install Package poppler was not found in the pkg-config search path. Perhaps you should add the directory containing `poppler.pc' to the PKG_CONFIG_PATH environment variable No package 'poppler' found Package poppler-qt4 was not found in the pkg-config search path. Perhaps you should add the directory containing `poppler-qt4.pc' to the PKG_CONFIG_PATH environment variable No package 'poppler-qt4' found Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "/home/lenik/tmp/calibre/setup/commands.py", line 28, in <module> from setup.translations import POT, GetTranslations, Translations, ISO639 File "/home/lenik/tmp/calibre/setup/translations.py", line 14, in <module> from setup.build_environment import pyqt File "/home/lenik/tmp/calibre/setup/build_environment.py", line 150, in <module> popplerqt4_inc_dirs = poppler_inc_dirs + [poppler_inc_dirs[0]+'/qt4'] IndexError: list index out of range $ sudo apt-get install libpoppler-qt4-3 python-poppler Reading package lists... Done Building dependency tree Reading state information... Done libpoppler-qt4-3 is already the newest version. python-poppler is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. $ Any idea what is missing? |
04-26-2010, 10:19 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What does
pkg-config --cflags-only-I poppler give you |
Advert | |
|
04-27-2010, 01:21 AM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2010
Device: prs-505
|
$ pkg-config --cflags-only-I poppler
Package poppler was not found in the pkg-config search path. Perhaps you should add the directory containing `poppler.pc' to the PKG_CONFIG_PATH environment variable No package 'poppler' found $ apt-cache search poppler gobject-introspection-repository - Introspection data for several GNOME related libraries epdfview - Lightweight pdf viewer based on poppler libs gambas2-gb-pdf - The Gambas pdf component libpoppler-glib-ruby - Ruby bindinds for the libpoppler-glib library libpoppler-glib-ruby1.8 - Ruby bindinds for the libpoppler-glib library libpoppler-glib-ruby1.8-dbg - Ruby bindinds for the libpoppler-glib library libpopplerkit-dev - GNUstep framework for rendering PDF content (development files) libpopplerkit0 - GNUstep framework for rendering PDF content (library files) pdf2svg - converts PDF documents to SVG files (one per page) python-poppler - Poppler Python bindings python-poppler-dbg - Poppler Python bindings xpdf-utils - Portable Document Format (PDF) suite -- utilities poppler-data - Encoding data for the poppler PDF rendering library libpoppler-dev - PDF rendering library -- development files libpoppler-glib-dev - PDF rendering library -- development files (GLib interface) libpoppler-glib4 - PDF rendering library (GLib-based shared library) libpoppler-qt-dev - PDF rendering library -- development files (Qt 3 interface) libpoppler-qt2 - PDF rendering library (Qt 3 based shared library) libpoppler-qt4-3 - PDF rendering library (Qt 4 based shared library) libpoppler-qt4-dev - PDF rendering library -- development files (Qt 4 interface) libpoppler5 - PDF rendering library poppler-dbg - PDF rendering library - detached debugging symbols poppler-utils - PDF utilitites (based on libpoppler) $ I don't see package 'poppler', are you sure it's correct name? |
04-27-2010, 06:22 AM | #4 |
Wizard
Posts: 1,434
Karma: 1525776
Join Date: Aug 2009
Location: TAS, Australia
Device: Astak Pocket Pro (Black), 2 x Kindle WiFi (Graphite), iPod Touch 4G
|
Hi Lenik, I see you are trying to do a source install. Aren't the dev libraries requires to build against it, ie: need to install libpoppler-qt4-dev?
|
04-27-2010, 06:32 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2009
Device: Sony PRS-505
|
I used the binary install from http://calibre-ebook.com/download_linux on mine with no problems.
|
Advert | |
|
04-27-2010, 11:20 AM | #6 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Kovid found and fixed, the update glitch in that command, that affected a few of us, a few release back. Now, when Calibre notifies me of an update, I comply Exit Calibre and paste that command into a Terminal window, enter the SUDO password and let it go. Depending on your download speed, a very few minutes or longer and it is done. |
|
04-27-2010, 11:21 AM | #7 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need the -dev libraries of poppler
|
04-27-2010, 11:33 AM | #8 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2008
Device: Sony Reader 505
|
Greeting
Hi from Nezahualcoyotl,MX
|
04-28-2010, 09:26 PM | #9 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2010
Device: prs-505
|
Thanks to everybody, i've installed from binary, it works, however, today it gave me an error while fetching news from Slashdot.org:
(sorry, copy/paste does not work in "Conversion error" window, so I have to type manually) ... File "/home/kovid/build/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 254, in flatten_node ZeroDivisionError: float division and then it's gone, had to restart manually. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Infinite Calibre 0.7.4 Installation | Midas | Calibre | 2 | 06-22-2010 02:03 PM |
Calibre Installation on opensuse 11.1 | michaelbn | Calibre | 11 | 02-17-2010 03:01 PM |
installation of calibre | tblackt | Calibre | 2 | 11-01-2009 07:25 PM |
Calibre on Ubuntu 8.04 - installation failed | kostap | Calibre | 25 | 03-26-2009 11:45 PM |
libprs500 installation on Ubuntu 7.10 | bralec | Calibre | 1 | 03-27-2008 09:50 AM |