SVN: Why won't Digikam make?

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

SVN: Why won't Digikam make?

Dotan Cohen
I don't see any errors that should prevent Digikam from making here at
the end of cmake:
--  digiKam dependencies results -------------------
--  Qt4 SQL module found........... YES
--  libgphoto2 library found....... YES
--  libtiff library found.......... YES
--  libpng library found........... YES
--  libjasper library found........ YES
--  liblcms library found.......... YES
--  libkipi library found.......... YES
--  libkexiv2 library found........ YES
--  libkdcraw library found........ YES
--  libkdepimlibs library found.... YES
--  libmarblewiget library found... NO
--
--  digiKam will be compiled without geolocation using Marble widget
support.
--
--  liblensfun library found....... NO
--
--  digiKam will be compiled without lens auto-correction image editor
plugin.
--
--  digiKam will be compiled...
-- ------------------------------------------------
--
-- Found Kexiv2 library in cache: /usr/local/lib/libkexiv2.so
-- Found Kdcraw library in cache: /lib/libkdcraw.so
-- Found Kipi library in cache: /lib/libkipi.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found PNG: /usr/lib/libpng.so
-- Could not find OPTIONAL package Sane
-- Found X11: /usr/lib/libX11.so
-- Found LibXml2: /usr/lib/libxml2.so
-- Found LibXslt: /usr/lib/libxslt.so
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these
packages.
+ libopengl
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your
system.
-- Consider installing them to enable more features from this
software.
+ imlib: imlib is needed to build kuickshow project
<http://freshmeat.net/projects/imlib/>
-----------------------------------------------------------------------------

-- Configuring done
hardy@hardy-laptop:~/digikam-notes$ make && echo "!!made!!"
make && echo "cat ../build_digikammadecat ../build_digikam"
make: *** No targets specified and no makefile found.  Stop.
hardy@hardy-laptop:~/digikam-notes$



It can be seen that make complains, even though there seem to be no
showstoppers in cmake. This is on the exact same KDE 4.1beta2 system
that I successfully compiled Digikam SVN from a few weeks ago. I did
not reinstall the OS as I had planned. Why shouldn't it make now?

Thanks in advance. I have a list of bugs to triage, which is the
reason that I'm building from SVN and not the stable Digikam.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Gilles Caulier-4
Dotan,

Why you checkout the whole extragear/graphics contents from trunk. you
just need cmake, digikam, and kipi-plugins folder. digiKam & co don't
use since a very long time (0.8.x release) imlib2 shared lib.

Best

Gilles Caulier

2008/7/24 Dotan Cohen <[hidden email]>:

> I don't see any errors that should prevent Digikam from making here at
> the end of cmake:
> --  digiKam dependencies results -------------------
> --  Qt4 SQL module found........... YES
> --  libgphoto2 library found....... YES
> --  libtiff library found.......... YES
> --  libpng library found........... YES
> --  libjasper library found........ YES
> --  liblcms library found.......... YES
> --  libkipi library found.......... YES
> --  libkexiv2 library found........ YES
> --  libkdcraw library found........ YES
> --  libkdepimlibs library found.... YES
> --  libmarblewiget library found... NO
> --
> --  digiKam will be compiled without geolocation using Marble widget
> support.
> --
> --  liblensfun library found....... NO
> --
> --  digiKam will be compiled without lens auto-correction image editor
> plugin.
> --
> --  digiKam will be compiled...
> -- ------------------------------------------------
> --
> -- Found Kexiv2 library in cache: /usr/local/lib/libkexiv2.so
> -- Found Kdcraw library in cache: /lib/libkdcraw.so
> -- Found Kipi library in cache: /lib/libkipi.so
> -- Found JPEG: /usr/lib/libjpeg.so
> -- Found PNG: /usr/lib/libpng.so
> -- Could not find OPTIONAL package Sane
> -- Found X11: /usr/lib/libX11.so
> -- Found LibXml2: /usr/lib/libxml2.so
> -- Found LibXslt: /usr/lib/libxslt.so
> --
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
> + libopengl
> -----------------------------------------------------------------------------
> -- The following OPTIONAL packages could NOT be located on your
> system.
> -- Consider installing them to enable more features from this
> software.
> + imlib: imlib is needed to build kuickshow project
> <http://freshmeat.net/projects/imlib/>
> -----------------------------------------------------------------------------
>
> -- Configuring done
> hardy@hardy-laptop:~/digikam-notes$ make && echo "!!made!!"
> make && echo "cat ../build_digikammadecat ../build_digikam"
> make: *** No targets specified and no makefile found.  Stop.
> hardy@hardy-laptop:~/digikam-notes$
>
>
>
> It can be seen that make complains, even though there seem to be no
> showstoppers in cmake. This is on the exact same KDE 4.1beta2 system
> that I successfully compiled Digikam SVN from a few weeks ago. I did
> not reinstall the OS as I had planned. Why shouldn't it make now?
>
> Thanks in advance. I have a list of bugs to triage, which is the
> reason that I'm building from SVN and not the stable Digikam.
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Bugzilla from gandalf.lechner@univie.ac.at
In reply to this post by Dotan Cohen
On Thursday 24 July 2008 08:02:10 Dotan Cohen wrote:

>
> -- Configuring done
> hardy@hardy-laptop:~/digikam-notes$ make && echo "!!made!!"
> make && echo "cat ../build_digikammadecat ../build_digikam"
> make: *** No targets specified and no makefile found.  Stop.
> hardy@hardy-laptop:~/digikam-notes$
>

What are the contents of your build directory after running cmake? I once had
the strange problem that the makefile etc was generated one directory upstairs,
i.e. in graphics/ instead of graphics/build, and I had to run make from there
to compile. Although this problem doesn't show up here anymore in the current
version, you could check if that's what stopping your make.

Gandalf

>
>
> It can be seen that make complains, even though there seem to be no
> showstoppers in cmake. This is on the exact same KDE 4.1beta2 system
> that I successfully compiled Digikam SVN from a few weeks ago. I did
> not reinstall the OS as I had planned. Why shouldn't it make now?
>
> Thanks in advance. I have a list of bugs to triage, which is the
> reason that I'm building from SVN and not the stable Digikam.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Bugzilla from andi.clemens@gmx.net
In reply to this post by Dotan Cohen
I think this is a bug with IMLIB detection. I have the same (and a lot of
other users, too). Although it is installed, it can't be find. It is an
optional package, but somehow the Makefiles are not written when it is
missing.

Try to comment this line in CMakeLists.txt in your graphics folder:

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 836922)
+++ CMakeLists.txt      (working copy)
@@ -15,7 +15,7 @@
 macro_optional_find_package(OpenGL)
 macro_optional_find_package(Freetype)
 macro_optional_find_package(Boost)
-macro_optional_find_package(IMLIB)
+#macro_optional_find_package(IMLIB)

 # for skanlite and kipi-plugins
 include(MacroOptionalDependPackage)

Andi

On Thursday 24 July 2008 08:02:10 Dotan Cohen wrote:

> I don't see any errors that should prevent Digikam from making here at
> the end of cmake:
> --  digiKam dependencies results -------------------
> --  Qt4 SQL module found........... YES
> --  libgphoto2 library found....... YES
> --  libtiff library found.......... YES
> --  libpng library found........... YES
> --  libjasper library found........ YES
> --  liblcms library found.......... YES
> --  libkipi library found.......... YES
> --  libkexiv2 library found........ YES
> --  libkdcraw library found........ YES
> --  libkdepimlibs library found.... YES
> --  libmarblewiget library found... NO
> --
> --  digiKam will be compiled without geolocation using Marble widget
> support.
> --
> --  liblensfun library found....... NO
> --
> --  digiKam will be compiled without lens auto-correction image editor
> plugin.
> --
> --  digiKam will be compiled...
> -- ------------------------------------------------
> --
> -- Found Kexiv2 library in cache: /usr/local/lib/libkexiv2.so
> -- Found Kdcraw library in cache: /lib/libkdcraw.so
> -- Found Kipi library in cache: /lib/libkipi.so
> -- Found JPEG: /usr/lib/libjpeg.so
> -- Found PNG: /usr/lib/libpng.so
> -- Could not find OPTIONAL package Sane
> -- Found X11: /usr/lib/libX11.so
> -- Found LibXml2: /usr/lib/libxml2.so
> -- Found LibXslt: /usr/lib/libxslt.so
> --
> ---------------------------------------------------------------------------
>-- -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these
> packages.
> + libopengl
> ---------------------------------------------------------------------------
>-- -- The following OPTIONAL packages could NOT be located on your
> system.
> -- Consider installing them to enable more features from this
> software.
> + imlib: imlib is needed to build kuickshow project
> <http://freshmeat.net/projects/imlib/>
> ---------------------------------------------------------------------------
>--
>
> -- Configuring done
> hardy@hardy-laptop:~/digikam-notes$ make && echo "!!made!!"
> make && echo "cat ../build_digikammadecat ../build_digikam"
> make: *** No targets specified and no makefile found.  Stop.
> hardy@hardy-laptop:~/digikam-notes$
>
>
>
> It can be seen that make complains, even though there seem to be no
> showstoppers in cmake. This is on the exact same KDE 4.1beta2 system
> that I successfully compiled Digikam SVN from a few weeks ago. I did
> not reinstall the OS as I had planned. Why shouldn't it make now?
>
> Thanks in advance. I have a list of bugs to triage, which is the
> reason that I'm building from SVN and not the stable Digikam.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Bugzilla from andi.clemens@gmx.net
You can also try to disable the config option "WITH_IMLIB".

Go to your build directory and type
"ccmake ." (make sure to type CCMAKE)

Toggle the option "WITH_IMLIB", press "c" and if it was successful, press "g"
to generate the makefiles.
Now it should compile, too.

Also make sure to revert your CMakeLists.txt in graphics folder:

svn revert CMakeLists.txt

Andi

On Thursday 24 July 2008 09:29:05 Andi Clemens wrote:

> I think this is a bug with IMLIB detection. I have the same (and a lot of
> other users, too). Although it is installed, it can't be find. It is an
> optional package, but somehow the Makefiles are not written when it is
> missing.
>
> Try to comment this line in CMakeLists.txt in your graphics folder:
>
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt      (revision 836922)
> +++ CMakeLists.txt      (working copy)
> @@ -15,7 +15,7 @@
>  macro_optional_find_package(OpenGL)
>  macro_optional_find_package(Freetype)
>  macro_optional_find_package(Boost)
> -macro_optional_find_package(IMLIB)
> +#macro_optional_find_package(IMLIB)
>
>  # for skanlite and kipi-plugins
>  include(MacroOptionalDependPackage)
>
> Andi
>
> On Thursday 24 July 2008 08:02:10 Dotan Cohen wrote:
> > I don't see any errors that should prevent Digikam from making here at
> > the end of cmake:
> > --  digiKam dependencies results -------------------
> > --  Qt4 SQL module found........... YES
> > --  libgphoto2 library found....... YES
> > --  libtiff library found.......... YES
> > --  libpng library found........... YES
> > --  libjasper library found........ YES
> > --  liblcms library found.......... YES
> > --  libkipi library found.......... YES
> > --  libkexiv2 library found........ YES
> > --  libkdcraw library found........ YES
> > --  libkdepimlibs library found.... YES
> > --  libmarblewiget library found... NO
> > --
> > --  digiKam will be compiled without geolocation using Marble widget
> > support.
> > --
> > --  liblensfun library found....... NO
> > --
> > --  digiKam will be compiled without lens auto-correction image editor
> > plugin.
> > --
> > --  digiKam will be compiled...
> > -- ------------------------------------------------
> > --
> > -- Found Kexiv2 library in cache: /usr/local/lib/libkexiv2.so
> > -- Found Kdcraw library in cache: /lib/libkdcraw.so
> > -- Found Kipi library in cache: /lib/libkipi.so
> > -- Found JPEG: /usr/lib/libjpeg.so
> > -- Found PNG: /usr/lib/libpng.so
> > -- Could not find OPTIONAL package Sane
> > -- Found X11: /usr/lib/libX11.so
> > -- Found LibXml2: /usr/lib/libxml2.so
> > -- Found LibXslt: /usr/lib/libxslt.so
> > --
> > -------------------------------------------------------------------------
> >-- -- -- The following external packages were located on your system. --
> > This installation will have the extra features provided by these
> > packages.
> > + libopengl
> > -------------------------------------------------------------------------
> >-- -- -- The following OPTIONAL packages could NOT be located on your
> > system.
> > -- Consider installing them to enable more features from this
> > software.
> > + imlib: imlib is needed to build kuickshow project
> > <http://freshmeat.net/projects/imlib/>
> > -------------------------------------------------------------------------
> >-- --
> >
> > -- Configuring done
> > hardy@hardy-laptop:~/digikam-notes$ make && echo "!!made!!"
> > make && echo "cat ../build_digikammadecat ../build_digikam"
> > make: *** No targets specified and no makefile found.  Stop.
> > hardy@hardy-laptop:~/digikam-notes$
> >
> >
> >
> > It can be seen that make complains, even though there seem to be no
> > showstoppers in cmake. This is on the exact same KDE 4.1beta2 system
> > that I successfully compiled Digikam SVN from a few weeks ago. I did
> > not reinstall the OS as I had planned. Why shouldn't it make now?
> >
> > Thanks in advance. I have a list of bugs to triage, which is the
> > reason that I'm building from SVN and not the stable Digikam.
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Dotan Cohen
2008/7/25 Andi Clemens <[hidden email]>:

> You can also try to disable the config option "WITH_IMLIB".
>
> Go to your build directory and type
> "ccmake ." (make sure to type CCMAKE)
>
> Toggle the option "WITH_IMLIB", press "c" and if it was successful, press "g"
> to generate the makefiles.
> Now it should compile, too.
>
> Also make sure to revert your CMakeLists.txt in graphics folder:
>
> svn revert CMakeLists.txt
>
> Andi
>

Thanks, Andi. I'm having lots of problems with this KDE4 build, I seem
to have broken it badly (I seem to learn best by breaking things). I
will just install KDE 4.1RC1 as I had intended and proceed from there.

OT: I am trying to learn more about cmake and make. I got through the
make manpage just fine, but cmake is very hard for me to grasp, even
though it seems to be the same thing just one 'level' previous. If
anyone knows of a resource that explains it simply for those with very
little C knowledge (a single introductory university course) then I
would appreciate a link. Thanks.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Bugzilla from andi.clemens@gmx.net
Well cmake has nothing to do in general with C, it is just a tool to help you
compile source on different platforms.

I think it is a lot easier to use than autotools, you have graphical config
helpers (ccmake, or a windows GUI application) and the syntax is quite easy,
too. I don't know a good resource for learning, I only read the stuff from
their homepage:
http://www.cmake.org/HTML/Documentation.html

Andi

On Friday 25 July 2008 21:01:02 Dotan Cohen wrote:

> 2008/7/25 Andi Clemens <[hidden email]>:
> > You can also try to disable the config option "WITH_IMLIB".
> >
> > Go to your build directory and type
> > "ccmake ." (make sure to type CCMAKE)
> >
> > Toggle the option "WITH_IMLIB", press "c" and if it was successful, press
> > "g" to generate the makefiles.
> > Now it should compile, too.
> >
> > Also make sure to revert your CMakeLists.txt in graphics folder:
> >
> > svn revert CMakeLists.txt
> >
> > Andi
>
> Thanks, Andi. I'm having lots of problems with this KDE4 build, I seem
> to have broken it badly (I seem to learn best by breaking things). I
> will just install KDE 4.1RC1 as I had intended and proceed from there.
>
> OT: I am trying to learn more about cmake and make. I got through the
> make manpage just fine, but cmake is very hard for me to grasp, even
> though it seems to be the same thing just one 'level' previous. If
> anyone knows of a resource that explains it simply for those with very
> little C knowledge (a single introductory university course) then I
> would appreciate a link. Thanks.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: SVN: Why won't Digikam make?

Dotan Cohen
2008/7/25 Andi Clemens <[hidden email]>:

> Well cmake has nothing to do in general with C, it is just a tool to help you
> compile source on different platforms.
>
> I think it is a lot easier to use than autotools, you have graphical config
> helpers (ccmake, or a windows GUI application) and the syntax is quite easy,
> too. I don't know a good resource for learning, I only read the stuff from
> their homepage:
> http://www.cmake.org/HTML/Documentation.html
>
> Andi
>

Thanks. I just installed KDE 4.1rc1 and I'm getting to work with
Digikam. I'll go through the cmake site to see what I can learn and
bug the list with less noob questions. Thanks.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users