[SOLVED] calibre AlienBob's package doesn't run anymore on -current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
calibre AlienBob's package doesn't run anymore on -current
Hi
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:
Code:
$ calibre
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>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/tmp/build/tmp-calibre/calibre/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/tmp/build/tmp-calibre/calibre/setup/__init__.py", line 156, in run_cmd
self.run_cmd(scmd, opts)
File "/tmp/build/tmp-calibre/calibre/setup/__init__.py", line 159, in run_cmd
cmd.run(opts)
File "/tmp/build/tmp-calibre/calibre/setup/gui.py", line 37, in run
self.build_forms()
File "/tmp/build/tmp-calibre/calibre/setup/gui.py", line 61, in build_forms
build_forms(self.SRC, info=self.info)
File "/tmp/build/tmp-calibre/calibre/src/calibre/gui2/__init__.py", line 894, in build_forms
open(compiled_form, 'wb').write(dat)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.