Cannot compile v4.5 on Arch Linux

Hey, I’m trying to compile v4.5 on Arch Linux, I can compile v4.4.3, however, now when compiling v4.5 I get the following compile error, when running the make command with the following configure arguments

./configure --prefix=/usr \
      --sysconfdir=/etc \
      --enable-download \
      --enable-hpddm \
      --disable-mumps \
      --enable-optim 
make

The error is :

In file included from freefem/src/FreeFem-sources-4.5/3rdparty/include/parmmg/libparmmg.h:37,
                     from parmmg.cpp:6:
    freefem/src/FreeFem-sources-4.5/3rdparty/include/scotch/metis.h:91:61: error: ‘SCOTCH_Num’ does not name a type
       91 | void                        METISNAMEU(METIS_EdgeND) (const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
          |                                                             ^~~~~~~~~~

More precisely, I get this error about 30 times in this file.
Do you have any idea what is the issue?

I’m on Arch linux, kernel 5.4.19-lts x86_64.

Thank you.

Did you make a “make clean” in 3rdparty directory?
I think itcomes from your “WHERE-LD” file.
Is this solved your problem?

Axel

Hello,

thank you for reporting the problem. We will provide a fix shortly. In the mean time, you can add the ‘--disable-parmmg’ option to your configure to avoid the compilation error.

It worked with :

   autoreconf -i
  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --enable-download \
              --enable-optim \
              --disable-mumps \
              --disable-hpddm \
              --disable-parmmg
    cd 3rdparty
    make clean
    cd ..
    make

Thank you,