[Digikam-devel] Issues building libkdcraw/0.1.6 - FTBFS

Gilles Caulier caulier.gilles at gmail.com
Thu Oct 16 12:01:05 BST 2008


Hi Mark,

Sound like internal libraw source code is not used to compile libkdcraw. I
don't know why because you can see this option "-I../libraw" during
compialtion. Also, all compile fine here...

Gilles Caulier

I

2008/10/16 Mark Purcell <msp at debian.org>

> Hi,
>
> I have an issue building libkdcraw/0.1.6:
>
> Making all in libkdcraw
> make[4]: Entering directory
> `/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/obj-i486-linux-gnu/libkdcraw/libkdcraw'
> /usr/share/qt3/bin/moc
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.h
> -o kdcraw.moc
> /bin/sh ../../libtool --silent --tag=CXX   --mode=compile g++
> -DHAVE_CONFIG_H -I. -I../..
> -I/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw
> -I../libraw -
> I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT
>  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -
> Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g
> -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -
> fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -DDCRAW_VERBOSE
> -
> DUSE_LCMS -c -o kdcraw.lo
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:37:35:
> error: libraw/libraw_version.h: No such file or directory
> In file included from
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:43:
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:32:27:
> error: libraw/libraw.h: No such file or directory
> In file included from
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:43:
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:45:
> error: use of enum 'LibRaw_progress' without previous declaration
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:58:
> error: 'libraw_processed_image_t' has not been declared
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:60:
> error: 'LibRaw' has not been declared
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:62:
> error: use of enum 'LibRaw_progress' without previous declaration
> In file included from
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.h:32,
>                 from
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:44:
> /usr/share/qt3/include/qimage.h: In member function 'bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around &&
> within ||
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:
> In static member function 'static bool
> KDcrawIface::KDcraw::loadEmbeddedPreview(QByteArray&, const QString&)':
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:110:
> error: 'LibRaw' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:110:
> error: expected `;' before 'raw'
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:112:
> error: 'raw' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:113:
> error: 'LIBRAW_SUCCESS' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:115:
> error: 'libraw_strerror' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:121:
> error: 'LIBRAW_SUCCESS' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:124:
> error: 'libraw_strerror' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:129:
> error: 'libraw_processed_image_t' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:129:
> error: 'thumb' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:132:
> error: 'libraw_strerror' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:137:
> error: 'LIBRAW_IMAGE_BITMAP' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:147:
> error: 'free' was not declared in this scope
> /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:
> In static member function 'static bool
> KDcrawIface::KDcraw::loadHalfPreview(QImage&,
> const QString&)':
>
>
> Weird thing is if I have libraw include files installed under /usr/local it
> picks that up and builds :-(
>
> Build Depends:
> ii  gcc                                           4:4.3.2-2
>                     The GNU C compiler
> ii  kdelibs4-dev                                  4:3.5.9.dfsg.1-6
>                      development files for the KDE core libraries
> ii  libjpeg62-dev                                 6b-14
>                     Development files for the IJG JPEG library
> ii  liblcms1-dev                                  1.17.dfsg-1
>                     Color management library (Development headers)
>
> Mark
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20081016/96ecbf26/attachment.html>


More information about the Digikam-devel mailing list