Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th June 2012, 10:30 AM
g8jvm Offline
Registered User
 
Join Date: Aug 2010
Posts: 256
linuxfirefox
QT4/KDE4 prob build piklab 16.

Hi
the QT4 version of piklab has just been released , probably too late for anyone to pick up and package for FC17

Untarring the package and running cmake .
I get this, and as its a QT4 based thing I haven't a clue which way forward.

Code:
[richard@g8jvm-lap piklab-0.16.0]$ cmake .
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/richard/.kde/share/apps;/usr/share/kde-settings/kde-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  cmake/Piklab.cmake:28 (find_package)
  CMakeLists.txt:21 (include)
Can anyone make a suggestion what its getting stuck on and action to take

TIA
Richard
Reply With Quote
  #2  
Old 13th June 2012, 12:25 PM
987my Offline
Registered User
 
Join Date: Aug 2010
Posts: 11
linuxepiphany
Re: QT4/KDE4 prob build piklab 16.

Quote:
Originally Posted by g8jvm View Post
Hi
the QT4 version of piklab has just been released , probably too late for anyone to pick up and package for FC17

Untarring the package and running cmake .
I get this, and as its a QT4 based thing I haven't a clue which way forward.

Code:
[richard@g8jvm-lap piklab-0.16.0]$ cmake .
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/richard/.kde/share/apps;/usr/share/kde-settings/kde-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  cmake/Piklab.cmake:28 (find_package)
  CMakeLists.txt:21 (include)
Can anyone make a suggestion what its getting stuck on and action to take

TIA
Richard
I managed to go farther than you. I tried to compile piklab-0.16 in gnome so I installed these
Code:
gcc-c++
readline-devel
libusb-devel
kdelibs-devel
qt-devel
cmake
I managed to generate the Makefile, but failed to run "make install". I got this error
Code:
~/piklab-0.16.0/src/common/common/global.h:49:28: fatal error: kapplication.h: No such file or directory
kapplication.h exists in /usr/include/kde4/ but I'm not sure how to tell make that it's there. In fact, make failed to find every thing in /usr/include/kde4.
Reply With Quote
  #3  
Old 15th August 2012, 10:35 PM
bitlord Offline
Registered User
 
Join Date: Nov 2011
Posts: 5
linuxfirefox
Re: QT4/KDE4 prob build piklab 16.

Same problem here piklab-0.16.1, today I tried to update .spec file to make a fedora package, but no luck. Asked on piklab-users mailing list, we will see ;-)


(I'm n00b in fedora, and especially building rpm packages.)

---------- Post added at 11:35 PM ---------- Previous post was at 11:12 PM ----------

People from #fedora-kde helped me a lot with building rpm packages, and <Kevin_Kofler> looked at sources for build system, and found the problem.

Here is the simple patch which fixes this build

--- cmake/Piklab.cmake_orig 2012-08-15 23:21:25.515511895 +0200
+++ cmake/Piklab.cmake 2012-08-15 23:21:52.746171465 +0200
@@ -27,7 +27,7 @@
else(QT_ONLY)
find_package(KDE4 REQUIRED)
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
- include_directories( ${KDE4_INCLUDE_DIRS})
+ include_directories( ${KDE4_INCLUDES})
set(EXE_LIBS ${QT_LIBRARIES} ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} kde)
set(GUI_LIBS ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS} ${EXE_LIBS} kde_gui ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KFILE_LIBS})
endif(QT_ONLY)
Reply With Quote
  #4  
Old 16th August 2012, 11:26 PM
bitlord Offline
Registered User
 
Join Date: Nov 2011
Posts: 5
linuxfirefox
Re: QT4/KDE4 prob build piklab 16.

And if you are interested to see new piklab in f17+, here is the bug/rfe I filed.
I tried to play with a .spec file and patches, and it is possible to make a package, maybe it still needs some minor fixes, but it works.
Reply With Quote
Reply

Tags
build, piklab, prob, qt4 or kde4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PIKLAB & USB ICD2 Programmer access g8jvm Using Fedora 0 8th December 2010 10:56 AM
Piklab :ICD 2 programer not found g8jvm Hardware & Laptops 5 4th November 2010 03:19 PM
Piklab sdcc gputils lambcutlet Programming & Packaging 2 19th June 2009 09:42 PM
KDE4/Edu/Step build? 4ndY Using Fedora 4 16th December 2007 09:08 PM
sound prob when there is no prob jakarpinsk1 Using Fedora 0 19th June 2005 12:34 AM


Current GMT-time: 09:45 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat