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

Small question about how to help coding KDE

Tags: None
(comma "," separated)
Inso
Registered Member
Posts
29
Karma
0
OS
Hello !

I would like to help developers to fix some KDE bugs, by posting patches and other...
But how can i compile KDE and testing it, and use the stable version at the same time ? How do KDE developers do ?

Thanks in advance !
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
See Techbase, in particular Getting Started/Build/KDE4.

I also wrote about it here: Building KDE SC from SVN. Note that this is just one way, you can also use your regular user, a chroot environment etc.


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
Inso
Registered Member
Posts
29
Karma
0
OS
Thanks.
I followed your link <Building KDE SC from SVN>
But it didn't work.

I managed to build qt-copy. But what follows is not working at all...

Here is the console log :
Code: Select all
Script started processing at Mon Feb 15 14:25:38 2010                         
<<<  Build Process  >>>                                                       
Building qt-copy (1/13)                                                       
        Waiting for source code update.                                       
        Source update complete for qt-copy: 0 files affected.                 
        LGPL license selected for Qt.  See /home/kde-devel/kdesvn/qt-copy/LICENSE.LGPL
        Running configure...                                                         
svn: La copie de travail '.' est verrouillée                                         
svn : lancer 'svn cleanup' pour enlever les verrous (cf 'svn help cleanup')           
svn: Échec à l'ajout du fichier 'oxygen-icons/scalable/actions/small/16x16/view-preview.svgz' : un fichier non versionné de même nom existe déjà
Error updating kdesupport, removing from list of packages to build.                                                                             
 > Error updating kdesupport: Aucun fichier ou dossier de ce type at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 4898.

Use of uninitialized value $module_actual_url in string ne at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 5828.
Use of uninitialized value $module_actual_url in concatenation (.) or string at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 5841.
 !!                                                                                                                                                         
 !! kdelibs seems to be checked out from somewhere other than expected.                                                                                     
 !!                                                                                                                                                         

kdesvn-build expects:        svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
The module is actually from:                                                 

If the module location is incorrect, you can fix it by either deleting the
source directory, or by changing to the source directory and running     
  svn switch svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs             

If the module is fine, please update your configuration file.

If you use kdesvn-build with --svn-only it will try switching for you (might not work
correctly).                                                                         

 * Can't open Net::HTTP module, skipping check for module snapshot.
Unable to download snapshot for module kdepimlibs                 
^[[5~                                                             
        Compiling...                                               
Unable to download snapshot for module kdebase                     
svn: No such revision 1090535                                     
Error updating kdebase, removing from list of packages to build.   
 > Error updating kdebase: Aucun fichier ou dossier de ce type at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 4898.
                                                                                                                                                                 
Unable to download snapshot for module kdemultimedia                                                                                                             
svn: Échec de l'ajout du répertoire 'cmake/samples/view1394' : un répertoire non versionné de même nom existe déjà                                               
svn: 'cmake/samples/view1394' n'est pas un répertoire d'une copie de travail                                                                                     
Error updating kdesdk, removing from list of packages to build.                                                                                                 
 > Unable to update kdesdk at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 2072.                                                     

Unable to download snapshot for module kdenetwork
svn: No such revision 1090535                   
Error updating kdenetwork, removing from list of packages to build.
 > Error updating kdenetwork: Aucun fichier ou dossier de ce type at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 4898.

Unable to download snapshot for module kdepim
svn: No such revision 1090535
Error updating kdepim, removing from list of packages to build.
 > Error updating kdepim: Aucun fichier ou dossier de ce type at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 4898.

svn: La copie de travail 'kfloppy' est verrouillée
svn : lancer 'svn cleanup' pour enlever les verrous (cf 'svn help cleanup')
svn: Échec à l'ajout du fichier 'kfloppy/Messages.sh' : un fichier non versionné de même nom existe déjà
Error updating kdeutils, removing from list of packages to build.
 > Error updating kdeutils: Aucun fichier ou dossier de ce type at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 4898.

Unable to download snapshot for module kdegraphics
Unable to download snapshot for module kdeplasma-addons
^CSignal received, terminating.
Signal received, terminating.
Your logs are saved in /home/kde-devel/kdesvn/log/2010-02-15-03
Your logs are saved in /home/kde-devel/kdesvn/log/2010-02-15-03


Say if you want the file logs...

Thanks in advance
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Hm, that's strange. Having the output in French doesn't help much either.:p

I would try the following:
1. Run 'svn cleanup' as suggested, e.g. in ~/kdesvn/kdesupport etc.
2. If that doesn't help, remove/move/rename ~/kdesvn/kdesupport etc. (no need to do this for qt-copy).

You could try to do this only for kdesupport and try to build it with kdesvn-build:
Code: Select all
kdesvn-build kdesupport


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
Inso
Registered Member
Posts
29
Karma
0
OS
Ok, thanks.

I did "svn cleanup", and it worked better.

At the end of the build, i get this :
Code: Select all
<<<  PACKAGES FAILED TO BUILD  >>>
kdelibs - No log file
kdebase - ~/kdesvn/log/2010-02-15-05/kdebase/cmake.log
kdenetwork - ~/kdesvn/log/2010-02-15-05/kdenetwork/cmake.log
kdeplasma-addons - ~/kdesvn/log/2010-02-15-05/kdeplasma-addons/build-1.log

<<<  PACKAGES FAILED TO UPDATE  >>>
kdesupport - ~/kdesvn/log/2010-02-15-05/kdesupport/error.log
kdesdk - ~/kdesvn/log/2010-02-15-05/kdesdk/error.log
kdeutils - ~/kdesvn/log/2010-02-15-05/kdeutils/error.log
amarok - ~/kdesvn/log/2010-02-15-05/amarok/error.log

<<<  PACKAGES FAILED TO INSTALL  >>>
kdepim - ~/kdesvn/log/2010-02-15-05/kdepim/install.log
Script finished processing at Mon Feb 15 21:37:26 2010
Your logs are saved in /home/kde-devel/kdesvn/log/2010-02-15-05


For kdebase, i get this in the log :

Code: Select all
CMake Error in workspace/kwin/clients/oxygen/CMakeLists.txt:
  Cannot find source file "helper.cpp".  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


Kdenetwork :
Code: Select all
CMake Error: File /home/kde-devel/kdesvn/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/config-btcore.h.cmake does not exist.
CMake Error at kget/transfer-plugins/bittorrent/CMakeLists.txt:44 (configure_file):
  configure_file Problem configuring file


Can i start developping for KDE, or do i have to fix this firsts problems ?
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Well you need to build and install kdesupport, kdelibs and kdepimlibs (and qt-copy of course) before tackling errors with kdebase etc. Have you successfully built those modules? According to your logs, it doesn't seem to be the case.


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
Inso
Registered Member
Posts
29
Karma
0
OS
Ah, yes, i didn't see that kdelib was not able to be build...

<< Build Process >>>
Building qt-copy (1/13)
Waiting for source code update.
Source update complete for qt-copy: 0 files affected.
Compiling...
svn: No such revision 1090671
svn: No such revision 1090671
Error updating kdesupport, removing from list of packages to build.
> Error updating kdesupport: Can't find file at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 4898.

Use of uninitialized value $module_actual_url in string ne at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 5828.
Use of uninitialized value $module_actual_url in concatenation (.) or string at /home/kde-devel/kdesvn/kdesvn-build/kdesvn-build-1.11/kdesvn-build line 5841.
!!
!! kdelibs seems to be checked out from somewhere other than expected.
!!

kdesvn-build expects: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
The module is actually from:

If the module location is incorrect, you can fix it by either deleting the
source directory, or by changing to the source directory and running
svn switch svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs

If the module is fine, please update your configuration file.

If you use kdesvn-build with --svn-only it will try switching for you (might not work
correctly).


If you have any idea ? :/
Inso
Registered Member
Posts
29
Karma
0
OS
Sorry for the double post, but i have new informations...

I deleted my ~/kdesvn/ folder, ~/kde folder and ~/qt4 folder.

I restart all the build from start... and i see this when i compile :
Building qt-copy (1/12)
Waiting for source code update.
Source update complete for qt-copy: 0 files affected.
Preparing build system for qt-copy.
LGPL license selected for Qt. See /home/kde-devel/kdesvn/qt-copy/LICENSE.LGPL
Running configure...
* Can't open Net::HTTP module, skipping check for module snapshot.
Unable to download snapshot for module kdesupport
Compiling...
Unable to download snapshot for module kdelibs


How can i get the Net:HTTP module :/ ?
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Got that the first time as well, I don't think it's anything to worry about.


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
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The NET::HTTP module it is referring to is a lack of the perl http module.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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