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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2011, 08:34 PM   #1
chris1412
Junior Member
chris1412 began at the beginning.
 
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
chris1412 is offline   Reply With Quote
Old 09-13-2011, 10:25 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,775
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
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.
DoctorOhh is offline   Reply With Quote
 
Enthusiast
Old 09-14-2011, 09:15 AM   #3
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
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 .
user_none 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
install calibre 0.8.8 fails knireis Calibre 2 07-08-2011 09:40 AM
calibre news fails on ubuntu 10.10 - why? butitsmyname Calibre 26 12-21-2010 01:04 PM
Ubuntu Calibre 6.46 Install fails theducks Calibre 24 04-02-2010 09:27 AM
Vista install fails bobzchemist Calibre 3 11-10-2009 03:26 AM
calibre install fails on Ubuntu hardy Xpi6 Calibre 16 11-16-2008 01:29 PM


All times are GMT -4. The time now is 12:47 PM.


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