OK.... I have not got a clue what this program does
So I will leave to some one who does to give it a whirl....
OK this is the TESTING VERSION of the HOWTO V 0.01 , while its still fresh....
First we need to install a bunch of basic things to compile on Linux..
To start, open Konsole and:
- Code: Select all
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
sudo apt-get install cmake
sudo apt-get install kdelibs5-dev kdebase-workspace-dev
This should get the basic compiler stuff ready for you... next we need to get a bunch of stuff from Synaptic... I am choosing to use Synaptic here as I had to search for these packages and also to make sure we pull in the dependencies for some of these
So KMenu, synaptic
From there in the the search menu we need to get:
gettext (0.18.1.1-1ubuntu2)
libunistring0 (0.9.3-1)
texinfo (4.13a.dfsg.1-5ubuntu1)
libkipi-dev (4:4.6.1-0ubuntu1~maverick1~ppa2)
libkdcraw-dev (4:4.6.1-0ubuntu1~maverick1~ppa2)
libexiv2-dev (0.19-3)
libgexiv2-0 (0.2.0-0ubuntu2.1)
libgexiv2-dev (0.2.0-0ubuntu2.1)
pkg-config (0.25-1)
libjpeg62-dev
Right click on each to mark for installation.
This should mark all the packages this program needs.. .click apply at the top... it will tell you it needs to download some additional packages like libunistring-0 etc... accept those as well.
Go here:
http://www.kphotoalbum.org/index.php?pa ... oad-sourceDownload the 4.1.1 source to YOUR HOME DIRECTORY not your desktop not your documents but /home/<your_user>
Go back to konsole and:
- Code: Select all
tar -xvf kphotoalbum-4.1.1.tar.bz2
cd kphotoalbum-4.1.1/
cmake . <- Thats a DOT! ITS IMPORTANT! >
make -i
sudo make -i install
Its IMPORTANT to use make -i and sudo make -i install or you will not be able to get past the error I had above, this is per the devs. The packaged 4.1.1 source has an issue... if your set up for SVN you can get the SVN version which will not have this issue, but I am not setup for SVN on this system and neither are most others, so I chose to follow the path most would follow with the easiest available source.....
Each of these steps will spit out things... they must complete properly or you will not be able to use KPhoto...
cmake should give you something like:
- Code: Select all
rec9140@rec9140-test-machine ~/kphotoalbum-4.1.1 $ cmake .
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
-- Could NOT find marble (missing: MARBLE_INCLUDE_DIR MARBLE_LIBRARIES)
CMake Warning (dev) at CMakeLists.txt:341 (add_subdirectory):
The source directory
/home/rec9140/kphotoalbum-4.1.1/doc
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is
being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run
"cmake --help-policy CMP0014" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rec9140/kphotoalbum-4.1.1
rec9140@rec9140-test-machine ~/kphotoalbum-4.1.1 $
IF you get the "Build files... " line then proceed to the make -i line
You WILL get some reported errors due to the issue with the documentation, but you should be able to do the last two lines and get something like:
- Code: Select all
CMake Error at doc-translations/de_kphotoalbum/kphotoalbum/cmake_install.cmake:36 (FILE):
file INSTALL cannot find
"/home/rec9140/kphotoalbum-4.1.1/doc-translations/de_kphotoalbum/kphotoalbum/index.cache.bz2".
Call Stack (most recent call first):
doc-translations/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:86 (INCLUDE)
rec9140@rec9140-test-machine ~/kphotoalbum-4.1.1 $ kphotoalbum
At end and then do a kphotoalbum to start it up...
So give this a whirl and if you encounter errors let me know... and I will advise what I overlooked in my notes... most likely packages that you need....