Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2011, 11:24 AM   #1
jasn
Junior Member
jasn began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: Pixel Tablet
[Solved] Calibre 0.7.43/44 - Linux Compile Segmentation Fault

Hello,

I've recently encountered a segmentation fault when I try to update Calibre from the installed version of 0.7.42, to either .43 or .44, on my Gentoo Linux desktop, (kernel 2.6.37, KDE 4.6, Qt 4.7.1-r1, Python 2.6.6-r1). I'm compiling from source using the Gentoo regular portage ebuild, and the following is the error;
Code:
*
* Running gui
*

        Compiling form /tmp/portage/app-text/calibre-0.7.44/work/calibre/src/calibre/gui2/shortcuts.ui
/tmp/portage/app-text/calibre-0.7.44/temp/environment: line 1418:  6411 Segmentation fault
      "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" install --root="${D}" --no-compile "$@"
I think that the problem is that in updating other parts of my system, I've probably got something installed in a way that's causing the segmentation fault. Here are the Calibre ebuild component dependencies for my system, and the currently installed versions;
Code:
dev-libs/icu-4.6
dev-libs/libusb-1.0.8
dev-python/setuptools-0.6.14
dev-python/beautifulsoup-3.0.8.1
dev-python/dbus-python-0.83.2
x11-misc/xdg-utils-1.1.0_rc1-r1
gnome-base/librsvg-2.32.1
dev-libs/chmlib-0.40-r1
dev-python/dnspython-1.9.2
dev-python/imaging-1.1.7
media-libs/libwmf-0.2.8.4-r3
app-text/podofo-0.8.4
app-text/poppler-0.14.5
dev-python/cssutils-0.9.7
dev-python/lxml-2.3
dev-python/mechanize-0.2.4
dev-python/python-dateutil-1.5
dev-python/PyQt4-4.8.3
media-gfx/imagemagick-6.6.5.6
dev-python/reportlab-2.5
In addition to reinstalling Python, I've reinstalled all of the above components, however I still get the same error when trying to compile Calibre. Any other suggestions on what I can try to fix this, would be greatly appreciated.

Thanks..

Last edited by jasn; 02-08-2011 at 11:53 AM. Reason: Problem is Solved
jasn is offline   Reply With Quote
Old 02-08-2011, 11:26 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,209
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
remerge sip, pyqt4 and pyde4
kovidgoyal is offline   Reply With Quote
Advert
Old 02-08-2011, 11:52 AM   #3
jasn
Junior Member
jasn began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: Pixel Tablet
Thank you Kovid!!

Re-emerging;
Code:
dev-python/sip-4.12.1
dev-python/PyQt4-4.8.3
kde-base/pykde4-4.6.0
Fixed this problem for me. I also apologize because I seem to remember this being the solution for a similar compile issue that I had earlier. I just forgot to try rebuilding sip and pykde4 this time, before posting.

Thanks again.
jasn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation Fault on calibre-server brs480 Calibre 2 02-08-2011 11:02 PM
Segmentation Fault bowsprit Calibre 4 12-28-2010 04:13 AM
Segmentation Fault when adding books to Calibre 0.7.13 TuxGirl Calibre 10 08-12-2010 11:47 PM
Segmentation fault trying to run Calibre on CentOS 5.5 midders Calibre 1 07-26-2010 11:32 AM
Segmentation fault weedfreak Calibre 10 10-01-2009 02:47 PM


All times are GMT -4. The time now is 03:56 PM.


MobileRead.com is a privately owned, operated and funded community.