# Scotch installation error

**URL:** <https://code-saturne.org/forum/t/scotch-installation-error/2334>\
**Category:** Installation issues\
**Created:** [October 31, 2023, 12:20am UTC](https://code-saturne.org/forum/t/scotch-installation-error/2334 "2023-10-31T00:20:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beullia](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@beullia](https://code-saturne.org/forum/u/beullia)\
**Post date:** [October 31, 2023, 12:20am UTC](https://code-saturne.org/forum/t/scotch-installation-error/2334/1 "2023-10-31T00:20:25Z")

</div>

Hello, dear Yvan and code\_saturne team!

When I launched install\_saturne.py I faced an issue.

```plaintext
flex "-Pscotchyy" "-oparser_ll.c" parser_ll.l
"parser_ll.l", line 82: unrecognized %option: bison-bridge
"parser_ll.l", line 86: unrecognized %option: reentrant
make[2]: *** [Makefile:2817: parser_ll.c] Error 1
make[2]: Leaving directory '/home/dlgd/code-saturne/code-saturne.build/scotch-v7.0.3-b43864123e820e3ca541bfecd3738aed385a4c47.build/src/libscotch'
make[1]: *** [Makefile:62: scotch] Error 2
make[1]: Leaving directory '/home/dlgd/code-saturne/code-saturne.build/scotch-v7.0.3-b43864123e820e3ca541bfecd3738aed385a4c47.build/src/libscotch'
make: *** [Makefile:97: libscotch] Error 2

```

Install log is in attachments.

Please help.

Best regards,  
Beulliy  
[install\_saturne.log](https://code-saturne.org/forum/uploads/short-url/aBtpMphbl75TDkuNU2TX35EabZE.log) (65.9 KB)

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [October 31, 2023, 11:36am UTC](https://code-saturne.org/forum/t/scotch-installation-error/2334/2 "2023-10-31T11:36:17Z")

</div>

Hello,

What architecture and OS are your running on ? Is “flex” installed ?

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![beullia](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@beullia](https://code-saturne.org/forum/u/beullia)\
**Post date:** [November 6, 2023, 11:40am UTC](https://code-saturne.org/forum/t/scotch-installation-error/2334/3 "2023-11-06T11:40:56Z")

</div>

After I “sudo apt install flex” everything installed successfully. Thank you!
