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

cannot install KDE development

Tags: None
(comma "," separated)
2handband
Registered Member
Posts
304
Karma
0
OS

cannot install KDE development

Fri Feb 26, 2010 9:52 pm
I've been trying to install the development version of KDE 4 on a Debian sid installation. I get through installing kdesupport just fine, but when I try to install kdelibs I get this:

Code: Select all
kde-devel@bo:~/kde/src/KDE/kdelibs$ cmakekde
-- Found Qt-Version 4.6.2 (using /home/kde-devel/qt-kde/bin/qmake)
-- Found X11: /usr/lib/libX11.so                                 
-- Building kdelibs...                                           
-- Phonon includes NOT found!                                     
-- Phonon library NOT found!                                     
CMake Error at cmake/modules/FindPhonon.cmake:63 (message):       
  Phonon library or includes NOT found!                           
Call Stack (most recent call first):                             
  cmake/modules/FindKDE4Internal.cmake:615 (find_package)         
  CMakeLists.txt:36 (find_package)                               


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
kde-devel@bo:~/kde/src/KDE/kdelibs$ cmakekde               
-- Found Qt-Version 4.6.2 (using /home/kde-devel/qt-kde/bin/qmake)
-- Found X11: /usr/lib/libX11.so                                 
-- Building kdelibs...                                           
-- Phonon includes NOT found!                                     
-- Phonon library NOT found!                                     
CMake Error at cmake/modules/FindPhonon.cmake:63 (message):       
  Phonon library or includes NOT found!                           
Call Stack (most recent call first):                             
  cmake/modules/FindKDE4Internal.cmake:615 (find_package)         
  CMakeLists.txt:36 (find_package)                               


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.


This happens whether I do it manually or with kdesvn-build. I've been fighting with this for two days. What do I need to do?

Thanks!


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: cannot install KDE development

Sat Feb 27, 2010 10:33 pm
Assuming you are trying to build from Trunk, Phonon has recently moved to Git. As a result, it now must be built seperately. You can find some instructions, along with a link to the repo in phonon/README in the kdesupport/ checkout.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 1:39 pm
You, sir, are a scholar and a gentlemen.


2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 3:35 pm
It worked great, but I now have another problem. I've followed the instructions here:

http://techbase.kde.org/Getting_Started ... evelopment

For adding the newly installed desktop to the login menu, but it doesn't appear there. Can anyone walk me through this?


User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: cannot install KDE development

Sun Feb 28, 2010 3:53 pm
2handband wrote:It worked great, but I now have another problem. I've followed the instructions here:

http://techbase.kde.org/Getting_Started ... evelopment

For adding the newly installed desktop to the login menu, but it doesn't appear there. Can anyone walk me through this?


Which instructions exactly? I usually add a .desktop file to `kde4-config --prefix`/share/apps/kdm/sessions/, which corresponds to /usr/share/apps/kdm/sessions/ (or rather, I copy the existing kde.desktop one and edit it). This assuming that you use KDM as you login manager.

Note that if you use a kde-devel user with special paths, the command kde4-config --prefix will return the path to your trunk installation. Most of the time you want to use your stable version of KDM, so do something like this with your normal user (this will most likely require root privileges, so use su, sudo or something similar):

Code: Select all
cd `kde4-config --prefix`/share/apps/kdm/sessions/ # use kde-config if you're on KDE SC 3.x
cp kde.desktop kdetrunk.desktop
<your favorite editor> kdetrunk.desktop


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 6:13 pm
I'm feeling increasingly out of my depth. On my Debian box those files are in /usr/share/xsessions. As per the instructions on the setup page I copied the kde.desktop file to a new one called kde4.desktop. I then modified it according to the instructions. Here it is:

Code: Select all
[Desktop Entry]                                               
Encoding=UTF-8                                               
Type=XSession                                                 
Exec=$HOME/kde/bin/startkde                                   
TryExec=$HOME/kde/bin/startkde                               
Name=KDE4                                                     
Name[hi]=कडीई                                                 
Name[mn]=КДЭ                                                 
Name[ta]=Kஏறறக காவலன                                         
Name[xh]=iKDE                                                 
Name[xx]=xxKDExx                                             
Comment=The K Desktop Environment. A powerful Open Source graphical desktop environment                                                                         
Comment[bs]=K Desktop Environment. Moćan grafički desktop otvorenog izvornog koda                                                                               
Comment[ca]=L'entorn d'escriptori K. Un poderós entorn d'escriptori gràfic de Codi Font Obert                                                                   
Comment[cy]=Yr Amgylchedd Penbwrdd K.  Amgylchedd penbwrdd graffegol pwerus, sy'n gôd-agored.                                                                   
Comment[da]=K Skrivebordsmiljøet. Et kraftigt, åbent, grafisk skrivebordsmiljø 
Comment[de]=Das K Desktop Environment. Eine mächtige, graphische Arbeitsumgebung und Open Source / Freie Software                                               
Comment[el]=Το K Desktop Environment. Ένα πανίσχυρο ελεύθερης προέλευσης γραφικό περιβάλλον επιφάνειας εργασίας                                                 
Comment[es]=El Entorno de Escritorio K, un potente entorno de escritorio gráfico realizado de código abierto                                                   
Comment[et]=K töölaua keskkond on võimas vaba tarkvara graafiline töölaua keskkond                                                                             
Comment[fi]=KDE-työpöytäympäristö (K Desktop Environment) on tehokas avoimen lähdekoodin graafinen työpöytäympäristö                                           
Comment[fr]=The K Desktop Environment. Un environnement de bureau graphique, puissant et Open Source                                                           
Comment[he]=The K Desktop Environment. סביבת עבודה גרפית, בעלת-עוצמה בקוד פתוח 
Comment[hi]=क डसकटॉप वातावरण. एक शकतिशाली, ओपन सोरस चितरमय डसकटॉप वातावरण       
Comment[hu]=A KDE grafikus munkakörnyezet, egy szabad forráskódú grafikus ablakkezelő környezet
Comment[it]=L'ambiente desktop KDE. Un potente ambiente desktop grafico Open Source
Comment[mn]=The K Desktop Environment. Хүчирхэг нээлттэй эх код бүхий график дэлгэцийн орчин
Comment[nb]=K Desktop Environment. Et kraftig grafisk skrivebordsmiljø med åpen kildekode.
Comment[nl]=De K Desktop Environment, een krachtige open source grafische desktop environment
Comment[nn]=K Desktop Environment. Eit kraftig grafisk skrivebordsmiljø med open kjeldekode.
Comment[pl]=Środowisko KDE. Potężne środowisko graficzne Wolnego Oprogramowania.
Comment[pt]=O K Desktop Environment. Um ambiente gráfico open source poderoso
Comment[pt_BR]=Acrônimo para K Desktop Environment (ou Ambiente de Trabalho K). Um poderoso ambiente de trabalho gráfico de código aberto
Comment[ro]=K Desktop Environment. Un mediu grafic cu surse deschise, foarte puternic
Comment[sk]=The K Desktop Environment. Výkonné, voľne šíriteľné grafické pracovné prostredie
Comment[sl]=Namizno okolje K. Zmogljivo grafično namizno okolje odprte kode
Comment[sr]=K Desktop Environment (KDE). Моћно графичко радно окружење отвореног кода
Comment[sv]=K-skrivbordsmiljön. En kraftfull grafisk skrivbordsmiljö med öppen källkod
Comment[ta]= Kமேலமேசை சூழல. சகதிவாயநத திறநத ஆணைமூல சிததிர வகை மேலமேசை சூழல
Comment[tr]=KDE Masaüstü Yöneticisi. Güçlü bir grafiksel masaüstü ortamı
Comment[uk]=The K Desktop Environment. Потужне графічне середовище з відкритими текстами
Comment[uz]=KDE (K Desktop Environment) - кучли Open Source график иш столи муҳити
Comment[vi]=môi trường desktop K, môi trường desktop đồ hoạ mã nguồn mở rất mạnh
Comment[xx]=xxThe K Desktop Environment. A powerful Open Source graphical desktop environmentxx
Comment[zh_CN]=K 桌面环境。强大的开放源代码图形桌面环境


Did I do something wrong?


Kolia
Registered Member
Posts
22
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 8:24 pm
@2handband

I think you didn't read this line in the documentation:

"Replace $HOME/kde in the example above with the prefix you are installing KDE4 into"

You should correct your Exec and TryExec lines according to it :)

Regards,

Kolia
2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 8:52 pm
Okay, I'm really embarrassed to admit this... but I'm not sure what to substitute there.


Kolia
Registered Member
Posts
22
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 8:58 pm
Where did you install this development version of KDE?

Probably in /home/<yourusername>/kde ?
2handband
Registered Member
Posts
304
Karma
0
OS
Kolia
Registered Member
Posts
22
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 9:13 pm
So does it work to replace:
$HOME/kde/bin/startkde

by
/home/<yourusernmame>/kde/bin/startkde

in the Exec and TryExec lines?
2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 9:24 pm
That worked; I am now officially walking on the bleeding edge! Thanks. I'm going to take a few days to familiarize myself with it, then I'm hoping to start contributing to KDE documentation.


2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Sun Feb 28, 2010 9:57 pm
One more question guys... I was thinking of compiling and installing the stable version for another computer. Is there a reason the directions for installing stable are so much harder to follow than the directions for trunk?? I'm still trying to make sense of them.


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: cannot install KDE development

Mon Mar 01, 2010 5:55 am
Installing Stable should be no harder than trunk. Just checkout from /branches/KDE/<version>/<module> instead of /trunk/KDE/<module>/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
2handband
Registered Member
Posts
304
Karma
0
OS

Re: cannot install KDE development

Mon Mar 01, 2010 1:20 pm
So... follow the directions for trunk, and just substitute the appropriate checkout site? If that's what you're saying it would be a real help; the directions for stable are pretty badly written compared to those for trunk.




Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]