[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cmake dependency error while compiling darktable (glib2.0 too old)



Am 29.04.2013 11:02, schrieb "Morel Bérenger":
> Le Sam 27 avril 2013 15:10, Markus Neviadomski a écrit :
>> Thats the error:
>> -- Found xsltproc
>> CMake Error at cmake/modules/FindGlib.cmake:33 (message):
>> Glib version check failed.  Version 2.24.2 was found, at least version
>> 2.28
>> is required Call Stack (most recent call first):
>> src/CMakeLists.txt:120 (find_package)
> 
> Try to remove all files cmake added. Typically, you have made a folder
> like $SRC/build in which you ran "cmake ..".
> Remove all files in it and then redo the "cmake .." and it should work if
> all dependencies are installed.

Thanks! Thats the solution, it works. It is crazy behviour. cmake should
check the dependencies at each time and update its database. Or provide
a command switch like apt-get clean-all i think.

> 
>> These dependecies are needed by darktable:
> 
> You could have used following commands to ease your job:
> 
> # aptitude build-dep darktable
> # aptitude source darktable --compile
> 

Thanks for your advice! Get the source from repositories was not my
goal, because i need the current stable snapshot from git.

> 


Reply to: