Bug 197198 - libpng not detected during configure
Summary: libpng not detected during configure
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Cmake (show other bugs)
Version: 1.0.0
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 22:27 UTC by Andrzej
Modified: 2017-08-09 20:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej 2009-06-19 22:27:45 UTC
Version:           1.0.0beta1 (using KDE 4.2.4)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28.10
Installed from:    Slackware Packages

I have libpng-1.2.35 installed but digikam does not detect it during configure:

-----------                                                                                               
--  digiKam 1.0.0-beta1 dependencies results   <http://www.digikam.org>                                                                                                             
--                                                                                                                                                                                  
--  Qt4 SQL module found................ YES                                                                                                                                        
--  libjpeg library found............... YES                                                                                                                                        
--  libtiff library found............... YES                                                                                                                                        
--  libpng library found................ NO                                                                                                                                         
--                                                                                                                                                                                  
CMake Error at CMakeLists.txt:152 (MESSAGE):                                                                                                                                        
   digiKam needs libpng. You need to install the correct version (>= 1.2.7).
Comment 1 caulier.gilles 2009-06-20 08:22:06 UTC
there is nothing special in digiKam to detect libpng. all is delegate to CMake scripts (FindPNG.cmake)...

Which cmake version you use ?

Gilles Caulier
Comment 2 Andrzej 2009-06-20 21:24:23 UTC
I use cmake 2.6.2
I even reinstalled it. But the output is the same.
Comment 3 caulier.gilles 2009-06-20 21:31:05 UTC
Remove CMakeCache.txt file from root dir and try again.

Gilles Caulier
Comment 4 Andrzej 2009-06-20 23:07:24 UTC
still the same
Comment 5 Andrzej 2009-06-23 00:06:06 UTC
mea culpa

When I was studying cmake package I discovered that libpng depends on zlib.
Somehow I removed zlib sometime ago (in Slackware there is no dependencies control) and this explains why cmake was not able to detect libpng ;)