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

KDE 4.6.1 installed and still 4.5.5 running ><"

Tags: None
(comma "," separated)
User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS
Hi all !

I'm a french Mandriva (2010.2 on x86_64) user and on sunday, I installed KDE 4.6.1 from source (because there are no .rpms available on the mirrors) -and I'm kind of excited to use KDE 4.6.1 o) .

Code: Select all
$ mkdir build && cd build && cmake .. && make
$ su
# make install

compiled from source tarballs :
  • kdelibs-4.6.1
  • kdeaccessibility
  • kdeadmin
  • kdeartwork
  • kdebase
  • kdebase-runtime
  • kdebase-workspace
  • kdegraphics
  • kdemultimedia
  • kdenetwork
  • kdepimlibs CMAKE FAIL : akregator libs missing
  • kdeplasma-addons
  • kdesdk
  • kdeutils
  • kdewebdev
  • konq-plugins
  • oxygen-icons

Everything ran fine. Then reboot, log in and still KDE 4.5.5 running ><"
When running "make install" again, I am told that every library is up to date...
What should I do in order to run KDE 4.6.1 ?
I installed 4.6.1 on a normal partition.

I thank the ones who will help me :)


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
google01103
Manager
Posts
6668
Karma
25
did you leave the 4.5.5 repos in place?

when you open an app and click about the app it says 4.5.5? about kde says 4.5.5 also?

could your make install have placed everything in dfferent directory then 4.5.5 was in? example my KDE is installed in /usr/share/kde4/ could you have installed in /usr/local/share/kde4? do you have both a /usr/share/kde4/ and /usr/share/kde/ folder?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
It sounds like you've installed 4.6.1 to another location, so you have both 4.5.5 and 4.6.1 installed. You can specify the install location with the -DCMAKE_INSTALL_PREFIX option for cmake. You can find out where the current version of KDE (that you're running) is installed with the command
Code: Select all
kde4-config --prefix

(on my distro, Arch, it's /usr by default).

If you want to start a KDE Workspace session from the other location, you can add a .desktop file for your login manager. I also think you need to add some lines to your .bashrc, but I don't know much about this - it's probably better to wait for someone with more knowledge to help you. If you like to tweak on your own, here are some more information: http://techbase.kde.org/Getting_Started ... ll_Session


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
[Moviuro]
Registered Member
Posts
86
Karma
0
OS
google01103 wrote:did you leave the 4.5.5 repos in place?


No I suppressed them.

google01103 wrote:when you open an app and click about the app it says 4.5.5? about kde says 4.5.5 also?


Yes

google01103 wrote:could your make install have placed everything in dfferent directory then 4.5.5 was in? example my KDE is installed in /usr/share/kde4/ could you have installed in /usr/local/share/kde4? do you have both a /usr/share/kde4/ and /usr/share/kde/ folder?


I have these folders :

Code: Select all
/usr/local/share/kde4/
> services/ servicetypes

/usr/share/kde4/
> env/ services/ servicetypes/


Hans wrote:It sounds like you've installed 4.6.1 to another location, so you have both 4.5.5 and 4.6.1 installed. You can specify the install location with the -DCMAKE_INSTALL_PREFIX option for cmake. You can find out where the current version of KDE (that you're running) is installed with the command
Code: Select all
kde4-config --prefix

(on my distro, Arch, it's /usr by default).


Code: Select all
[lun. mars 07,17:49:02][moviuro@localhost:~]$ kde4-config --prefix
/usr
[lun. mars 07,17:55:23][moviuro@localhost:~]$ kde4-config -v
Qt : 4.7.1
Plate-forme de développement de KDE : 4.5.5 (KDE 4.5.5)
kde4-config : 1.0


Hans wrote:If you want to start a KDE Workspace session from the other location, you can add a .desktop file for your login manager. I also think you need to add some lines to your .bashrc, but I don't know much about this - it's probably better to wait for someone with more knowledge to help you. If you like to tweak on your own, here are some more information: http://techbase.kde.org/Getting_Started ... ll_Session


Ok, I'll check this :)


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
google01103
Manager
Posts
6668
Karma
25
I'm gussing /usr/local/share/kde4/ is 4.6.1 and /usr/share/kde4/ is 4.5.5

iirc when you use make install things get place in /usr/local by default


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS
google01103 wrote:I'm gussing /usr/local/share/kde4/ is 4.6.1 and /usr/share/kde4/ is 4.5.5

You're right : last change date is yesterday for /usr/local/share/kde4/ and 2011.02.01 for /usr/share/kde4

google01103 wrote:iirc when you use make install things get place in /usr/local by default

I don't understand this. Sorry :$


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
google01103
Manager
Posts
6668
Karma
25
[Moviuro] wrote:
google01103 wrote:iirc when you use make install things get place in /usr/local by default

I don't understand this. Sorry :$


this page should explain http://everydaylht.com/howtos/system-ad ... urce-code/
I quote " Normally compiled software is installed in the /usr/local directory tree. The executables go in /usr/local/bin, the library files go in /usr/local/lib and so on. Using the –prefix option, you can tell the configuration script to install it somewhere else. This is very important for kde based applications, which need to be installed in the same place as the rest of kde. So for ubuntu, fedora and mandriva (and their derivatives), you would set –prefix=/usr. You should be able to find where your kde installation is by typing echo $KDEDIR."


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS
google01103 wrote:you would set –prefix=/usr. You should be able to find where your kde installation is by typing echo $KDEDIR."


This means : I have to
make uninstall
my KDE 4.6.1 files and reinstall them with prefix /usr ? If so, what should I type in the konsole ?


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
google01103
Manager
Posts
6668
Karma
25
no idea (but that's just me)

I think you now have a different question then the original which is how to compile and install from sources and setting up a new post would help. Make sure you mention that 4.5.5 is still installed and from rpms - I wouldn't think installing from source over rpm's in the same dir would be good, but I don't know.

If you go to the kde techbase they'll how to compile and install such that you can have multiple build and switch between them. This should explain what Hans suggested earlier.

You also need to think about going forward and 4.6.2 and any updated apps you might be interested in. If Mandriva isn't current enough for you, you might consider a different distro (I assume rpm based) that is such as openSuse or Fedora


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS
Ok thanks ;) i'll post a new topic :)


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]