Freefem Installation

Dear community,

I am a new entry in the FreeFem world and I am very excited!

I am trying to install Freefem from the fully reset wsl2 on Windows 11 and I am having troubles doing the compilation on Ubuntu 22.04.5 LTS. I am following the guide from the readme on the freefem github repository for the ubuntu compilation.

In particular, from when I run ‘./3rdparty/getall -a’ , I get some failed connections due to expired links (I followed all the previous instructions and I didn’t have any problems, all the packages where downloaded successfully). For example, it fails to download boost_for_bemtool.tar.gz, mshmet.2012.04.25.tgz and others. If needed I can provide the full list.

I also tried to move forward and see if I could still compile: I was able to download petsc and slepc and compile them, but when I got to run ‘-j4 && make -j4 check’, it gave me some errors regarding some missing packages from the ./getall instruction.

I was still able to download the whole software and run it from windows, but for personal reasons I would rather use it on the wsl.

Any idea on how I can solve this? Thank you in advance!

Best regards,
Giuseppe

My PC specific:

  • Windows 11
  • WSL 2
  • Ubuntu 22.04.5 LTS
  • Kernel version: 5.15.153.1-microsoft-standard-WSL2

See related GitHub issue Dependency management when building from source is not quite perfect. · Issue #318 · FreeFem/FreeFem-sources · GitHub (there are many other similar issues, and the fix is always the same).