View Single Post
Old 06-26-2011, 07:15 PM   #3
MGMiller
Junior Member
MGMiller began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Long Island
Device: nook 2nd Edition
I installed the python-qt4 packages and re-ran the install. It finished with different errors and Calibre still will not run. I suspect I am in "dependency hell". I have gone back to version 0.7.44 from my repository at least it runs. Is there any way to just get the device driver for the new Nook 2nd edition and add it the version that runs on my system?

This is the output of the latest install attempt:

marty@tux:~/calibre$ 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 MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
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 MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Dropping privileges to those of marty: 1000
No module named icu
No module named icu

*
* Running build
*


####### Building extension speedup #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread -I/usr/include/python2.7 -c /home/marty/calibre/src/calibre/utils/speedup.c -o /home/marty/calibre/build/objects/speedup/speedup.o
/home/marty/calibre/src/calibre/utils/speedup.c:2:20: fatal error: Python.h: No such file or directory
compilation terminated.
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 "/home/marty/calibre/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/home/marty/calibre/setup/__init__.py", line 156, in run_cmd
self.run_cmd(scmd, opts)
File "/home/marty/calibre/setup/__init__.py", line 159, in run_cmd
cmd.run(opts)
File "/home/marty/calibre/setup/extensions.py", line 298, in run
self.build(ext, dest)
File "/home/marty/calibre/setup/extensions.py", line 339, in build
subprocess.check_call(cmd)
File "/usr/lib/python2.7/subprocess.py", line 504, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-O3', '-Wall', '-DNDEBUG', '-fno-strict-aliasing', '-pipe', '-fPIC', '-pthread', '-I/usr/include/python2.7', '-c', '/home/marty/calibre/src/calibre/utils/speedup.c', '-o', '/home/marty/calibre/build/objects/speedup/speedup.o']' returned non-zero exit status 1
marty@tux:~/calibre$
MGMiller is offline   Reply With Quote