![]() |
[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 |
Works for me. In fact I just built 0.6.9 :)
|
hmmm....maybe I need to build 0.6.9?!?!? yes?!
:thumbsup: Troy |
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/pluginsCode:
/opt/calibre/calibre-0.6.9$ ls -l src/calibre/pluginsCode:
/opt/calibre/calibre-0.6.9$ ls -lR src/calibre/pluginsTroy |
What are the exact build commands you're using?
|
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 |
Does ti work if you change the last line to
python setup.py build_ext && python setup.py build && sudo python setup.py install |
1 Attachment(s)
Nope
Code:
/opt/calibre/calibre-0.6.10$ python setup.py build_ext && python setup.py build && sudo python setup.py install EDIT: I've attached a txt file showing a complete fresh rebuild. Troy |
Hmm I'm out of ideas, guess you'll just have to copy it manually :)
|
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. :thanks: Troy |
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.) |
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. |
Meh. Same issue. 80 versions later; this is the current solution as of the latest stable release.
|
Quote:
What is "the latest stable release?" |
| All times are GMT -4. The time now is 06:34 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.