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).
there is nothing special in digiKam to detect libpng. all is delegate to CMake scripts (FindPNG.cmake)... Which cmake version you use ? Gilles Caulier
I use cmake 2.6.2 I even reinstalled it. But the output is the same.
Remove CMakeCache.txt file from root dir and try again. Gilles Caulier
still the same
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 ;)