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

Compile Help

Tags: None
(comma "," separated)
jirving
Registered Member
Posts
11
Karma
0

Compile Help

Sun May 08, 2016 4:53 pm
Trying to compile Tellico 2.3.11 fails on my system (64-bit Ubuntu-MATE 16.04). What am I doing wrong? I am following instructions at this link: https://techbase.kde.org/Projects/Tellico/Compiling and at the instruction:
Code: Select all
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`


I get Errors and cannot continue. The Terminal output is:

Code: Select all
jim@Green:~/Downloads/tellico-2.3.11/tellico/build$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- The CXX compiler identification is GNU 5.3.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned char
-- Check size of unsigned char - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of short
-- Check size of short - done
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Looking for strlwr
-- Looking for strlwr - not found
-- Looking for strupr
-- Looking for strupr - not found
CMake Error at /usr/share/cmake-3.5/Modules/FindKDE4.cmake:111 (message):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/jim/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:35 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/jim/Downloads/tellico-2.3.11/tellico/build/CMakeFiles/CMakeOutput.log".
See also "/home/jim/Downloads/tellico-2.3.11/tellico/build/CMakeFiles/CMakeError.log".


I first installed Tellico 2.3.9 from the Ubuntu Software Center but that caused Tellico to Crash when Updating Entries on this new Ubuntu-MATE 16.04. Checking on different 32-bit computer which also has Tellico 2.3.9 (Linux Mint-17) and that version of Tellico does NOT Crash when I add an Entry and request Update Entry. This is a Music CD collection and the external data sources do not find any data for my CD entry, but it doesn't crash Tellico. So detecting there is a new Source for Tellico (version 2.3.11) I elected to remove the package version installed on 64-bit Ubuntu-MATE and install from Tellico source code. But it won't compile on my 64-bit Ubuntu system. I'm probably missing something, but I don't know what and how to resolve this situation.

Thanks, if additional information is needed I will provide what I can.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Compile Help

Sun May 08, 2016 5:17 pm
have you installed package kdelibs5-dev


OpenSuse Leap 42.1 x64, Plasma 5.x

jirving
Registered Member
Posts
11
Karma
0

Re: Compile Help

Sun May 08, 2016 7:54 pm
Thanks for the assist - and fast too.

I added that package and ran the CMAKE command again it reported missing packages. After installing the reported missing packages one at a time it finally completed the compile and installation. The packages I needed were: kdelib5-dev, libxml2-dev and libxslt1-dev. The result gave me Tellico Version 2.3.10+git -
Using KDE Development Platform 4.14.16, not what I expected (Tellico 2.3.11); but I am fine with this version. Performing the Update Entry from All Sources doesn't get me any information for the old Music CD entry, but it doesn't crash Tellico. That is a good thing!

One more question - if you know, is there a file sitting on this computer that I can use to install this version of Tellico on another 64-bit Ubuntu-MATE 16.04 system or do I have to run the Compile & install on that system again. If there is a package file where, what's name and how would I install that on another computer?

Thanks again. Initial Problem solved.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Compile Help

Sun May 08, 2016 8:20 pm
you would need to create a .deb file (and receiving system should be same as one you created it on), you can use checkinstall to do this. There's also something called FPM but never used it.

some help:
https://debian-administration.org/artic ... eckinstall
https://www.digitalocean.com/community/ ... le-formats


OpenSuse Leap 42.1 x64, Plasma 5.x

jirving
Registered Member
Posts
11
Karma
0

Re: Compile Help

Sun May 08, 2016 9:05 pm
Thanks for the info.

I was premature using the new version of Tellico - it does still crash when using the Update Entry and I noticed the Help documentation (Tellico Handbook) was not included in the new install; but that was not the topic of my original post. I was able to compile and install.
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Compile Help

Mon May 09, 2016 12:15 am
jirving wrote:Using KDE Development Platform 4.14.16, not what I expected (Tellico 2.3.11); but I am fine with this version.

I had neglected to update the version there - just fixed it. With the git version, you've got a few bug fixes since 2.3.11.

jirving wrote:I was premature using the new version of Tellico - it does still crash when using the Update Entry and I noticed the Help documentation (Tellico Handbook) was not included in the new install; but that was not the topic of my original post. I was able to compile and install.

If you're able to isolate which data source causes the crash, that would help immensely.
jirving
Registered Member
Posts
11
Karma
0

Re: Compile Help

Mon May 09, 2016 2:31 pm
Robby,

I used the Update Entry for one music entry and selected the MusicBrainz source (the only source listed for Music) - then Tellico crashed showing the crash window.

I saved the list of missing packages for getting debug information and will install those then try again. In case the following might help ...
========================================================
The generated crash information
Application: Tellico (tellico), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6 0x000000000053b97c in KSharedPtr<Tellico::Data::Entry>::operator= (o=..., this=<synthetic pointer>) at /usr/include/ksharedptr.h:92
#7 Tellico::Fetch::MusicBrainzFetcher::fetchEntryHook (this=0x2cf7560, uid_=2054493979) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/musicbrainzfetcher.cpp:282
#8 0x00000000004ffba7 in Tellico::Fetch::Fetcher::fetchEntry (this=0x2cf7560, uid_=2054493979) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/fetcher.cpp:133
#9 0x00000000005086a6 in Tellico::Fetch::FetchResult::fetchEntry (this=this@entry=0x3001080) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/fetchresult.cpp:68
#10 0x0000000000493899 in Tellico::EntryUpdater::slotResult (this=0x30bbd00, result_=0x3001080) at /home/jim/Downloads/tellico-2.3.11/tellico/src/entryupdater.cpp:159
#11 0x00007fc92b677010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00000000004ffe1d in Tellico::Fetch::Fetcher::signalResultFound (this=this@entry=0x2cf7560, _t1=_t1@entry=0x3001080) at /home/jim/Downloads/tellico-2.3.11/tellico/build/src/fetch/fetcher.moc:103
#13 0x000000000053ab89 in Tellico::Fetch::MusicBrainzFetcher::slotComplete (this=0x2cf7560) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/musicbrainzfetcher.cpp:225
#14 0x00007fc92b677010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007fc92baf9c92 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#16 0x00007fc92baf9ce0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#17 0x00007fc92cb6ca1e in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#18 0x00007fc92cb6df21 in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0x00007fc92b677010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007fc92cc1b546 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#21 0x00007fc92cc1839d in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#22 0x00007fc92cc0abc1 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#23 0x00007fc92b677010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fc92cb32ba4 in ?? () from /usr/lib/libkio.so.5
#25 0x00007fc92b67cdb1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fc92a725fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fc92a72cf16 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fc92c6336aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007fc92b66290d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fc92b6663c6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007fc92b69313e in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007fc92588c127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fc92588c380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fc92588c42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fc92b6932ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007fc92a7d3616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007fc92b66118f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007fc92b6614f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007fc92b6674b9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x0000000000441419 in main (argc=<optimized out>, argv=<optimized out>) at /home/jim/Downloads/tellico-2.3.11/tellico/src/main.cpp:95
===========================================================
jirving
Registered Member
Posts
11
Karma
0

Re: Compile Help

Mon May 09, 2016 3:18 pm
I installed the kdelibs5-dbg package then ran Tellico to try updating a music entry with MusicBrainz and saved the Crash information (below) to a file.
This installation of Tellico was compiled from source on this computer from my directory Downloads/Tellico2.3.11 (but is actually version 2.3.10+git). Hope this helps.

Code: Select all
Application: tellico (2.3.10+git)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>
-- I tried to update an entry in a Music Collection (list of our music CDs) and
-- Selected the MusicBrainz data source, then Tellico crashed. 
-- The crash report could not be sent upstream due to KMail not in use.

The crash can be reproduced every time.

-- Backtrace:
Application: Tellico (tellico), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x000000000053b97c in KSharedPtr<Tellico::Data::Entry>::operator= (o=..., this=<synthetic pointer>) at /usr/include/ksharedptr.h:92
#7  Tellico::Fetch::MusicBrainzFetcher::fetchEntryHook (this=0x33f8a60, uid_=132780755) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/musicbrainzfetcher.cpp:282
#8  0x00000000004ffba7 in Tellico::Fetch::Fetcher::fetchEntry (this=0x33f8a60, uid_=132780755) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/fetcher.cpp:133
#9  0x00000000005086a6 in Tellico::Fetch::FetchResult::fetchEntry (this=this@entry=0x2cfd4b0) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/fetchresult.cpp:68
#10 0x0000000000493899 in Tellico::EntryUpdater::slotResult (this=0x37b2c70, result_=0x2cfd4b0) at /home/jim/Downloads/tellico-2.3.11/tellico/src/entryupdater.cpp:159
#11 0x00007f169d0d1010 in QMetaObject::activate (sender=sender@entry=0x33f8a60, m=m@entry=0x67e240 <Tellico::Fetch::Fetcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe6110b890) at kernel/qobject.cpp:3567
#12 0x00000000004ffe1d in Tellico::Fetch::Fetcher::signalResultFound (this=this@entry=0x33f8a60, _t1=_t1@entry=0x2cfd4b0) at /home/jim/Downloads/tellico-2.3.11/tellico/build/src/fetch/fetcher.moc:103
#13 0x000000000053ab89 in Tellico::Fetch::MusicBrainzFetcher::slotComplete (this=0x33f8a60) at /home/jim/Downloads/tellico-2.3.11/tellico/src/fetch/musicbrainzfetcher.cpp:225
#14 0x00007f169d0d1010 in QMetaObject::activate (sender=sender@entry=0x33f3120, m=m@entry=0x7f169d8fcb00 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe6110bb30) at kernel/qobject.cpp:3567
#15 0x00007f169d553c92 in KJob::result (this=this@entry=0x33f3120, _t1=_t1@entry=0x33f3120) at ./kjob.moc:207
#16 0x00007f169d553ce0 in KJob::emitResult (this=this@entry=0x33f3120) at ../../kdecore/jobs/kjob.cpp:318
#17 0x00007f169e5c6a1e in KIO::SimpleJob::slotFinished (this=this@entry=0x33f3120) at ../../kio/kio/job.cpp:496
#18 0x00007f169e5c7f21 in KIO::TransferJob::slotFinished (this=0x33f3120) at ../../kio/kio/job.cpp:1110
#19 0x00007f169d0d1010 in QMetaObject::activate (sender=0x37df320, m=m@entry=0x7f169e98cba0 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#20 0x00007f169e672713 in KIO::SlaveInterface::finished (this=<optimized out>) at ./slaveinterface.moc:184
#21 0x00007f169e675546 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#22 0x00007f169e67239d in KIO::SlaveInterface::dispatch (this=0x37df320) at ../../kio/kio/slaveinterface.cpp:92
#23 0x00007f169e664bc1 in KIO::Slave::gotInput (this=0x37df320) at ../../kio/kio/slave.cpp:344
#24 0x00007f169d0d1010 in QMetaObject::activate (sender=0x34e4890, m=m@entry=0x7f169e9872c0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#25 0x00007f169e58c600 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:105
#26 0x00007f169e58cba4 in KIO::ConnectionPrivate::dequeue (this=0x33fa260) at ../../kio/kio/connection.cpp:82
#27 0x00007f169d0d6db1 in QObject::event (this=0x34e4890, e=<optimized out>) at kernel/qobject.cpp:1222
#28 0x00007f169c17ffdc in QApplicationPrivate::notify_helper (this=this@entry=0x28d3ad0, receiver=receiver@entry=0x34e4890, e=e@entry=0x2e8ab00) at kernel/qapplication.cpp:4570
#29 0x00007f169c186f16 in QApplication::notify (this=this@entry=0x7ffe6110c840, receiver=receiver@entry=0x34e4890, e=e@entry=0x2e8ab00) at kernel/qapplication.cpp:4356
#30 0x00007f169e08d6aa in KApplication::notify (this=0x7ffe6110c840, receiver=0x34e4890, event=0x2e8ab00) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f169d0bc90d in QCoreApplication::notifyInternal (this=0x7ffe6110c840, receiver=receiver@entry=0x34e4890, event=event@entry=0x2e8ab00) at kernel/qcoreapplication.cpp:955
#32 0x00007f169d0c03c6 in QCoreApplication::sendEvent (event=0x2e8ab00, receiver=0x34e4890) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x28a25e0) at kernel/qcoreapplication.cpp:1579
#34 0x00007f169d0c06a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#35 0x00007f169d0ed13e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x28d0f80) at kernel/qeventdispatcher_glib.cpp:300
#37 0x00007f16972e6127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f16972e6380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f16972e642c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f169d0ed2ae in QEventDispatcherGlib::processEvents (this=0x28a3ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#41 0x00007f169c22d616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f169d0bb18f in QEventLoop::processEvents (this=this@entry=0x7ffe6110c750, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f169d0bb4f5 in QEventLoop::exec (this=this@entry=0x7ffe6110c750, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f169d0c14b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#45 0x00007f169c17e22c in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x0000000000441419 in main (argc=<optimized out>, argv=<optimized out>) at /home/jim/Downloads/tellico-2.3.11/tellico/src/main.cpp:95


Report to tellico-users@kde.org
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Compile Help

Tue May 10, 2016 10:37 am
jirving wrote:I installed the kdelibs5-dbg package then ran Tellico to try updating a music entry with MusicBrainz and saved the Crash information (below) to a file.
This installation of Tellico was compiled from source on this computer from my directory Downloads/Tellico2.3.11 (but is actually version 2.3.10+git). Hope this helps.

This gives me a great place to start. Thanks!


Bookmarks



Who is online

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