View Single Post
Old 04-26-2010, 09: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