2 digikam installs at the same time?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

2 digikam installs at the same time?

Daniel Bauer-2
Hello :-)

I wonder if it is possible to have installed two versions of digikam at the
same time? I guess not, but if there is an easy way, can anybody tell me how
to?

(I'd just like to see the latest versions but I cannot risk to overwrite my
existing 0.8.1 because this is in "heavy use" almost every day...)

Daniel
--
Daniel Bauer photographer Basel Switzerland
professional photography: http://www.daniel-bauer.com
special interest site: http://www.bauer-nudes.com
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 digikam installs at the same time?

Arnd Baecker

On Thu, 6 Apr 2006, Daniel Bauer wrote:

> Hello :-)
>
> I wonder if it is possible to have installed two versions of digikam at the
> same time? I guess not, but if there is an easy way, can anybody tell me how
> to?
>
> (I'd just like to see the latest versions but I cannot risk to overwrite my
> existing 0.8.1 because this is in "heavy use" almost every day...)

That's no problem. I do the following:


# get a recent exiv2 (if it is not yet installed on your system
wget http://www.exiv2.org/exiv2-0.9.1.tar.gz

tar xzf exiv2-0.9.1.tar.gz
cd exiv2-0.9.1
./configure --prefix=$HOME/digikam_test
make
make install
cd ..


and then use the attached install script to get the current version from
trunk:

cd /tmp/
mkdir digikam
cd digikam
sh ~/.install_digikam.sh | tee install_log.txt



To use:
-------

export DIGIKAM=$HOME/digikam_test
export KDEDIRS=$DIGIKAM:/usr

export PATH=$DIGIKAM/bin:$PATH
rehash
digikam

And that's all ;-). Of course, if there are problems while running
install_digikam.sh this might take some time to find out.
For the first installation you could also try to copy and paste the
contents of the script line-by-line to see if every step succeeds.


Hope this helps,

Arnd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

install_digikam.sh (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 2 digikam installs at the same time?

Gilles Caulier-2
In reply to this post by Daniel Bauer-2
On Thursday 06 April 2006 12:22 pm, Daniel Bauer wrote:

> Hello :-)
>
> I wonder if it is possible to have installed two versions of digikam at the
> same time? I guess not, but if there is an easy way, can anybody tell me
> how to?
>
> (I'd just like to see the latest versions but I cannot risk to overwrite my
> existing 0.8.1 because this is in "heavy use" almost every day...)
>
> Daniel

There many important points to take a care to use 2 both differents version at
the same time :

1 - The user settings : it recorded at your ~/.kde/share/config/digikam.rc and
~/.kde/share/config/showfoto.rc.
0.8.x and 0.9.0 have some different settings, especially with menu and option.
To prevent conflic, just use 2 different accounts in you system, for example,
i use :

/home/gilles --> 0.8.x
/home/test --> 0.9.0

2 - The database : Do use yet 0.9.0 in production : use a different album
library paths. I use :

/home/gilles/photos --> 0.8.x
/home/test/images --> 0.9.0

3 - the shared lib/target binary/plugin. This is the most complex problem to
solve. You cannot mix at the same place libdigikam.la, digikam and the image
editor plugins. I haven't experimented a solution but i recommend to install
in :

/usr/ --> 0.8.x
/usr/local --> 0.9.0

... using --prefix=path option from .configure script. Later, normally, you
just need to set properlly the right ENVIRONNEMENT variables in your home
directory.

Please fix me if i'm wrong.

In my host computer, i install at the same place (/usr) the good target to use
(stable or trunk) because my computer is very fast (jsut 10s to install
digikam after compilation)

All others contructive comments welcome. I'm sure that this point can be used
by other users. Perhaps, we can update the README file in svn if we can found
a complete solution

GIlles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 digikam installs at the same time?

Markus Spring
In reply to this post by Daniel Bauer-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Bauer schrieb:
> I wonder if it is possible to have installed two versions of digikam at the
> same time? I guess not, but if there is an easy way, can anybody tell me how
> to?

I compile my svn-version with the prefix /opt/digikam-svn and call the
svn-version from this location.

The scripts to compile and run digikam-svn are available under
http://dream.lrrl.arch.tu-muenchen.de/~springm/digikam

Have fun

Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFENPH4xxUzQSse11ARAptmAJ9o8wIqE55vgiN97RVBoy5odzuEWQCfd2na
5vsZ8WRd/OxK7nLoIUPc/uQ=
=Mao1
-----END PGP SIGNATURE-----
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 digikam installs at the same time?

Daniel Bauer-2
Am Donnerstag, 6. April 2006 12:48 schrieb Markus Spring:

> Daniel Bauer schrieb:
> > I wonder if it is possible to have installed two versions of digikam at
> > the same time? I guess not, but if there is an easy way, can anybody tell
> > me how to?
>
> I compile my svn-version with the prefix /opt/digikam-svn and call the
> svn-version from this location.
>
> The scripts to compile and run digikam-svn are available under
> http://dream.lrrl.arch.tu-muenchen.de/~springm/digikam
>
> Have fun
>
> Markus

eeehm... I try to understand, but the accent lies on "trying"... ;-)

Arnd Baecker's hint seems so very easy to follow and so looks Markus Spring's
too... just download the scrips and run... but then...

what about what Gilles said about ~/.kde/share/config/digikam.rc and
showfoto.rc?
        - don't you get any conflicts between the versions?
        - Aren't your settings overwritten with the new install?
        - do I have to make a new user on my system and then logout from my
          "normal" account and login to the test account for using the svn-version?

and - sorry for beeing so "linux-silly" - what will those EXPORT and other
commands and scripts change on my system (in regard to other programs, too)?
In fact I have no idea what they are good for and I don't know what it means
"to set properly the right ENVIRONNEMENT variables" because I don't even know
what environment variables are, not to mention how to set them properly.

So, if my questions tell you that I'm still far away of beeing able to do such
things and if you think I'd better first get more used to Linux interna
before trying to install svn-versions, just tell me (or let the thread die):
it's ok for me, I don't want to fill the list with boring questions and I
know this is not a list for teaching Linux basics...

However, if you feel it's possible to guide me savely thru this topic (or tell
me where to begin to learn the necessary basics), I'll appreciate it, of
course.

thanks for your time.

Daniel
         

--
Daniel Bauer photographer Basel Switzerland
professional photography: http://www.daniel-bauer.com
special interest site: http://www.bauer-nudes.com
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users