# Cannot compile v4.5 on Arch Linux

**URL:** <https://community.freefem.org/t/cannot-compile-v4-5-on-arch-linux/246>\
**Category:** FreeFEM installation\
**Created:** [February 13, 2020, 9:23am UTC](https://community.freefem.org/t/cannot-compile-v4-5-on-arch-linux/246 "2020-02-13T09:23:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sosthene-Guedon](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@Sosthene-Guedon](https://community.freefem.org/u/Sosthene-Guedon)\
**Post date:** [February 13, 2020, 9:23am UTC](https://community.freefem.org/t/cannot-compile-v4-5-on-arch-linux/246/1 "2020-02-13T09:23:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AFourmont](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/afourmont/32/56_2.png) [@AFourmont](https://community.freefem.org/u/AFourmont)\
**Post date:** [February 13, 2020, 10:03am UTC](https://community.freefem.org/t/cannot-compile-v4-5-on-arch-linux/246/2 "2020-02-13T10:03:42Z")

</div>

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

Axel

---

<div class="post-metadata">

**Author:** ![phtournier](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@phtournier](https://community.freefem.org/u/phtournier)\
**Post date:** [February 13, 2020, 1:25pm UTC](https://community.freefem.org/t/cannot-compile-v4-5-on-arch-linux/246/3 "2020-02-13T13:25:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Sosthene-Guedon](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@Sosthene-Guedon](https://community.freefem.org/u/Sosthene-Guedon)\
**Post date:** [February 13, 2020, 5:36pm UTC](https://community.freefem.org/t/cannot-compile-v4-5-on-arch-linux/246/4 "2020-02-13T17:36:41Z")

</div>

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,
