[SOLVED] calibre AlienBob's package doesn't run anymore on -current
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
calibre AlienBob's package doesn't run anymore on -current
I occasionally run ebokk-viewer from calibre on Slackware64-current. I'm using AlienBob's package and I follow his weekly updates.
However it doesn't run anymore since the last big -current update.
The culprit looks to be the ImageMagick:
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
from calibre.gui2.main import main
File "/usr/lib64/calibre/calibre/gui2/main.py", line 18, in <module>
from calibre.library.database2 import LibraryDatabase2
File "/usr/lib64/calibre/calibre/library/database2.py", line 39, in <module>
from calibre.utils.magick.draw import save_cover_data_to
File "/usr/lib64/calibre/calibre/utils/magick/__init__.py", line 15, in <module>
raise RuntimeError('Failed to load ImageMagick: '+_merr)
RuntimeError: Failed to load ImageMagick: libMagickWand.so.4: cannot open shared object file: No such file or directory
I discovered it with calibre 0.8.53, and it's still there with this week 0.8.54 update.
I'll try to rebuild the package myself later, I'll let you know if it's enough.
I hope AlienBob will find a way to make a one package compatible with both versions
####### Building extension progress_indicator #######
* Running gui
Compiling form /tmp/build/tmp-calibre/calibre/src/calibre/gui2/shortcuts.ui
Traceback (most recent call last):
File "setup.py", line 99, in <module>
File "setup.py", line 85, in main
File "/tmp/build/tmp-calibre/calibre/setup/__init__.py", line 163, in run_all
File "/tmp/build/tmp-calibre/calibre/setup/__init__.py", line 156, in run_cmd
File "/tmp/build/tmp-calibre/calibre/setup/__init__.py", line 159, in run_cmd
File "/tmp/build/tmp-calibre/calibre/setup/gui.py", line 37, in run
File "/tmp/build/tmp-calibre/calibre/setup/gui.py", line 61, in build_forms
File "/tmp/build/tmp-calibre/calibre/src/calibre/gui2/__init__.py", line 894, in build_forms
IOError: [Errno 13] Permission denied: '/tmp/build/tmp-calibre/calibre/src/calibre/gui2/shortcuts_ui.py'
mv: cannot stat «*/tmp/build/package-calibre/usr/etc*»: No such file or directory
I tried to compile too with only icu4c and podofo installed and got some crazy erros too. I later looked again the same post i made about this same error and Willy told me to upgrade cssutils, sip and PyQt if i wanted to compile. So i did and my calibre-package compiled. Try that. Im not 100% sure u need to upgrade all 3 packages, but im sure u need cssutils >= 0.9.9. Ill notify the CSSutils mantainer in Slackbuilds.org to update it to the 0.9.10b. It builds flawless ( needs ditribute )
Im not 100% sure u need to upgrade all 3 packages, but im sure u need cssutils >= 0.9.9. Ill notify the CSSutils mantainer in Slackbuilds.org to update it to the 0.9.10b. It builds flawless ( needs ditribute )
Please don't email me about this. I've already downgraded the cssutils package on SBo because newer versions aren't compatible with the version of calibre on SBo.
sorry bro, i wont email u then. Ill check more about this when i have some time.
Either you use the calibre.SlackBuild script on http://slackbuilds.org/ (but that will give you a severely outdated version of calibre) or you use my own calibre.SlackBuild which requires cssutils >= 0.9.9.
Note that if you do not have python2.7 installed on your computer (Slackware still ships 2.6 even in -current although that will change soon), then my SlackBuild will compile a "private" version of python2.7 inclusing cssutils, PyQt and several other python modules into the package. Only icu4c and podofo remain as external dependencies.