Summary: | Okular crashed right after the first start after being compiled | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Tobias <tobias.preuss> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/okular/50b9424577d4451661fa35d0d7a3918bbb0eeec0 | Version Fixed In: | 4.9.3 |
Sentry Crash Report: |
Description
Tobias
2012-10-08 21:17:34 UTC
Did you compile against your system kdelibs? did you set your KDEDIRS envvar? *** Bug 308094 has been marked as a duplicate of this bug. *** Git commit 50b9424577d4451661fa35d0d7a3918bbb0eeec0 by Albert Astals Cid. Committed on 08/10/2012 at 23:51. Pushed by aacid into branch 'KDE/4.9'. Don't crash if can't create the part It can fail in some extreme cases M +12 -13 shell/shell.cpp http://commits.kde.org/okular/50b9424577d4451661fa35d0d7a3918bbb0eeec0 (In reply to comment #1) > Did you compile against your system kdelibs? did you set your KDEDIRS envvar? I compiled the sources using the following command: cmake ../ -DCMAKE_INSTALL_PREFIX=~/okular-install -DCMAKE_BUILD_TYPE="Debug" -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2/freetype which doesn't answer the question if you set your kdedirs envvar, or probably means you didn't? Read the last bit of http://okular.kde.org/download.php Pull from git and this crash will go away (you'll still get a non working okular without the KDEDIRS thing though) I run `export KDEDIRS=~/okular-install/bin/okular:$(kde4-config --prefix); kbuildsycoca4` but it does hinder Okular from crashing. If it does hinder okular from crashing all is good, no? Or you mean it still crashes? It does not hinder Okular from crashing. Sorry for the typo. the KDEDIRS is wrong, does ~/okular-install/bin/okular seem something that is worth of being named "KDEDIRS"? KDEDIRS should be ~/okular-install that is where you told cmake to install okular, also not sure if the ~ will work so give it a manual substitution just in case Finally `export KDEDIRS=~/okular-install:$(kde4-config --prefix); kbuildsycoca4` works. Sorry, but the path was not totally understandable for me from the website. Thank you! |