Le 29/07/2012 05:21, Owen a ?crit : > >> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 >> (MESSAGE): >> Could NOT find ZLIB (missing: ZLIB_LIBRARY) >> Call Stack (most recent call first): > > > Where is your zlib.h file?
It is in /usr/include and the cmake command find this file (it appears in the CMakeCache.txt created by cmake commande) > > > >> -- Configuring incomplete, errors occurred! >> >> Finally, I use : >> >> cmake .. -DCMAKE_PREFIX_DEBUG:PATH=$HOME/scribus/gsoc12ux/install >> -DWANT_DEBUG=1 >> -DZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so >> -DPNG_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libpng.so >> -DJPEG_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libjpeg.so >> -DTIFF_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libtiff.so >> -DCUPS_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libcups.so >> -DLCMS_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/liblcms.so > > > > > I do not think you should (or need to) do that. > I shouldn't but I don't know what I can do instead of this. > > > > > >> CMake Warning: >> Manually-specified variables were not used by the project: >> >> CMAKE_PREFIX_DEBUG > > Mmmm, is CMAKE_PREFIX_DEBUG a valid directive? (I don't know) > Absolutly no idea ... But most of the time DEBUG variable are just optional.
