<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Well, I decided to blast through on my own. I didn't "patch" anything but rather simply cut and pasted the next line from the instructions :<BR>
<BR>
<TT># wget <A HREF="http://www.digikam.org/drupal/system/files/libkexiv2cmake.diff_.txt">http://www.digikam.org/drupal/system/files/libkexiv2cmake.diff_.txt</A> -O ../libkexiv2cmake.diff</TT><BR>
<BR>
I then got as far as halfway through the digiKam build exercise. Seems like I hit a brick wall because I was told "-- <B>Configuring incomplete, errors occurred</B>!"<BR>
<BR>
It seems this is because apparently I don't have libkipi, libkexiv2 nor libkdcraw  installed. Huh?? I followed the instructions precisely up to this point (a point for those who'd like to know exactly what I did, the instructions via the above link will be a guidleine). Shouldn't these libraries therefore be installed? Are the instructions lacking?<BR>
<BR>
Can somebody please pull me out of the quagmire?<BR>
<BR>
Here are the details...<BR>
<BR>
<A HREF="mailto:heviiguy@hevii-NtBk-2">heviiguy@hevii-NtBk-2</A>:~/trunk/digikam/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local ..<BR>
-- The C compiler identification is GNU<BR>
-- The CXX compiler identification is GNU<BR>
-- Check for working C compiler: /usr/bin/gcc<BR>
-- Check for working C compiler: /usr/bin/gcc -- works<BR>
-- Detecting C compiler ABI info<BR>
-- Detecting C compiler ABI info - done<BR>
-- Check for working CXX compiler: /usr/bin/c++<BR>
-- Check for working CXX compiler: /usr/bin/c++ -- works<BR>
-- Detecting CXX compiler ABI info<BR>
-- Detecting CXX compiler ABI info - done<BR>
-- Looking for Q_WS_X11<BR>
-- Looking for Q_WS_X11 - found<BR>
-- Looking for Q_WS_WIN<BR>
-- Looking for Q_WS_WIN - not found.<BR>
-- Looking for Q_WS_QWS<BR>
-- Looking for Q_WS_QWS - not found.<BR>
-- Looking for Q_WS_MAC<BR>
-- Looking for Q_WS_MAC - not found.<BR>
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)<BR>
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so<BR>
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found<BR>
-- Looking for gethostbyname<BR>
-- Looking for gethostbyname - found<BR>
-- Looking for connect<BR>
-- Looking for connect - found<BR>
-- Looking for remove<BR>
-- Looking for remove - found<BR>
-- Looking for shmat<BR>
-- Looking for shmat - found<BR>
-- Looking for IceConnectionNumber in ICE<BR>
-- Looking for IceConnectionNumber in ICE - found<BR>
-- Found X11: /usr/lib/libX11.so<BR>
-- Looking for include files CMAKE_HAVE_PTHREAD_H<BR>
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found<BR>
-- Looking for pthread_create in pthreads<BR>
-- Looking for pthread_create in pthreads - not found<BR>
-- Looking for pthread_create in pthread<BR>
-- Looking for pthread_create in pthread - found<BR>
-- Found Threads: TRUE <BR>
-- Looking for _POSIX_TIMERS<BR>
-- Looking for _POSIX_TIMERS - found<BR>
-- Found Automoc4: /usr/bin/automoc4 <BR>
-- Found Perl: /usr/bin/perl <BR>
-- Found Phonon: /usr/include  (found version "4.4.2", required is "4.3.80")<BR>
-- Performing Test _OFFT_IS_64BIT<BR>
-- Performing Test _OFFT_IS_64BIT - Failed<BR>
-- Performing Test HAVE_FPIE_SUPPORT<BR>
-- Performing Test HAVE_FPIE_SUPPORT - Success<BR>
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL<BR>
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success<BR>
-- Performing Test __KDE_HAVE_GCC_VISIBILITY<BR>
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success<BR>
-- Found KDE 4.5 include dir: /usr/include<BR>
-- Found KDE 4.5 library dir: /usr/lib<BR>
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler<BR>
-- Found automoc4: /usr/bin/automoc4<BR>
-- checking for module 'lcms'<BR>
--   found lcms, version 1.18<BR>
-- Found lcms version 1.18, /usr/lib/liblcms.so<BR>
-- Found JPEG: /usr/lib/libjpeg.so <BR>
-- Found ZLIB: /usr/include <BR>
-- Found PNG: /usr/lib/libpng.so <BR>
-- Found TIFF: /usr/lib/libtiff.so <BR>
-- Found Jasper: /usr/lib/libjasper.so <BR>
-- Check Kdcraw library in local sub-folder...<BR>
-- Check Kdcraw library using pkg-config...<BR>
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig<BR>
-- PKGCONFIG() indicates that libkdcraw is not installed (install the package which contains libkdcraw.pc if you want to support this feature)<BR>
-- Check Kexiv2 library in local sub-folder...<BR>
-- Check Kexiv2 library using pkg-config...<BR>
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig<BR>
-- PKGCONFIG() indicates that libkexiv2 is not installed (install the package which contains libkexiv2.pc if you want to support this feature)<BR>
-- Check Kipi library in local sub-folder...<BR>
-- Check Kipi library using pkg-config...<BR>
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig<BR>
-- PKGCONFIG() indicates that libkipi is not installed (install the package which contains libkipi.pc if you want to support this feature)<BR>
-- checking for module 'libpgf'<BR>
--   package 'libpgf' not found<BR>
-- Could NOT find any working clapack installation<BR>
-- Identified libjpeg version: 62<BR>
-- checking for module 'libkdcraw>=1.1.0'<BR>
--   package 'libkdcraw>=1.1.0' not found<BR>
-- checking for module 'libkexiv2>=1.1.0'<BR>
--   package 'libkexiv2>=1.1.0' not found<BR>
-- Found MySQL server executable at: /usr/sbin/mysqld<BR>
-- Found MySQL install_db executable at: /usr/bin/mysql_install_db<BR>
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2 -lgphoto2_port -lm<BR>
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake <BR>
-- Found Marble: /usr/lib/libmarblewidget.so<BR>
-- Can build Marble plugin: yes<BR>
-- Found GLIB2: /usr/lib/libglib-2.0.so <BR>
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig<BR>
-- Found LensFun: /usr/include <BR>
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig<BR>
-- Performing Test HAVE_LQR_0_4<BR>
-- Performing Test HAVE_LQR_0_4 - Success<BR>
-- Found Lqr-1: /usr/include/lqr-1 <BR>
-- Found Soprano: /usr/include <BR>
-- Found SharedDesktopOntologies: /usr/share/ontology <BR>
-- Found Nepomuk: /usr/lib/libnepomuk.so <BR>
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE) <BR>
-- <BR>
-- ----------------------------------------------------------------------------------<BR>
--  digiKam 1.8.0 dependencies results   <http://www.digikam.org><BR>
-- <BR>
--  Qt4 SQL module found..................... YES<BR>
--  MySQL Server found....................... YES<BR>
--  MySQL install_db tool found.............. YES<BR>
--  libtiff library found.................... YES<BR>
--  libpng library found..................... YES<BR>
--  libjasper library found.................. YES<BR>
--  liblcms library found.................... YES<BR>
--  libkipi library found.................... NO<BR>
-- <BR>
CMake Error at CMakeLists.txt:86 (MESSAGE):<BR>
   digiKam needs libkipi. You need to install the libkipi (version >= 0.2.0) library development package.<BR>
Call Stack (most recent call first):<BR>
  CMakeLists.txt:285 (PRINT_LIBRARY_STATUS)<BR>
<BR>
<BR>
--  libkipi website is at http://www.digikam.org/sharedlibs<BR>
-- <BR>
--  libkexiv2 library found.................. NO<BR>
-- <BR>
CMake Error at CMakeLists.txt:86 (MESSAGE):<BR>
   digiKam needs libkexiv2. You need to install the libkexiv2 (version >= 1.1.0) library development package.<BR>
Call Stack (most recent call first):<BR>
  CMakeLists.txt:286 (PRINT_LIBRARY_STATUS)<BR>
<BR>
<BR>
--  libkexiv2 website is at http://www.digikam.org/sharedlibs<BR>
-- <BR>
--  libkdcraw library found.................. NO<BR>
-- <BR>
CMake Error at CMakeLists.txt:86 (MESSAGE):<BR>
   digiKam needs libkdcraw. You need to install the libkdcraw (version >= 1.1.0) library development package.<BR>
Call Stack (most recent call first):<BR>
  CMakeLists.txt:287 (PRINT_LIBRARY_STATUS)<BR>
<BR>
<BR>
--  libkdcraw website is at http://www.digikam.org/sharedlibs<BR>
-- <BR>
--  libpgf library found..................... NO  (optional - internal version used instead)<BR>
--  libclapack library found................. NO  (optional - internal version used instead)<BR>
--  libgphoto2 library found................. YES (optional)<BR>
--  libkdepimlibs library found.............. YES (optional)<BR>
--  libmarblewidget library found............ YES (optional)<BR>
--  Can build Marble plugin.................. YES (optional)<BR>
--  Nepomuk libraries found.................. YES (optional)<BR>
--  libglib2 library found................... YES (optional)<BR>
--  liblqr-1 library found................... YES (optional)<BR>
--  liblensfun library found................. YES (optional)<BR>
--  Doxygen found............................ NO  (optional)<BR>
-- <BR>
--  You will not be able to to generate the API documentation.<BR>
--  This does not affect building digiKam in any way.<BR>
-- <BR>
CMake Error at CMakeLists.txt:399 (MESSAGE):<BR>
   digiKam will be compiled................. NO  (Look README file for more details about dependencies)<BR>
<BR>
<BR>
-- Configuring incomplete, errors occurred!<BR>
<A HREF="mailto:heviiguy@hevii-NtBk-2">heviiguy@hevii-NtBk-2</A>:~/trunk/digikam/build$ ^C<BR>
heviiguy@hevii-NtBk-2:~/trunk/digikam/build$ <BR>
<BR>
<BR>
On Sun, 2010-12-19 at 22:21 -0600, Hevï Guy wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    First problem encountered...<BR>
    <BR>
    Following the instructions given at <TT><FONT COLOR="#3c3c3c">http://www.digikam.org/drupal/download/SvnAlongStable</FONT></TT>  I've been able to get as far as "<B>Patch CMakeLists.txt to be able to build standalone. Download appended <A HREF="http://www.digikam.org/drupal/system/files/libkexiv2cmake.diff_.txt">patch</A> and place it in your development folder.</B>" I found the original CMakeLists.txt on my boat trunk/libkeeiv2/ and, I found the patch via the link:<BR>
    <BR>
    Index: CMakeLists.txt 
<PRE>
===================================================================
--- CMakeLists.txt      (Revision 1117624)
+++ CMakeLists.txt      (Arbeitskopie)
@@ -1,5 +1,20 @@
 PROJECT(libkexiv2)
 
+FIND_PACKAGE(KDE4 REQUIRED)
+INCLUDE(KDE4Defaults)
+INCLUDE(MacroLibrary)
+INCLUDE(MacroOptionalAddSubdirectory)
+INCLUDE(FindPackageHandleStandardArgs)
+
+ADD_DEFINITIONS (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS})
+INCLUDE_DIRECTORIES (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+
+# Preview acess was added in Exiv2 0.18
+# IMPORTANT : Several fixes done in 0.19. Set as default version when KDE 4.4 will be released
+set(EXIV2_MIN_VERSION "0.18")
+macro_optional_find_package(Exiv2)
+macro_log_feature(EXIV2_FOUND "Exiv2" "A library to access image metadata" "http://www.exiv2.org" FALSE ${EXIV2_MIN_VERSION} "Required to build libkexiv2 and gwenview.")
+
 # =======================================================
 # Information to update before to release this library.
</PRE>
    <BR>
    I assume that I copy the above and paste it into CMakeLists.txt. Is this correct? Where do I append it? At the beginning? At the end?<BR>
    <BR>
    <BR>
    On Sun, 2010-12-19 at 19:58 +0100, Michael G. Hansen wrote: 
    <BLOCKQUOTE TYPE=CITE>
<PRE>
On 12/19/2010 07:50 PM, Hevï Guy wrote:
> Thank-you Michael. A few more Noob questions:
>
> If I am somehow successful in getting DigiKam running by following what
> seems to be a complete set of instructions in your link, how would I
> then delete the stable version?

You would have to uninstall it using the package management tools of 
your distribution - for ubuntu, 'sudo apt-get remove digikam'. However, 
you should first remove it, otherwise your installation overwrites the 
files which apt-get thinks are in the package, and then they may be 
removed when you uninstall.

> Will it be safe to delete the development folder and contents after a
> successful build (I assume that the build also makes all the appropriate
> directories and populates the files accordingly, right?).

Once you ran 'make install', yes, you can remove the build folder.

Michael
</PRE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>