<div dir="ltr">Hi,<br><br>I'm having some problems compiling qgis2 on a ubuntu 12.04 machine.<br><br>When trying to configure with ccmake I get the error:<br><br>.....<br>CMake Error at CMakeLists.txt:135 (INCLUDE):<br>
   include could not find load file:<br>     Flex<br> CMake Error at CMakeLists.txt:137 (FIND_FLEX):<br>   Unknown CMake command "FIND_FLEX".<br>.....<br><br>I checked if flex was installed. It is (ubuntu comes packed with flex 2.5.35). Found sources for 2.5.37, compiled and installed, but it didn't help.<br>
<br>flex executable lives in /usr/local/bin.<br><br>Could someone help?<br>Thanks,<br>António<br></div>