LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-02-2009, 01:00 AM   #1
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,006

Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
Order to build KDE4 deps


What is the correct order for building the contents of testing/source/kde4/deps?

I've been trying to work it out, and all I can remember is:

sip before qt
qt before PyQt
qca before qca-cyrus-sasl, qca-gnupg or qga-ossl
clucene before soprano

Obviously, this isn't complete.

May I have some help completing this please?
 
Old 01-02-2009, 01:36 AM   #2
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
http://techbase.kde.org/Getting_Started/Build/KDE4
that should cover it....

or you could use the build tool:
http://kdesvn-build.kde.org/
which i think most of the devs use
 
Old 01-02-2009, 03:24 AM   #3
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,006

Original Poster
Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
The first link took me to:
http://techbase.kde.org/Getting_Star.../Prerequisites

It recommended building boost, cluecene and raptor and rasqal (both of which are part of librdf) first, then qt, then soprano, strigi, eigen, qimageblitz, phonon and qca.

According to the openexr site, ilmbase is a dependency for openexr.

According to the librdf site, raptor and rasqal are dependencies for redland.

Obviously, QScintilla needs to be built after Qt.

The order for the others probably doesn't matter.

Actually, that just about does cover it.

So would the following order be correct?
  1. sip, boost, cluecene, raptor, rasqal, ilmbase
  2. qt, opexr
  3. PyQt, soprano, strigi, eigen, eigen2, qimageblitz, phonon, qca
  4. everything else

Last edited by dugan; 01-02-2009 at 03:46 AM.
 
Old 01-02-2009, 06:52 AM   #4
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 370

Rep: Reputation: 98
sip needs to be built before PyQt, but that would be fine as you listed it already in the correct order.
Something missing though is akonadi, which includes (at this time) also automoc, which is required by phonon.
If you build kde-4.2 you can strip eigen, it's not necessary anymore.

That should be everything now
 
Old 01-02-2009, 09:56 AM   #5
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,006

Original Poster
Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
Thanks all.

BTW, speaking of "geek-ware", the list of packages above sounds like the cast of some 80s science fiction-themed cartoon toy commercial!

"Sip, master of disguise; Eigen, demolitions expert; Qimageblitz, the master of illusion. Watch them join forces against the evil Akonadi and his sidekick Soprano. Collect them all. Each sold separately."
 
Old 01-07-2009, 01:42 PM   #6
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Hi,

I'm currently in the process of setting up KDE 4.2 in my fresh Slackware 12.2 box.

I've been reading a lot about the building process (mostly because I didn't quite get some things, which are just starting to make sense now that I have my hands on it). And I have to admit that the information reflected here made me raise an eyebrow.

What I found confusing is the fact that you mention some stuff that isn't listed in the techbase documentation i.e. sip, ilmbase, opexr. Actually here's the list of the things that I've installed since this morning (I'm still on the prerequisites section):

Code:
libjpg --> already existed
libpng --> already existed
libungif --> already existed
libclucene --> installed
librdf --> installed
	raptor --> installed
	rasqal --> installed
libxml2 --> already existed
libxslt --> already existed
shared-mime-info --> updated to the 0.51 (actually not sure if it was present already)
boost --> installed
And right now Qt 4.4.3 is in the making process.

According to what I understand based on the documentation from KDE the following step would be to install kdesupport:

Quote:
There are several libraries that KDE applications rely on in the
kdesupport module. This includes Phonon, Strigi and Soprano for file
metadata and search, QImageBlitz for image manipulation needed in
kdebase, eigen for visual effects in applications such as Kalzium,
taglib for music players and qca for some cryptographic needs.
So then I can install Phonon, Strigi, Soprano, QImageBlitz, eigen (not necessary according to ppr:kut), taglib and qca.

And finally, after that I could proceed to just checkout the trunk to get the full KDE 4.2 sources.

Is this correct or am I missing something? Any light you might be able to shed on this will be greatly appreciated.
 
Old 01-07-2009, 02:57 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,397

Rep: Reputation: Disabled
This is the README in Slackware-current which describes what the KDE 4.1.3 package build order was: http://slackware.osuosl.org/slackwar...es/kde4/README . You can use that as a guideline to build KDE4.2 betas too, as long as you have up to date versions of the dependencies.

Eric
 
Old 01-07-2009, 03:13 PM   #8
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 370

Rep: Reputation: 98
There is one additional must have dependency for 4.2 that was not necessary for 4.1: libical (for kdepimlibs). kdepimlibs used an internal fork of libical until some weeks ago.
 
Old 01-07-2009, 03:25 PM   #9
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 370

Rep: Reputation: 98
Quote:
eigen (not necessary according to ppr:kut)
well, I said eigen(1) is not needed anymore. You'll still need the eigen from kdesupport though, which is actually eigen2
 
Old 01-07-2009, 05:41 PM   #10
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Thanks a lot to everyone for this information!

I'll review the suggested docs and keep on with my KDE 4 installation adventure and I'll get back here if any new doubts arise.

Thanks again!
 
Old 01-08-2009, 10:02 AM   #11
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
H there, me again.

I have got past the qt-copy installation. The problem is that the command

Code:
which qmake
throws

Code:
usr/bin/qmake
Instead of

Code:
~/qt-copy/bin/qmake
This is now causing an error to happen when trying to run cmakekde for kdesupport:

Code:
CMake Error at /usr/share/cmake-2.6/Modules/FindQt4.cmake:1664 (MESSAGE):
  Qt qmake not found!
Call Stack (most recent call first):
  automoc/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
The documentation recommends to just reinstall everything, but isn't there a way to point an environmental variable to the right place maybe? I'm asking not because of laziness to reinstall (it would take less time than posting here :P), but because I don't see how reinstalling what already was successfully installed would change anything in this case (please don't take that as an underestimation of the docs that more capable people than me prepared, but I'm just trying to understand what's going on, not just repeat steps blindly).

Could also the fact that before this step I installed Qt 4.4.3 myself be causing this? Anyway, I'm now uninstalling Qt 4.4.3 to see if that leaves me only with the qt-copy from kde trunk. And I'm seriously thinking about just reinstalling my Slack (it's fresh so no big deal) to start again from scratch.

What do you think?

Thanks in advance.
 
Old 01-08-2009, 01:26 PM   #12
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
I was able to solve the qt problem by editing the .bashrc file finally, it was pointing to the wrong directory.

But now a new error message pops up, about which the docs don't say a thing. I've been trying to google it but found nothing significant. Any ideas?

This is the error message:
Code:
kde4@darkstar:~/KDE4/src/kdesupport$ cmakekde
-- Found Qt-Version 4.4.3 (using /home/kde4/KDE4/src/qt-copy/bin/qmake)
-- Found Automoc4: /home/kde4/KDE4/build/kdesupport/automoc/automoc4
CMake Error at /usr/share/cmake-2.6/Modules/FindBoost.cmake:620 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  akonadi/CMakeLists.txt:38 (find_package)


CMake Error at akonadi/CMakeLists.txt:40 (message):
  Akonadi requires the Boost C++ libraries.


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
The problem is that I don't find how to manually set those two variables, actually the following only give me empty paths:

Code:
echo $BOOST_ROOT

echo $BOOST_INCLUDEDIR
Are these two actually environmental variables? Where can I find them? And how do I set them to point to my boost directory? Google just gives me a cmake file that says "Set this to the include directory of Boost, if the module has problems finding the proper Boost installation"
 
Old 01-08-2009, 01:29 PM   #13
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Quick update: including the boost directory to the $PATH did not help.
 
Old 01-08-2009, 02:31 PM   #14
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Ok, getting closer, I've learned that I need to edit the FindBoost.cmake file (now that I think of it, the file was mentioned on the message ), but I'm not exactly sure of how to set the variable.

This didn't work:
Code:
SET(BOOST_ROOT "/usr/local/include/boost-1_37/boost/")
 
Old 01-09-2009, 02:53 AM   #15
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Well, I was finally able to solve it. A look at cmake's man page and a deeper google search revealed the necessary steps.

What I did was to setup a symbolic link within /usr/local/bin for boost and another for qmake (the latter because I started to get an error because cmakekde wasn't able to find qmake).
 
  


Reply

Tags
compile, kde4, smoke, svn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python deps crazy8 Fedora 6 11-21-2007 11:13 PM
Spice3 deps mrsolo Linux - Software 2 03-21-2006 01:36 PM
Gnome 2.12 build order lukebeales Linux - Software 3 09-13-2005 01:21 PM
The Secret to Deps Diode Linux - Software 3 02-12-2004 01:57 PM
gnome 2.4 srpm build order on redhat AS 3.0 dnraikes Linux - General 1 12-19-2003 07:59 PM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration