[KPhotoAlbum] Best Way to Install/Compile latest, really stable KPhotoAlbum

Murray Strome wmstrome at yahoo.com
Wed Jul 6 20:32:27 CEST 2011


Thank you very much for the clear, accurate instructions. The only thing you did not mention is "where the program would be located after the install". However, I did find it in ~/kphotoalbum/bin/

Now to see if it will be stable for me. I am not sure where I put all the photos I had originally removed from my photos directory, but when (or if) I find them, I will start adding them back to see if it becomes unstable.

Murray

--- On Tue, 7/5/11, Miika Turkia <miika.turkia at gmail.com> wrote:

From: Miika Turkia <miika.turkia at gmail.com>
Subject: Re: Best Way to Install/Compile latest, really stable KPhotoAlbum
To: "Murray Strome" <wmstrome at yahoo.com>
Cc: "Andreas Neustifter" <andreas.neustifter at gmail.com>, "KPhotoAlbum List" <kphotoalbum at kdab.net>
Received: Tuesday, July 5, 2011, 9:12 PM

If there is no need for the compiled kphotoalbum to be accessible to other users, I suggest you to install it to your home directory. This way there is no hassle with permissions. Following steps should do this giving you the latest and gratest (note that dollar sign indicates command prompt, new line is only before the dollar sign, no matter how this mail gets formatted):


$ sudo apt-get build-dep kphotoalbum
$ sudo apt-get install git libjpeg8-dev
$ mkdir ~/sources
$ cd ~/sources
$ git clone git://anongit.kde.org/kphotoalbum

$ cd kphotoalbum
$ cmake -DCMAKE_INSTALL_PREFIX=~/kphotoalbum -DCMAKE_BUILD_TYPE=Release .
$ make install

First apt-get lines should install needed dependencies.
Then we create sources directory to your home directory and download the kphotoalbum there.

And lastly we compile KPA

Once this is done successfully and you can update kphotoalbum by (if there are new commits to the source tree):
$ cd ~/sources/kphotoalbum
$ git pull
$ cmake -DCMAKE_INSTALL_PREFIX=~/kphotoalbum -DCMAKE_BUILD_TYPE=Release .

$ make install

HTH,
miika

On Wed, Jul 6, 2011 at 4:16 AM, Murray Strome <wmstrome at yahoo.com> wrote:

It has been a while since I last tried to compile the .git file that Milka sent to me. Since then, I have reinstalled my OS (changed to XUbuntu 11.04) and want to be sure that I get the best version of KPA (and one that won't crash when I preview all my 6000+ photos, even if there is something wrong with one or more of the images).


Can you point me to the best version to use, and provide detailed instructions on how to go about it (including anything I should install first and any directories I should create and with what permisions/ownership).


Thanks,

Murray


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kdab.com/pipermail/kphotoalbum/attachments/20110706/541d59ad/attachment-0001.html>


More information about the KPhotoAlbum mailing list