<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">It did not work. I changed the line as you suggested to install in /opt and got this set of errors:<br><br>mkdir: cannot create directory `/opt/kpa': Permission denied<br>mkdir: cannot create directory `/opt/kpa': Permission denied<br>/home/murray/Downloads/git-compile-tmp.sh: line 28: cd: /opt/kpa: No such file or directory<br>Cloning into kphotoalbum...<br>remote: Counting objects: 25165, done.<br>remote: Compressing objects: 100% (4774/4774), done.<br>remote: Total 25165 (delta 20621), reused 24786 (delta 20334)<br>Receiving objects: 100% (25165/25165), 31.47 MiB | 542 KiB/s, done.<br>Resolving deltas: 100% (20621/20621), done.<br>/home/murray/Downloads/git-compile-tmp.sh: line 32: cd: /opt/kpa/kphotoalbum: No such file or directory<br>CMake Error: The source directory "/home/murray/Documents" does not appear to contain CMakeLists.txt.<br>Specify --help for
 usage, or press the help button on the CMake GUI.<br>make: *** No rule to make target `install'.  Stop.<br><br><br>I then manually changed the permissions for /opt and tried again and got this:<br><br>~/Downloads/git-compile-tmp.sh<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>git is already the newest version.<br>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>Cloning into kphotoalbum...<br>remote: Counting objects: 25165, done.<br>remote: Compressing objects: 100% (4774/4774), done.<br>error: inflate: data stream error (incorrect data check)iB/s   <br>fatal: pack has bad object at offset 17527321: inflate returned -3<br>fatal:
 index-pack failed<br>/home/murray/Downloads/git-compile-tmp.sh: line 32: cd: /opt/kpa/kphotoalbum: No such file or directory<br>CMake Error: The source directory "/opt/kpa" does not appear to contain CMakeLists.txt.<br>Specify --help for usage, or press the help button on the CMake GUI.<br>make: *** No rule to make target `install'.  Stop.<br><br><br>What have I missed?<br><br>Murray<br>--- On <b>Fri, 6/17/11, Miika Turkia <i><miika.turkia@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Miika Turkia <miika.turkia@gmail.com><br>Subject: Re: [KPhotoAlbum] KPhotoAlbum Crashes when viewing thumbnails<br>To: "Murray Strome" <wmstrome@yahoo.com><br>Cc: "Andreas Neustifter" <andreas.neustifter@gmail.com>, kphotoalbum@kdab.com<br>Received: Friday, June 17, 2011, 5:20 AM<br><br><div id="yiv316979746">Hello Murray,<br><br>sorry for the late
 replay, I am currently waiting for transit back home. I've been disconnected for almost three weeks ;)<br><br>What you need to do is make the script executable and run it. Location does not matter, you can try it out from ~/Downloads. You can run the script as normal user. It uses sudo to install a few required packages (and sudo asks for your password while running). Then it downloads the source code, compiles and installs. Official version can still be accessed the same way as before and the new version needs the full path.<br>
<br>I personally compile my own KPA under /opt and would recommend that to you (the script does not use sudo for installing so that is one thing that needs tweaking, I have /opt/kpa directory owned by myself so I don't need extra privileges for the sources or installation). At least if the development version fixes your problem.<br>
<br>There is no need to run kphotoalbum as root...<br><br>So the needed steps are more or less the following:<br>- chmod 755 ~/Download/git-compile-tmp.sh<br>- ~/Download/git-compile-tmp.sh (give password for the sudo to install compile dependencies)<br>
- /tmp/kpa/kde4-install/bin/kphotoalbum -c ~/Pictures/index.xml<br><br>Or if you want it under /opt, change first the MY_KDE_SRC variable within the git-compile-tmp.sh from /tmp/kpa to /opt/kpa<br><br>If there is still something open, I should be a bit more responsive once back home.<br>
<br>miika<br><br><div class="yiv316979746gmail_quote">On Sat, Jun 4, 2011 at 1:10 PM, Murray Strome <span dir="ltr"><<a rel="nofollow" ymailto="mailto:wmstrome@yahoo.com" target="_blank" href="/mc/compose?to=wmstrome@yahoo.com">wmstrome@yahoo.com</a>></span> wrote:<br><blockquote class="yiv316979746gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Hi Milika,<br><br>I am finally home and about to try the file you sent me. I am not very adept at compiling etc. so I would appreciate it if you could give me (or point me to) some simple instructions as to how to do this. In particular. My current version is in: /usr/bin/kphotoalbum<br>
<br>So, where should I extract the file? Do you recomment ~/tmp or /tmp? (or /opt?). Do I need to run it as root (i.e. sudo  /tmp/kpa/kde4-install/bin/kphotoalbum -c <picturepath>/index.xml). Right now, the file is in ~/Downloads. I assume that I will need to make it executable. Is that correct?<br>
<br>I have upgraded my LINUX on one machine to Kubuntu 11.04. I thought it was working OK, but after a while it still crashed. <br><br>Thanks for your help.<br><br>Murray<br><br>--- On <b>Sat, 5/21/11, Miika Turkia <i><<a rel="nofollow" ymailto="mailto:miika.turkia@gmail.com" target="_blank" href="/mc/compose?to=miika.turkia@gmail.com">miika.turkia@gmail.com</a>></i></b>
 wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Miika Turkia <<a rel="nofollow" ymailto="mailto:miika.turkia@gmail.com" target="_blank" href="/mc/compose?to=miika.turkia@gmail.com">miika.turkia@gmail.com</a>><div class="yiv316979746im">
<br>Subject: Re: [KPhotoAlbum] KPhotoAlbum Crashes when viewing thumbnails<br>To: "Murray Strome" <<a rel="nofollow" ymailto="mailto:wmstrome@yahoo.com" target="_blank" href="/mc/compose?to=wmstrome@yahoo.com">wmstrome@yahoo.com</a>><br></div>Cc: "Andreas Neustifter" <<a rel="nofollow" ymailto="mailto:andreas.neustifter@gmail.com" target="_blank" href="/mc/compose?to=andreas.neustifter@gmail.com">andreas.neustifter@gmail.com</a>>, <a rel="nofollow" ymailto="mailto:kphotoalbum@kdab.com" target="_blank" href="/mc/compose?to=kphotoalbum@kdab.com">kphotoalbum@kdab.com</a><br>
Received: Saturday, May 21, 2011, 6:06 A<br><br><div><div><div>Hello,<div class="yiv316979746im"><br><br>there is a bugfix in the development version of KPA that is not included in the "stock" version of Ubuntu's kphotoalbum. Applied on 2010-12-22 and it fixes some exif related crashes. This might well be the bug you are hitting.<br>

<br>Unfortunately I do not currently know any other way to make sure than compiling KPA yourself from the development version. (Attached script grabs the current source from git and compiles it. Everything is done under /tmp but I myself use /opt instead. Note that the KPA compiled like this does not find your current image dir without aid as the KDEHOME is under /tmp. Run as follows if you want to give it a try: /tmp/kpa/kde4-install/bin/kphotoalbum -c <picturepath>/index.xml)<br>

<br>HTH,<br>theBro<br></div></div></div><br>
</div></blockquote></td></tr></tbody></table></blockquote></div><br>
</div></blockquote></td></tr></table>