12-12-2011, 01:59 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2011
Location: Pune
Device: none
|
Problem in Installing Calibre in ubuntu 11.10
Hi,
I downloaded Source code of Calibre and trying to install Calibre using "python setup.py development" and I am getting following error 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/yogesh/calibre/setup/__init__.py", line 163, in run_all self.run_cmd(self, opts) File "/home/yogesh/calibre/setup/__init__.py", line 156, in run_cmd self.run_cmd(scmd, opts) File "/home/yogesh/calibre/setup/__init__.py", line 159, in run_cmd cmd.run(opts) File "/home/yogesh/calibre/setup/extensions.py", line 298, in run self.build(ext, dest) File "/home/yogesh/calibre/setup/extensions.py", line 339, in build self.check_call(cmd) File "/home/yogesh/calibre/setup/extensions.py", line 373, in check_call subprocess.check_call(*args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 511, 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/yogesh/calibre/src/calibre/utils/speedup.c', '-o', '/home/yogesh/calibre/build/objects/speedup/speedup.o']' returned non-zero exit status 1 please help me to solve this error... |
12-12-2011, 04:37 PM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Is there a reason you are trying to compile from source? You do not need to do so in order to be able to do Calibre development - just follow the instructions in the User Guide for setting up a Calibre development environment to run from source (which is not the same as build from source). If you try to do build Calibre from source there are lots of dependencies to get right, whereas if you follow the User Guide process then this is all handled, but you can still amend any of the Calibre Python code.
|
Advert | |
|
12-13-2011, 05:07 AM | #3 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Good Luck. |
|
12-13-2011, 11:08 PM | #4 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2011
Location: Pune
Device: none
|
Quote:
http://manual.calibre-ebook.com/deve...tting-the-code on this site it says that you can download it from source...........so I downloaded tarball and follow instruction which is given in Install file. and also I want to ask if i download source code using "bzr branch lp:calibre" this command then it will handle all dependencies.......? |
|
12-14-2011, 02:58 AM | #5 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
If You read that link and follow the instructions for the recommended way of setting up a Linux development Environment based on the binary install and setting the CALIBRE_DEVELOP_FROM environment variable to point to the downloaded source then all dependencies are handled for you. If you decide to try and build everything by compiling from source then you have to sort out the dependencies.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Problem installing on Ubuntu Linux | bgcamroux | Calibre | 6 | 05-23-2012 02:30 AM |
Problem in Installing Calibre in ubuntu 11.10 | yogesh605 | Introduce Yourself | 4 | 12-12-2011 02:27 PM |
Installing latest Calibre in Ubuntu 10.04 | maitrayei | Calibre | 4 | 09-10-2010 02:48 AM |
Problem Installing Calibre on EeePC 901 (Ubuntu Jaunty) | andavane | Calibre | 4 | 11-08-2009 02:05 PM |
Problems with installing Calibre, Ubuntu 7.10 Gusty AMD_64 with PRS-500 | deedward9 | Calibre | 2 | 07-07-2008 08:22 PM |