[Kmymoney-devel] build question - how to have two two versions at the same time

Cristian Oneţ onet.cristian at gmail.com
Mon Aug 2 08:49:24 CEST 2010


On Mon, Aug 2, 2010 at 9:36 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> Hi,
>
> on Monday 02 August 2010 04:06:31 Alvaro Soliverez wrote:
>
>> You can't play this trick if you want to run 2 similar versions
>> together (eg. 3.98.1 and SVN)
>> In that case, you have to uninstall and install the one you want to use.
>
> From http://techbase.kde.org/Development/FAQs/Technical_FAQ :
>
> ----8<----
>
> If want to install your application privately, configure it with another
> prefix: for $HOME/kdeprefix, use configure --prefix=$HOME/kdeprefix. Then let
> KDE know about this prefix: set KDEDIRS to $HOME/kdeprefix:$KDEDIR. To make
> KDE aware of new prefixes, one can also edit /etc/kderc and add
>
> [Directories]
> prefixes=/the/new/prefix
>
> but this doesn't answer this specific question ;-) Make sure to run
> "kbuildsycoca" after setting the new KDEDIRS.
>
> ----8<----
>
> Then configure your SVN build environment to install in $HOME/kdeprefix. Make
> sure to set the USE_QT_DESIGNER to OFF. Then you can even use 'make install'
> w/o the need for sudo or being root.
>
> The above mentioned kbuildsycoca should be the KDE4 version which here on my
> box (openSUSE) is called kbuildsycoca4.
>
> I have tried the basic mechanic of this and it works. In case you want to run
> the tar-ball version installed in the regular path simply set the KDEDIR
> variable to the old value and run kbuildsycoca again. I have not checked which
> plugins and overlays are used if KDEDIR points to the new directory.
>
> If you have something working, it would be cool if you can share the
> instructions on the community page at http://community.kde.org/KMyMoney. We
> are also happy to drop anything for you.
>

I've been writing my answer while the mail from Thomas just arrived so
now I only want to confirm that I also use the method described by him
with success.

Regards,
Cristian

>
>>
>> On Sun, Aug 1, 2010 at 10:33 PM, Brendan Coupe <brendan at coupeware.com>
> wrote:
>> > I'm running KMM 1.0.5 from the Fedora repositories (because I can't get
>> > the CVS version to compile in Fedora 13) and the SVN version (3.98.x) on
>> > the same computer. This also works with the CVS version and the SVN
>> > version (I did this in Fedora 12).
>> > The trick is to install KMM 1 first, then install KMM 3.98.
>> > To run KMM 1: /usr/bin/kmymoney2
>> > To run KMM 3.98: /usr/bin/kmymoney
>> > I think KMM 1 creates a sym link /usr/bin/kmymoney that points
>> > at /usr/bin/kmymoney2 which gets replaced with a binary when you install
>> > KKM 3.98.
>> > ----
>> > Brendan
>> >
>> > On Sun, Aug 1, 2010 at 2:15 PM, Jack <ostroffjh at sbcglobal.net> wrote:
>> >> Hello all,
>> >>
>> >> I would really love to be able to have two different versions of KMM
>> >> "installed" at the same time.  I use the quotes because I what I really
>> >> want is to have the distro provided version actually installed, but be
>> >> able to compile and run one or more other versions - such as the latest
>> >> svn.  I know you can actually run kmymoney/kmymoney from within the
>> >> build directory, but without doing the "make install" many of the
>> >> necessary files won't be found, so you either don't have them or you
>> >> get the ones from the real installed version.
>> >>
>> >> I assume this isn't really a KMM problem specifically, but a more
>> >> general KDE issue.  Does anybody know if this has been addressed or if
>> >> there are any suggested approaches?  I know I could set up virtual
>> >> machines, but it seems like a lot of overhead.  I wonder if I could set
>> >> it up with a chroot environment, but there is enough I'm not sure about
>> >> that I haven't bothered trying yet.
>> >>
>> >> Thanks for any ideas, including where in the KDE forums or mailing
>> >> lists would be a better place to discuss this.
>> >>
>> >> Jack
>> >>
>> >> _______________________________________________
>> >> KMyMoney-devel mailing list
>> >> KMyMoney-devel at kde.org
>> >> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>> >
>> > _______________________________________________
>> > KMyMoney-devel mailing list
>> > KMyMoney-devel at kde.org
>> > https://mail.kde.org/mailman/listinfo/kmymoney-devel
>>
>> _______________________________________________
>> KMyMoney-devel mailing list
>> KMyMoney-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>>
>
> --
>
> Regards
>
> Thomas Baumgart
>
> GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
> -------------------------------------------------------------
> With every day I come closer to the grave and learn something new.
> It all happens because I have wandered around too much and stumbled into
> the Linux world - which is a fantastic place to be! (Algis Kabaila)
> -------------------------------------------------------------
>
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
>


More information about the KMyMoney-devel mailing list