Unable to install MEDCOUPLING-9.8.0-MPI-UB20.04-SRC

Hi,

I’m trying to install MEDCoupling on my desktop computer runinng Ubuntu 20.04.
The command ./sat -t compile MEDCOUPLING-9.8.0-MPI returns the following :

Executing the compile commands in the build directories of the products of the application MEDCOUPLING-9.8.0-MPI
  SOURCE directory = /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/salomeTools/../SOURCES 
   BUILD directory = /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/salomeTools/../BUILD 

Compilation of Python ........................ Already installed
Compilation of setuptools .................... Already installed
Compilation of Cython ........................ Already installed
Compilation of openmpi ....................... Already installed
Compilation of cmake ......................... Already installed
Compilation of hdf5 .......................... Already installed
Compilation of medfile ....................... Already installed
Compilation of snowballstemmer ............... Already installed
Compilation of pytz .......................... Already installed
Compilation of Babel ......................... Already installed
Compilation of swig .......................... Already installed
Compilation of graphviz ...................... Already installed
Compilation of six ........................... Already installed
Compilation of pyparsing ..................... Already installed
Compilation of packaging ..................... Already installed
Compilation of sphinxcontrib_websupport ...... Already installed
Compilation of pockets ....................... Already installed
Compilation of sphinxcontrib_napoleon ........ Already installed
Compilation of CONFIGURATION ................. ignored                       
Compilation of boost ......................... Already installed
Compilation of cppunit ....................... Already installed
Compilation of scotch ........................ Already installed
Compilation of ParMetis ...................... Already installed
Compilation of docutils ...................... Already installed
Compilation of libxml2 ....................... Already installed
Compilation of Pygments ...................... Already installed
Compilation of markupsafe .................... Already installed
Compilation of Jinja2 ........................ Already installed
Compilation of certifi ....................... Already installed
Compilation of urllib3 ....................... Already installed
Compilation of idna .......................... Already installed
Compilation of chardet ....................... Already installed
Compilation of requests ...................... Already installed
Compilation of imagesize ..................... Already installed
Compilation of alabaster ..................... Already installed
Compilation of Sphinx ........................ Already installed
Compilation of click ......................... Already installed
Compilation of sphinxintl .................... Already installed
Compilation of lapack ........................ Already installed
Compilation of numpy ......................... Already installed
Compilation of scipy ......................... Already installed
Compilation of doxygen ....................... CONFIGURE  build_dir   = /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/salomeTools/../BUILD/doxygen
  install_dir = /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/salomeTools/../INSTALL/doxygen

> cmake  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/salomeTools/../INSTALL/doxygen /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/salomeTools/../SOURCES/doxygen
CMake Error at /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/INSTALL/cmake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find FLEX (missing: FLEX_EXECUTABLE)
Call Stack (most recent call first):
  /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/INSTALL/cmake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/INSTALL/cmake/share/cmake-3.12/Modules/FindFLEX.cmake:217 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:84 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/dechenaux/CODES/MEDCoupling/MEDCOUPLING-9.8.0-MPI-UB20.04-SRC/BUILD/doxygen/CMakeFiles/CMakeOutput.log".
Compilation of doxygen ....................... KO CONFIGURE                  
Compilation of MEDCOUPLING ................... ERROR : the following mandatory product(s) is(are) not installed: doxygen 
Compilation of mpi4py ........................ Already installed

Compilation: KO (43/44)

So it’s complaining about FLEX and doxygen (but I believe doxygen is not to be taken seriously, right ?)

Any idea ? ( I just created my account and can’t seem to be able to attach my LOG directory …)

Thanks !

I believe you’re missing: flex and maybe bison)
Install them with apt install flex bison

Ok, it works … Thanks !