Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  12 Dec 2023, Zaher Salman, Bug Report, Compilation error on RPi 
    Reply  14 Dec 2023, Zaher Salman, Bug Report, Compilation error on RPi 
       Reply  29 Dec 2023, Konstantin Olchanski, Bug Report, Compilation error on RPi 
          Reply  03 Jan 2024, Stefan Ritt, Bug Report, Compilation error on RPi 
Message ID: 2665     Entry time: 03 Jan 2024     In reply to: 2662
Author: Stefan Ritt 
Topic: Bug Report 
Subject: Compilation error on RPi 
> > git pull
> > git submodule update
> 
> confirmed. just run into this myself. I think "make" should warn about out of 
> date git modules. Also check that the build git version is tagged with "-dirty".
> 
> K.O.

The submodule business becomes kind of annoying. I updated the documentation at

https://daq00.triumf.ca/MidasWiki/index.php/Quickstart_Linux#MIDAS_Package_Installatio
n

to tell people to use 

1) "git clone ... --recurse-submodules" during the first clone
2) "git submodule update --init --recursive" in case they forgot 1)
3) "git pull --recurse-submodules" for each update or to use
4) "git config submodule.recurse true" to make the --recurse-submodules the default

I use 4) since a while and it works nicely, so one does not have to remember to pull 
recursively each time.

Stefan
ELOG V3.1.4-2e1708b5