08-27-2009, 08:19 PM | #1 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
[Old Thread] build issues
Has anyone else had problems building the current tarball? (0.6.8)
It errors out trying to link against calibre_poppler.so. It's looking for the library in src/calibre/plugins. But the libraries are being dropped down into src/calibre/plugins/calibre/plugins. If I move the files up into place, & re-issue the build, it completes successfully. Troy |
08-27-2009, 08:24 PM | #2 |
creator of calibre
Posts: 44,617
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me. In fact I just built 0.6.9
|
Advert | |
|
08-27-2009, 09:28 PM | #3 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
hmmm....maybe I need to build 0.6.9?!?!? yes?!
Troy |
08-27-2009, 09:58 PM | #4 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
hmm....same issue with 0.6.9 -- I must be doing something silly..
And I must correct myself, it's not linking, it's trying to copy that file somewhere. I removed everything under /opt/calibre & cut-n-pasted the build instructions from the website. Here's the error message from 'python setup.py build' Code:
creating build/lib.linux-i686-2.6/calibre/plugins error: can't copy 'src/calibre/plugins/calibre_poppler.so': doesn't exist or not a regular file Code:
/opt/calibre/calibre-0.6.9$ ls -l src/calibre/plugins total 632 drwxr-xr-x 3 root root 4096 2009-08-27 19:47 calibre -rwxr-xr-x 1 root root 637477 2009-08-27 19:47 pictureflow.so Code:
/opt/calibre/calibre-0.6.9$ ls -lR src/calibre/plugins src/calibre/plugins: total 632 drwxr-xr-x 3 root root 4096 2009-08-27 19:47 calibre -rwxr-xr-x 1 root root 637477 2009-08-27 19:47 pictureflow.so src/calibre/plugins/calibre: total 4 drwxr-xr-x 2 root root 4096 2009-08-27 19:47 plugins src/calibre/plugins/calibre/plugins: total 396 -rwxr-xr-x 1 root root 226191 2009-08-27 19:47 calibre_poppler.so -rwxr-xr-x 1 root root 17980 2009-08-27 19:47 cPalmdoc.so -rwxr-xr-x 1 root root 31646 2009-08-27 19:47 fontconfig.so -rwxr-xr-x 1 root root 89222 2009-08-27 19:47 lzx.so -rwxr-xr-x 1 root root 24481 2009-08-27 19:47 msdes.so Troy |
08-27-2009, 11:00 PM | #5 |
creator of calibre
Posts: 44,617
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What are the exact build commands you're using?
|
Advert | |
|
08-28-2009, 12:21 AM | #6 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
I'm literally cut-n-pasting from the website instructions. (except for the first 2 of course)
$ cd /opt/calibre $ rm -fR * $ wget -O- http://calibre.kovidgoyal.net/downlo...e-0.6.9.tar.gz | tar xvz $ cd calibre* $ python setup.py build && sudo python setup.py install The 'python setup.py build' command is the one that fails. Then I manually copy those files into place & re-run that last command line and it completes successfully, and then I run the final 'sudo calibre_postinstall'. (is that last step even needed anymore? it appears to do the same, or similar stuff as the last part of the install command.) Not sure it matters, but this is on Ubuntu Karmic. Troy Last edited by troymc; 08-28-2009 at 12:27 AM. |
08-28-2009, 12:24 AM | #7 |
creator of calibre
Posts: 44,617
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Does ti work if you change the last line to
python setup.py build_ext && python setup.py build && sudo python setup.py install |
08-28-2009, 01:18 AM | #8 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
Nope
Code:
/opt/calibre/calibre-0.6.10$ python setup.py build_ext && python setup.py build && sudo python setup.py install Setup calibre version: 0.6.10 WARNING: PoDoFo not found on your system. Various PDF related functionality will not work. Use the PODOFO_INC_DIR and PODOFO_LIB_DIR environment variables. running build_ext Setup calibre version: 0.6.10 WARNING: PoDoFo not found on your system. Various PDF related functionality will not work. Use the PODOFO_INC_DIR and PODOFO_LIB_DIR environment variables. running build running resources Resources are up to date running translations Translations up to date running gui Images are up to date running build_ext running build_py error: can't copy 'src/calibre/plugins/calibre_poppler.so': doesn't exist or not a regular file EDIT: I've attached a txt file showing a complete fresh rebuild. Troy Last edited by troymc; 08-28-2009 at 01:33 AM. |
08-28-2009, 01:29 AM | #9 |
creator of calibre
Posts: 44,617
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I'm out of ideas, guess you'll just have to copy it manually
|
08-28-2009, 01:45 AM | #10 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
That's cool. It hasn't slowed me down any, and if no one else is complaining it's not worth burning cycles on.
I've upgraded 5 systems to 0.6.10 tonite, including my server running 6 calibre-server instances -- everything's running just fine! That's a mix of jaunty, karmic & gentoo. Troy |
04-12-2011, 11:59 PM | #11 | |
Junior Member
Posts: 2
Karma: 234
Join Date: Apr 2011
Device: none
|
Answer appears to be (for Ubuntu 10.04)
Quote:
Subsequent to this, calibre/src/calibre/utils/podofo/podofo.cpp must be reset to #include <podofo/podofo.h>. After this, it'll all Just Work. (*INC and *LIB dirs must be of course set to the podofo install directory/include and directory/lib before it will, but after that, it's gold.) |
|
04-13-2011, 12:24 AM | #12 |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Welcome to Mobileread.
Please do not reopen a thread that is 19 months old. This thread was discussing a version of calibre about 80 versions removed from the current version. It would be best to open a new thread with your tidbit of wisdom. Last edited by DoctorOhh; 04-13-2011 at 12:27 AM. |
04-15-2011, 02:09 AM | #13 |
Junior Member
Posts: 2
Karma: 234
Join Date: Apr 2011
Device: none
|
Meh. Same issue. 80 versions later; this is the current solution as of the latest stable release.
Last edited by midnightmagic; 04-15-2011 at 02:14 AM. Reason: Less snarky. |
04-15-2011, 02:26 AM | #14 | |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
What is "the latest stable release?" |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Charging Issues and Screen Issues | srj321 | Sony Reader | 2 | 07-12-2010 12:52 AM |
MobileRead Official MobileRead Book Club: Welcome thread/November's book choice thread | PsyDocJoanne | Book Clubs | 151 | 02-08-2009 09:42 PM |
Current build issues | Utahcowboy | Bookeen | 9 | 07-17-2008 03:23 AM |