Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2010, 10:53 PM   #1
lenik
Junior Member
lenik began at the beginning.
 
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?
lenik is offline   Reply With Quote
Old 04-26-2010, 11:19 PM   #2
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: 26,320
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What does

pkg-config --cflags-only-I poppler

give you
kovidgoyal is offline   Reply With Quote
Old 04-27-2010, 02:21 AM   #3
lenik
Junior Member
lenik began at the beginning.
 
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?
lenik is offline   Reply With Quote
Old 04-27-2010, 07:22 AM   #4
Solicitous
Wizard
Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.
 
Posts: 1,413
Karma: 1137946
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?
Solicitous is offline   Reply With Quote
Old 04-27-2010, 07:32 AM   #5
BertReader
Junior Member
BertReader began at the beginning.
 
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.
BertReader is offline   Reply With Quote
Old 04-27-2010, 12:20 PM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,071
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by BertReader View Post
I used the binary install from http://calibre-ebook.com/download_linux on mine with no problems.
Same here.
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.
theducks is offline   Reply With Quote
Old 04-27-2010, 12:21 PM   #7
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: 26,320
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need the -dev libraries of poppler
kovidgoyal is offline   Reply With Quote
Old 04-27-2010, 12:33 PM   #8
Javier Zamora
Junior Member
Javier Zamora began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2008
Device: Sony Reader 505
Greeting

Hi from Nezahualcoyotl,MX
Javier Zamora is offline   Reply With Quote
Old 04-28-2010, 10:26 PM   #9
lenik
Junior Member
lenik began at the beginning.
 
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.
lenik is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Calibre 0.7.4 Installation Midas Calibre 2 06-22-2010 03:03 PM
Calibre Installation on opensuse 11.1 michaelbn Calibre 11 02-17-2010 04:01 PM
installation of calibre tblackt Calibre 2 11-01-2009 08:25 PM
Calibre on Ubuntu 8.04 - installation failed kostap Calibre 25 03-27-2009 12:45 AM
libprs500 installation on Ubuntu 7.10 bralec Calibre 1 03-27-2008 10:50 AM


All times are GMT -4. The time now is 06:52 PM.


MobileRead.com is a privately owned, operated and funded community.