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

any chance of KDE4 alpha/beta build

Tags: None
(comma "," separated)
kevku
Registered Member
Posts
6
Karma
0

any chance of KDE4 alpha/beta build

Mon Oct 22, 2007 5:19 pm
KDE 4 is in beta3 stage already and im just wondering when we could see a some ktorrent alpha/beta build for kde4 testing?
i saw some version in the svn trunk well but i have no idea how to install it. I had no prob getting kde4 running on my machine and it looked nicee!
p.s. lol i looked how to install kopete for kde4 and that was way confusing.
George
Moderator
Posts
5421
Karma
1

Mon Oct 22, 2007 6:01 pm
Installing is actually extremely simple, provided you have all the header files which are needed and cmake :

svn co svn://anonsvn.kde.org/home/kde/trunk/ex ... k/ktorrent
cd ktorrent
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR ..
make
sudo make install
ktorrent

Obviously $KDEDIR needs to be set to where KDE4 is installed (/usr/lib/kde4 probably in kubuntu)

As for alpha build of ktorrent, seeing that I'm planning to release 2.2.3 next weekend. it might not be a bad idea to release 3.0alpha1 at the same time.

Currently things are working OK, some things are still missing, but it is useable.
stoeptegel
Registered Member
Posts
1075
Karma
0

Mon Oct 22, 2007 6:28 pm
Is it easy to install both kde3 and kde4 svn version at the same time?
George
Moderator
Posts
5421
Karma
1

Mon Oct 22, 2007 6:32 pm
Provided you have some environment variables setup properly, it is possible.

I have been using a separate user account for the KDE4 stuff, but it should be possible to run as the same user.

EDIT: seeing that there will be a string freeze for 2.2.3, the release will be one week later
stoeptegel
Registered Member
Posts
1075
Karma
0

Mon Nov 26, 2007 10:21 pm
When i do
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR
i get
Code: Select all
CMake Error: The source directory "/home/annemarie/svn/ktorrent/build" does not appear to contain CMakeLists.txt.Specify --help for usage, or press the help button on the CMake GUI.
mactalla
Registered Member
Posts
13
Karma
0
OS

Mon Nov 26, 2007 11:59 pm
stoeptegel wrote:When i do
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR
i get
Code: Select all
CMake Error: The source directory "/home/annemarie/svn/ktorrent/build" does not appear to contain CMakeLists.txt.Specify --help for usage, or press the help button on the CMake GUI.


Don't forget the two .'s at the end of that line (they're easy to miss).

Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR ..
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Nov 27, 2007 2:33 pm
:oops: I thought it was an expression... like this one.

Now i get this:
Code: Select all
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ..-- Found Qt-Version 4.3.2-- Found X11: /usr/lib/libX11.so-- Found KDE 4.0 include dir: /usr/lib/kde4/include-- Found KDE 4 library dir: /usr/lib/kde4/lib-- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler-- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automocCMake Error: GMP_DIR is not set.  It must be set to the directory containingGMPConfig.cmake in order to use GMP.-- Configuring done


Make won't run on this, any ideas?
George
Moderator
Posts
5421
Karma
1

Tue Nov 27, 2007 6:44 pm
Download this file :

http://websvn.kde.org/trunk/KDE/kdelibs ... e?view=log

And put it in $KDEDIR/share/apps/cmake/modules

This file was only added 10 days ago, so it is probably not in the latest KDE4 beta release.
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Nov 27, 2007 9:33 pm
This worked for me, thanks George!
trippinnik
Registered Member
Posts
12
Karma
0

Sun Dec 23, 2007 3:43 pm
I'm also having a bit of trouble building the ktorrent beta for kde4. I was able to fix the first few errors by grabbing cmake files following the steps you mentioned but now it seems I am missing qdbusxml2cpp. Where can I grab that?
trippinnik
Registered Member
Posts
12
Karma
0

Mon Dec 24, 2007 9:29 am
I solved it. just did a sudo apt-get build-dep kde4base.
stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Jan 11, 2008 2:21 pm
I installed the latest version of kde4 for kubuntu, and now its stranded at:
Code: Select all
martijn@martijn-laptop:~/svn/ktorrent-3.0beta1/build$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix/of/kde4/installation ..
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/martijn/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
-- Configuring done


Anyone know what todo? Putting FindKDE4Internal.cmake in /home/martijn/.kde4/share/apps nor /usr/lib/kde4/share/kde4/app seems to solve this.

EDIT
I fixed it by installing kde4-devel, i only cannot seem to load the plugins in ktorrent. Kbuildsycoca does not seem to improve this.
George
Moderator
Posts
5421
Karma
1

Sun Jan 13, 2008 12:30 pm
Try kbuildsycoca4


Bookmarks



Who is online

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