[SOLVED] How to install Kdenlive on Gentoo? (KDE 3.5.9)

Please help, i was using Kdenlive 0,5 on Gentoo, where is KDE 3.5.9, it wants some KDE 4 libs. I have unmasked it, but it wants more and more... What should I do, when I want to install Kdenlive on Gentoo:

 

 smajchl@smajchl ~ $ emerge -av kdenlive
superuser access is required... adding --pretend to options.

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=kde-base/kdepimlibs-4.1[-kdeprefix]" have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-base/kdepimlibs-4.2.0 (masked by: ~x86 keyword)
- kde-base/kdepimlibs-4.1.4 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "media-video/kdenlive-0.7.1" [ebuild])
(dependency required by "kdenlive" [argument])
 

As you didn't use the 'kdeprefix' USE flag, you wont be able to install KDE-3.x and KDE-4.x parallel in SLOTs.

You have to set the USE flag 'kdeprefix', do a 'emerge -avuDN world' (which will take a long time, since it will recompile any KDE related app) and then you'll be able to install kdenlive-0.7.x

Regards,
eliasp

Thank you for reply, I will try it, enable kdeprefix and recompile all newuse. I suppose, that it will install KDE3 into own directory and KDE4 also (prefix :-)).

smajchl@smajchl ~/programovani/avidemux $ sudo equery uses kdebase-startkde
[ Searching for packages matching kdebase-startkde... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for kde-base/kdebase-startkde-3.5.9 ]
U I
- - arts : Adds support for aRts: the KDE sound daemon
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
- - elibc_FreeBSD : ELIBC setting for systems that use the FreeBSD C library
- - kdeenablefinal : EXPERIMENTAL: KDE ebuilds will use the enable-final flag, yielding compilation speedups at the cost of heavy mem usage and potentially causing problems. We strongly discourage setting this
- - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors

I am sorry, but there is no "kdeprefix" USE flag, when emerge -uDN world, only normal packages, not KDE are updating:-)

That USE flag exists, but no package uses it:

smajchl@smajchl ~/programovani/avidemux $ euse -I kdeprefix
global use flags (searching: kdeprefix)
************************************************************
[- ] kdeprefix - Makes a KDE prefixed install into /usr/kde/${SLOT} if enabled or into /usr (FHS compatible) otherwise

Installed packages matching this USE flag: none
no matching entries found

local use flags (searching: kdeprefix)
************************************************************
no matching entries found

I cant do that:

smajchl smajchl # emerge -av kdenlive

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-cpp/clucene-0.9.21b USE="threads -debug -doc" 1,504 kB
[ebuild N ] dev-libs/libical-0.33-r1 1,143 kB
[ebuild N ] x11-libs/qt-dbus-4.4.2 USE="-debug -pch" 0 kB
[ebuild R ] media-libs/mlt-0.3.4 USE="dv ffmpeg lame libsamplerate mmx ogg quicktime sdl sox sse theora vorbis xine xml -gtk -jack -qt3*" 0 kB
[ebuild R ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus* mng qt3support tiff -debug -glib -nas -nis -pch -xinerama" INPUT_DEVICES="-wacom" 0 kB
[ebuild U ] dev-util/cmake-2.6.2-r1 [2.4.8] USE="qt4%* -emacs -vim-syntax" 3,461 kB
[ebuild N ] kde-base/automoc-0.9.88 9 kB
[ebuild N ] kde-base/qimageblitz-0.0.4 USE="mmx sse sse2 -3dnow (-altivec) -debug" 55 kB
[ebuild N ] dev-libs/soprano-2.2.1 USE="clucene sesame2 -debug -doc -redland" 1,805 kB
[ebuild N ] app-misc/strigi-0.6.4 USE="clucene dbus exif qt4 -debug -fam -hyperestraier -inotify -log -test" 875 kB
[ebuild N ] media-sound/phonon-4.3.0 USE="xcb xine -debug -gstreamer" 553 kB
[ebuild N ] app-office/akonadi-server-1.1.1 USE="mysql" 132 kB
[ebuild NS ] kde-base/kdelibs-4.2.0-r1 [3.5.9-r4] USE="alsa bzip2 kdeprefix mmx nls opengl semantic-desktop sse sse2 ssl -3dnow -acl (-altivec) -bindist -debug -doc -fam -htmlhandbook -jpeg2k -kerberos -openexr -spell -test -zeroconf" 9,798 kB
[ebuild N ] kde-base/kdepimlibs-4.2.0 USE="kdeprefix sasl -debug -htmlhandbook -ldap -test" 1,552 kB
[ebuild NS ] kde-base/kdebase-data-4.2.0 [3.5.9] USE="kdeprefix" 68,264 kB
[ebuild N ] media-video/kdenlive-0.7.2 USE="kdeprefix" 3,544 kB
[blocks B ] <kde-base/kdelibs-3.5.10 ("<kde-base/kdelibs-3.5.10" is blocking kde-base/kdelibs-4.2.0-r1)
[blocks B ]

Total: 16 packages (1 upgrade, 11 new, 2 in new slots, 2 reinstalls), Size of downloads: 92,689 kB
Conflict: 2 blocks (2 unsatisfied)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

smajchl smajchl # emerge -av =kde-base/kdelibs-3.5.10

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=kde-base/kdelibs-3.5.10".

OK, so i have figured out how to do it
1) this: 2) just install KDE 4.2, also it's fine to use autounmask ;-)
3) install Kdenlive! (if you install it, it also takes necessary packages from KDE4 as dependences, so you can even skip step 2)

Jupí!!! but it is little bit slower than old KDE :-(