libkdcraw problem compiling 3.2.0 on Slackware X86_64

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

libkdcraw problem compiling 3.2.0 on Slackware X86_64

rlx
Hi everyone,

I am trying to compile Digikam-3.2.0 from source and I am almost done with 'cmake' but I still get the infamous,

--  kipi-plugins 3.2.0 dependencies results   <http://www.digikam.org>
-- 
--  libjpeg library found.................... YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. NO

I am using the SlackBuild script and the cmake command is,

 
cmake ..  -DCMAKE_C_FLAGS:STRING='-O2 -fPIC' -DCMAKE_CXX_FLAGS:STRING='-O2 -fPIC' \
    -DCMAKE_INSTALL_PREFIX=/usr  -DLIB_SUFFIX=/usr/lib64 -DMAN_INSTALL_DIR=/usr/man \
    -DCMAKE_BUILD_TYPE=Release  -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE"

Needless to say that I have removed the prior install of libkdraw, got the new one from GIT, and reinstalled.

Basically /usr/include/libkdcraw/version.h looks like,

// Before changing the line below, make sure that FindKdcraw.cmake can still parse it
static const char kdcraw_version[] = "2.3.1";

#define KDCRAW_VERSION 0x020301



I know this is a recurring question, but none of the solutions I have found posted works for me.

I have installed all needed libraries

Slackware does not have an already compiled package so I have to do it the hard way but I am not yet used to how CMAKE handles dependencies so I am at a lost!

Thanks for any pointers,

Richard
Reply | Threaded
Open this post in threaded view
|

Re: libkdcraw problem compiling 3.2.0 on Slackware X86_64

Remco Viëtor
On Monday 08 July 2013 18:31:42 rlx wrote:
> (...)
Seems there are some bits missing from your post (the error messages)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
rlx
Reply | Threaded
Open this post in threaded view
|

Re: libkdcraw problem compiling 3.2.0 on Slackware X86_64

rlx
Hi Remco,

Sorry, here is an attachment of what I get from 'cmake'.tmpcmake
rlx
Reply | Threaded
Open this post in threaded view
|

Re: libkdcraw problem compiling 3.2.0 on Slackware X86_64

rlx
Now installing 3.3.0-beta1.  I get into the same trap: cmake can't configure for libkdcraw.

After looking at the CMakeLists.txt files pointed by the error messages, I found that KDCRAW_VERSION is not initialized (empty). So I modified those files to include the following line:

SET(KDCRAW_VERSION "2.3.1")

I needed to do it to both

digikam-3.3.0-beta1/core/CMakeLists.txt and
digikam-3.3.0-beta1/extra/kipi-plugins/CMakeLists.txt

then cmake completed successfully and I ended up with a working 'digikam' Slackware package.

I did a grep to find out where KDCRAW_VERSION should have been defined but I had no luck yet.  I will add a post here if and when I find something new about this issue.