log.txt (15.3 KB)
I am trying to build O2 on my laptop (ubuntu 20.04 x64) with alibuild.
I followed the tutorial here: 🛠 Build the packages · ALICE Analysis Tutorial
The build fails inevitably at the step when building lhapdf, here is the error in alibuild: (when I execute the command aliBuild build O2 --defaults o2)
==> Building email@example.com
==> lhapdf is being built (use --debug for full output): failed
ERROR: Error while executing /home/herrmann/alice/sw/SPECS/ubuntu2004_x86-64/lhapdf/v6.2.1-alice2-local1/build.sh on `lyospare52’.
ERROR: Log can be found in /home/herrmann/alice/sw/BUILD/lhapdf-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /home/herrmann/alice/sw/BUILD/lhapdf-latest/lhapdf.
I joined the log.
Please help !
Thanks in advance,
Hi ! The solution is “lhapdf apparently does not work with python 3. Therefore, on Ubuntu 20 python should be disabled automatically for lhapdf, but it not. As a temporary workaround I added the line
in alidist/lhapdf.sh before the line where the ./configure command is executed.”