06-11-2009, 03:56 PM | #1 | ||
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
Having problems building calibre 0.15.4
Calibre version 0.5.14 won't build on my 64 bit linux distribution. See below please :
Quote:
Quote:
Last edited by angevin; 06-11-2009 at 04:15 PM. |
||
06-11-2009, 04:34 PM | #2 |
creator of calibre
Posts: 44,342
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try the following in the calibre directory:
rm -rf build/* src/calibre/plugins/* && python setup.py build_ext If that completes successfully, then try the build and install steps |
06-11-2009, 04:54 PM | #3 | |
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
no, sorry, but it doesn't work
Quote:
The command does not complete successfully and since you did not ask for the possible error output from the command you just asked me to use I won't post the error messages in this post. Actually, I should state that I'm using slackware-current 64 bit linux which is not a stable release so it could possibly be the fault of the linux distro I'm using and not the fault of calibre I suppose (or it could be my fault by possibly not compiling the dependency packages with the right configuration options) . Only reason why I'm using the -current tag release is because slackware 12.2 does not have 64 bit support only the next release of slackware will support 64 bit processors. Although not a stable official release so far slackware-current has given no other problems besides this (seems to be pretty stable to me so far overall). Last edited by angevin; 06-12-2009 at 09:10 PM. Reason: add slackwarebanner |
|
06-11-2009, 04:56 PM | #4 |
creator of calibre
Posts: 44,342
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I do need the error output
|
06-11-2009, 05:17 PM | #5 | |
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
Quote:
Last edited by angevin; 06-11-2009 at 05:33 PM. |
|
06-11-2009, 05:43 PM | #6 |
creator of calibre
Posts: 44,342
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Basically your distro does not include podofo compiled as a shared library, so calibre is failing to compile the podofo extension. You can prevent calibre from trying to compile podofo (which will disable various PDf functionality) by seting the PODOFO_INC_DIR environment variable to /dev/null
|
06-11-2009, 05:55 PM | #7 | |
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
Thanks again Kovid
Quote:
Last edited by angevin; 06-12-2009 at 04:10 PM. |
|
06-12-2009, 04:05 PM | #8 | |
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
any ideas on this error ?
Hello again Kovid :
I fixed the podofo problem but now I ran into another problem : Quote:
P.S. Also I don't know how likely it is someone else will run into the podofo problem I did but I fixed it by configuring it with this configuration command before compilation : cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/podofo" -DWANT_LIB64:BOOL=TRUE -DPODOFO_BUILD_SHARED:BOOL=TRUE -DPODOFO_BUILD_STATIC:BOOL=TRUE Last edited by angevin; 06-12-2009 at 08:29 PM. |
|
06-12-2009, 04:35 PM | #9 |
creator of calibre
Posts: 44,342
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What version of sip do you have?
calibre needs atleast sip v4.8 sip -V |
06-12-2009, 04:41 PM | #10 | |
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
SIP 4.8.1-snapshot-20090611
Quote:
SIP version : 4.8.1-snapshot-20090611 PyQt-4.4.4 Maybe it was stupid of me to install a snapshot instead of a regular version release since I'm not a developer ? Actually I would have installed a stable version normally but the setuptools package script easy_install pointed to a mirror with the snapshot instead of a stable release of SIP so it might not be my own stupidity or at least not entirely my own stupidity if that is actually the problem here. Last edited by angevin; 06-12-2009 at 05:26 PM. |
|
06-12-2009, 06:41 PM | #11 |
creator of calibre
Posts: 44,342
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try upgrading to PyQt 4.5 and sip 4.8
|
06-12-2009, 07:54 PM | #12 |
Et In Arcadia Ego
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
|
Thanks a lot Kovid you are the man !
Thank you very much ! That worked and I now have a fully functioning Calibre and I couldn't be happier .
: Last edited by angevin; 06-12-2009 at 09:10 PM. Reason: add slackware banner |
Tags |
64 bit, calibre, linux |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building Calibre from source | al35 | Calibre | 3 | 03-24-2010 02:22 PM |
New to calibre and have problems | rincon | Calibre | 0 | 01-12-2010 07:18 PM |
Problems with calibre | Elena63 | Calibre | 0 | 12-29-2009 03:02 AM |
Building calibre backend only? | jesse | Calibre | 2 | 03-15-2009 05:32 PM |
Problems With Calibre 0.4.64 and OS X 10.5.3 | vxnerve | Calibre | 4 | 06-01-2008 02:09 AM |