|
|
#1 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: Android
|
Source Install Fails on Ubuntu 11.04
Hi there I am spending now hours to install calibre from source.
Unfortunatelly this is needed for using WSGI adapter. Packages are missing: poppler.pc MagickWand.pc And I have no Idea how to get them.... searched but now frustrated... Code:
$ 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 chris: 1000
No module named icu
No module named icu
*
* Running build
*
####### Building extension speedup #######
####### Building extension icu #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread -I/usr/include/python2.7 -c /opt/calibre/src/calibre/utils/icu.c -o /opt/calibre/build/objects/icu/icu.o
/opt/calibre/src/calibre/utils/icu.c:4:28: fatal error: unicode/utypes.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 "/opt/calibre/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/opt/calibre/setup/__init__.py", line 156, in run_cmd
self.run_cmd(scmd, opts)
File "/opt/calibre/setup/__init__.py", line 159, in run_cmd
cmd.run(opts)
File "/opt/calibre/setup/extensions.py", line 298, in run
self.build(ext, dest)
File "/opt/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', '/opt/calibre/src/calibre/utils/icu.c', '-o', '/opt/calibre/build/objects/icu/icu.o']' returned non-zero exit status 1
|
|
|
|
|
|
#2 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
The only supported install is via the binary install here. You can create a development environment so you can make changes to the code by following the info here.
If the binary install doesn't work, hopefully someone with knowledge will come along and render assistance. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
.pc files are used by package config to allow for locating the install location of certain development files. They are installed by the respective package they're for.
You need to install the development packages for poppler and libmagickwand . |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| install calibre 0.8.8 fails | knireis | Calibre | 2 | 07-08-2011 10:40 AM |
| calibre news fails on ubuntu 10.10 - why? | butitsmyname | Calibre | 26 | 12-21-2010 02:04 PM |
| Ubuntu Calibre 6.46 Install fails | theducks | Calibre | 24 | 04-02-2010 10:27 AM |
| Vista install fails | bobzchemist | Calibre | 3 | 11-10-2009 04:26 AM |
| calibre install fails on Ubuntu hardy | Xpi6 | Calibre | 16 | 11-16-2008 02:29 PM |