This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with calligra git source. What am I doing wrong?

Tags: None
(comma "," separated)
wotan
Registered Member
Posts
131
Karma
-2
OS
Hi there, I have an issue when compilling calligra git from source
Basically it compil well, some programm start some don't
Almost each time when opening or creating documents its gonna crash
I am wondering if it is a bug of the git version or rather that I miss a step

So what I have done is more or less what I have seen on
http://community.kde.org/Calligra/Building
Code: Select all
mkdir $HOME/kde/src/calligra
cd $HOME/kde/src/calligraflow
git clone kde:calligra

mkdir -p $HOME/kde/build/calligra
mkdir -p $HOME/kde/inst
cd $HOME/kde/build/calligra

cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DIHAVEPATCHEDQT=true

make -j4

sudo make install

export KDEDIRS=$HOME/kde/inst:$KDEDIRS
export PATH=$HOME/kde/inst/bin:$PATH
export KDEHOME=$HOME/kde/.kde4

kbuildsyscoca4


Some programms don't even open the ui (braindump) Some others do but will all crash when I open or create a new document giving an error that looks like this: sock_file=/home/max/kde/.kde/socket-netbook/kdeinit4__0
example
Code: Select all

max@netbook:~/kde/inst/bin$ ./calligraflow
flow(3206)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document
flow(3206)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: defaultstyles.xml not found
flow(3206)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document
flow(3206)/kotext KoOdfLoadingContext::fillStyleStack: style "dp1" not found in content.xml
flow(3206)/koffice (lib pigment) KoColorConversionSystem::insertColorSpace: Cannot add node for  "YCBCR (8-bit integer/channel)" , since there are no profiles available
flow(3206)/koffice (lib pigment) KoColorConversionSystem::insertColorSpace: Cannot add node for  "YCBCR (16-bit integer/channel)" , since there are no profiles available
flow(3206)/koffice (lib pigment) KoColorConversionSystem::insertColorSpace: Cannot add node for  "YCBCR (32-bit float/channel)" , since there are no profiles available
connect failed: Datei oder Verzeichnis nicht gefunden
flow(3206): No language dictionaries for the language :  "de"

Enchant dict for "en_US" 0xb4d1308
Enchant dict for "en_US" 0xb4d1308
flow(3206): No language dictionaries for the language :  "de"

Enchant dict for "en_US" 0xb4d1308
Enchant dict for "en_US" 0xb4d1308
KCrash: Application 'calligraflow' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/max/kde/.kde/socket-netbook/kdeinit4__0

[1]+  Angehalten              ./calligraflow
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
wotan wrote:So what I have done is more or less what I have seen on
http://community.kde.org/Calligra/Building
Code: Select all
mkdir $HOME/kde/src/calligra
cd $HOME/kde/src/calligraflow
git clone kde:calligra



So the last puts the source code into $HOME/kde/src/calligraflow/calligra, right?

wotan wrote:
Code: Select all
mkdir -p $HOME/kde/build/calligra
mkdir -p $HOME/kde/inst
cd $HOME/kde/build/calligra

cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DIHAVEPATCHEDQT=true



If I don't misread, the last line builds code from $HOME/kde4/src/calligra instead of $HOME/kde/src/calligraflow/calligra.
If so, you did not build calligra at all...


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
wotan
Registered Member
Posts
131
Karma
-2
OS
Hi

Oops, sorry, when i have written this post I have copied this sentence from the webpage and not the one that i modified to fit my own configuration when installing
Also, what I actually did is use the $HOME/kde (and not $HOME/kde4 as I wrote previously) in order to fit my own settings as follows
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde/inst $HOME/kde/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DIHAVEPATCHEDQT=true


Also, yes it did build (about 6 hours long ^^) and I now have the binairies in $HOME/kde/inst/bin

Prior to this I had retieved the dependecies with
Code: Select all
ssudo apt-get build-dep calligra

(forgot to mention it: I use Kubuntu 12.04 32 bit KDE4.8.4)

cmake seems to say he has found everything (except 3/4 things like libvisio or openjpeg2000 (not sure the name) or two other stuff that in my understanding are just optional librairires used for filters)

I don't know i you have an idea what this message could come from ?
Code: Select all
sock_file=/home/max/kde/.kde/socket-netbook/kdeinit4__0
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
1. Of course you run apps from command line, not icons?

2. Please also try:
export LD_LIBRARY_PATH=$HOME/kde/inst/lib:$LD_LIBRARY_PATH

(on 64-bit platform, lib should be replaced by lib64)

3. Some apps may be skipped if there are missing dependencies, but you're informed about this after invoking cmake.


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
wotan
Registered Member
Posts
131
Karma
-2
OS
Hi Jaroslaw,thks for your time

1) Yes, either typing directly "calligrasheets" or typing "./calligrasheets" from ~/kde/inst/bin

2) Hmm seems to not work either:
I now have
Code: Select all
max@netbook:~/kde/build/calligra$ echo -e "$LD_LIBRARY_PATH \n  $KDEDIRS \n $KDEHOME \n $PATH"
/home/max/kde/inst/lib:/usr/lib:/home/max/Documents/C/Library/lib:
  /home/max/kde/inst:/home/max/kde
 /home/max/kde/.kde4
 /home/max/kde/inst/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games


and when I launch calligrasheets

Code: Select all
max@netbook:~/kde/build/calligra$ calligrasheets
sheets(25012)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document
sheets(25012)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document
sheets(25012)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document
sheets(25012)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document
sheets(25012)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions!
Kross: "Action::setInterpreter: interpreter not found: ruby"
sheets(25012)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions!
sheets(25012)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "KSpread/Plugin"  not found
sheets(25012)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "KSpread/Plugin"  not found
connect failed: Datei oder Verzeichnis nicht gefunden
sheets(25012): No language dictionaries for the language :  "de"

Enchant dict for "en_US" 0x9f73260
Enchant dict for "en_US" 0x9f73260
sheets(25012): No language dictionaries for the language :  "de"

Enchant dict for "en_US" 0x9f73260
Enchant dict for "en_US" 0x9f73260
KCrash: Application 'calligrasheets' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/max/kde/.kde4/socket-netbook/kdeinit4__0

[1]+  Angehalten              calligrasheets
max@netbook:~/kde/build/calligra$ QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 14 and type 'Read', disabling...
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
Could you please paste backtrace after crash, from drkonqi?


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
wotan
Registered Member
Posts
131
Karma
-2
OS
hi for braindump

Application: Braindump (braindump), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7719740 (LWP 2576))]

Thread 2 (Thread 0xb123bb40 (LWP 2582)):
#0 0x00662416 in __kernel_vsyscall ()
#1 0x06e8117b in read () at ../sysdeps/unix/syscall-template.S:82
#2 0x055056ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0x054c6bd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0x054c7042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0x054c7201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6 0x016d98e7 in QEventDispatcherGlib::processEvents (this=0xb0907440, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7 0x016a550d in QEventLoop::processEvents (this=0xb123b240, flags=...) at kernel/qeventloop.cpp:149
#8 0x016a57a9 in QEventLoop::exec (this=0xb123b240, flags=...) at kernel/qeventloop.cpp:204
#9 0x0158e94c in QThread::exec (this=0xab4d930) at thread/qthread.cpp:501
#10 0x01682b5d in QInotifyFileSystemWatcherEngine::run (this=0xab4d930) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x01591de0 in QThreadPrivate::start (arg=0xab4d930) at thread/qthread_unix.cpp:298
#12 0x01432d4c in start_thread (arg=0xb123bb40) at pthread_create.c:308
#13 0x06e91ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7719740 (LWP 2576)):
[KCrash Handler]
#7 KoPointerEvent::modifiers (this=0x2) at /home/max/kde/src/calligra/libs/flake/KoPointerEvent.cpp:300
#8 0x024b3def in ?? () from /usr/lib/kde4/treeshape.so
#9 0x00d155db in qt_static_metacall (_a=0xbfe0f2f4, _id=8, _o=0xb022f00, _c=<optimized out>) at /home/max/kde/build/calligra/libs/flake/KoToolBase.moc:76
#10 KoToolBase::qt_static_metacall (_o=0xb022f00, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe0f2f4) at /home/max/kde/build/calligra/libs/flake/KoToolBase.moc:62
#11 0x016bd6b1 in QMetaObject::activate (sender=0xb234bf8, m=0xdf4c58, local_signal_index=0, argv=0xbfe0f2f4) at kernel/qobject.cpp:3547
#12 0x00cd2c2d in KoCanvasResourceManager::resourceChanged (this=0xb234bf8, _t1=2, _t2=...) at /home/max/kde/build/calligra/libs/flake/KoCanvasResourceManager.moc:99
#13 0x00cd2dfd in KoCanvasResourceManager::setResource (this=0xb234bf8, key=2, value=...) at /home/max/kde/src/calligra/libs/flake/KoCanvasResourceManager.cpp:56
#14 0x00cd34b9 in KoCanvasResourceManager::setActiveStroke (this=0xb234bf8, stroke=...) at /home/max/kde/src/calligra/libs/flake/KoCanvasResourceManager.cpp:125
#15 0x02fba19a in StrokeDocker::applyMarkerChanges (this=0x8fcaee8, position=KoMarkerData::MarkerStart) at /home/max/kde/src/calligra/plugins/dockers/strokedocker/StrokeDocker.cpp:147
#16 0x02fba40e in StrokeDocker::startMarkerChanged (this=0x8fcaee8) at /home/max/kde/src/calligra/plugins/dockers/strokedocker/StrokeDocker.cpp:202
#17 0x016bd6b1 in QMetaObject::activate (sender=0x8fd0828, m=0x6f6a5c, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3547
#18 0x006bd6a5 in KoStrokeConfigWidget::currentStartMarkerChanged (this=0x8fd0828) at /home/max/kde/build/calligra/libs/widgets/KoStrokeConfigWidget.moc:153
#19 0x006bd830 in qt_static_metacall (_a=0xbfe0f5c8, _id=5, _o=0x8fd0828, _c=<optimized out>) at /home/max/kde/build/calligra/libs/widgets/KoStrokeConfigWidget.moc:70
#20 KoStrokeConfigWidget::qt_static_metacall (_o=0x8fd0828, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfe0f5c8) at /home/max/kde/build/calligra/libs/widgets/KoStrokeConfigWidget.moc:59
#21 0x016bd6b1 in QMetaObject::activate (sender=0x90f41c8, m=0x45adc04, local_signal_index=5, argv=0xbfe0f5c8) at kernel/qobject.cpp:3547
#22 0x0407aa35 in QComboBox::currentIndexChanged (this=0x90f41c8, _t1=0) at .moc/release-shared/moc_qcombobox.cpp:316
#23 0x0407aacf in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x90ee8d8, index=...) at widgets/qcombobox.cpp:1278
#24 0x0407adbb in QComboBoxPrivate::setCurrentIndex (this=0x90ee8d8, mi=...) at widgets/qcombobox.cpp:2046
#25 0x0407aed6 in QComboBox::setCurrentIndex (this=0x90f41c8, index=0) at widgets/qcombobox.cpp:2022
#26 0x0407b6b8 in QComboBox::setModel (this=0x90f41c8, model=0xb496a78) at widgets/qcombobox.cpp:1965
#27 0x006dd3cf in KoMarkerSelector::updateMarkers (this=0x90f41c8, markers=...) at /home/max/kde/src/calligra/libs/widgets/KoMarkerSelector.cpp:108
#28 0x006bd752 in KoStrokeConfigWidget::updateMarkers (this=0x8fd0828, markers=...) at /home/max/kde/src/calligra/libs/widgets/KoStrokeConfigWidget.cpp:272
#29 0x02fb9443 in StrokeDocker::setCanvas (this=0x8fcaee8, canvas=0xb23575c) at /home/max/kde/src/calligra/plugins/dockers/strokedocker/StrokeDocker.cpp:276
#30 0x00d191c7 in KoCanvasControllerWidget::Private::activate (this=0xa853d38) at /home/max/kde/src/calligra/libs/flake/KoCanvasControllerWidget.cpp:200
#31 0x00d1936e in KoCanvasControllerWidget::activate (this=0xa851e40) at /home/max/kde/src/calligra/libs/flake/KoCanvasControllerWidget.cpp:261
#32 0x00d2dcd8 in KoToolManager::Private::attachCanvas (this=0xa854ba0, controller=0xa851e54) at /home/max/kde/src/calligra/libs/flake/KoToolManager.cpp:495
#33 0x00d2f414 in qt_static_metacall (_a=0xbfe0faa8, _id=11, _o=0xa854b40, _c=<optimized out>) at /home/max/kde/build/calligra/libs/flake/KoToolManager.moc:99
#34 KoToolManager::qt_static_metacall (_o=0xa854b40, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfe0faa8) at /home/max/kde/build/calligra/libs/flake/KoToolManager.moc:82
#35 0x016bd6b1 in QMetaObject::activate (sender=0xa853cd8, m=0xdf5ad8, local_signal_index=1, argv=0xbfe0faa8) at kernel/qobject.cpp:3547
#36 0x00d166a5 in KoCanvasControllerProxyObject::canvasSet (this=0xa853cd8, _t1=0xa851e54) at /home/max/kde/build/calligra/libs/flake/KoCanvasController.moc:138
#37 0x00d195ae in emitCanvasSet (canvasController=0xa851e54, this=<optimized out>) at /home/max/kde/src/calligra/libs/flake/KoCanvasController.h:339
#38 KoCanvasControllerWidget::setCanvas (this=0xa851e40, canvas=0xb23575c) at /home/max/kde/src/calligra/libs/flake/KoCanvasControllerWidget.cpp:307
#39 0x08069622 in View::createCanvas (this=0x8fb58c8, _currentSection=0x8e49450) at /home/max/kde/src/calligra/braindump/src/View.cpp:277
#40 0x0806986e in View::setActiveSection (this=0x8fb58c8, page=0x8e49450) at /home/max/kde/src/calligra/braindump/src/View.cpp:304
#41 0x0806b482 in View::View (this=0x8fb58c8, document=0x8e4a1d8, parent=0x8f91438) at /home/max/kde/src/calligra/braindump/src/View.cpp:98
#42 0x0805d357 in MainWindow::MainWindow (this=0x8f91438, document=0x8e4a1d8, componentData=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/max/kde/src/calligra/braindump/src/MainWindow.cpp:62
#43 0x08057041 in main (argc=1, argv=0xbfe0fdd4) at /home/max/kde/src/calligra/braindump/src/main.cpp:46
wotan
Registered Member
Posts
131
Karma
-2
OS
Somethng new? should I file a bug?
boemann
KDE Developer
Posts
80
Karma
0
OS
No, it seems you have some old files in your install dir. Please clean it and re install.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell