# Suricata 7.0 compilation problem: Warning treated as Error in "table" directive

**URL:** <https://forum.suricata.io/t/suricata-7-0-compilation-problem-warning-treated-as-error-in-table-directive/3898>\
**Category:** Developers\
**Tags:** suricata\
**Created:** [September 5, 2023, 7:50pm UTC](https://forum.suricata.io/t/suricata-7-0-compilation-problem-warning-treated-as-error-in-table-directive/3898 "2023-09-05T19:50:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/greg/32/236_2.png) [@greg](https://forum.suricata.io/u/greg)\
**Post date:** [September 5, 2023, 7:50pm UTC](https://forum.suricata.io/t/suricata-7-0-compilation-problem-warning-treated-as-error-in-table-directive/3898/1 "2023-09-05T19:50:53Z")

</div>

Greetings,

At the end of a compilation run on RHEL 8.8 the following was produced, these are the options used, I have not tried to run Suricata as of yet and I assume this is only an issue for documentation and not the actual functioning of Suricata itself.

/configure --prefix=/opt/suricata --with-libhs-includes=/usr/include/hs --with-libhs-libraries=/usr/local/lib64 --enable-af-packet=yes

make[2]: Entering directory ‘/root/installers/suricata-7.0.0/doc/userguide’  
sysconfdir=/opt/suricata/etc   
localstatedir=/opt/suricata/var   
version=7.0.0   
sphinx-build -q -W -b man -d \_build/doctrees   
…/…/doc/userguide \_build/man

Warning, treated as error:  
/REDACTED/installers/suricata-7.0.0/doc/userguide/support-status.rst:92:Error in “table” directive:  
unknown option: “width”.

… table::  
:widths: 20 15 15 10 40  
:width: 100%

±-----------------±------------±---------±------±-------------------------------+  
|Distribution |Version |Support |QA |Notes |  
+==================+=============+==========+=======+================================+  
|RHEL/CentOS |7 |OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|RHEL/Alma/Rocky |8 |OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|RHEL/Alma/Rocky |9 |OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|Ubuntu |20.04 |OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|Ubuntu |22.04 |OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|Debian |10 (Buster) |OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|Debian |11 (Bullseye)|OISF | |Foundation of SELKS |  
±-----------------±------------±---------±------±-------------------------------+  
|Debian |12 (Bookworm)|OISF | | |  
±-----------------±------------±---------±------±-------------------------------+  
|FreeBSD |12 |OISF | |Foundation of OPNsense, pfSense |  
±-----------------±------------±---------±------±-------------------------------+  
|FreeBSD |13 |OISF | |Foundation of OPNSense |  
±-----------------±------------±---------±------±-------------------------------+  
make[2]: \*\*\* [Makefile:643: \_build/man] Error 2  
make[2]: Leaving directory ‘/REDACTED/installers/suricata-7.0.0/doc/userguide’  
make[1]: \*\*\* [Makefile:499: all-recursive] Error 1  
make[1]: Leaving directory ‘/REDACTED/installers/suricata-7.0.0/doc’  
make: \*\*\* [Makefile:494: all-recursive] Error 1

---

<div class="post-metadata">

**Author:** ![ish](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/ish/32/8_2.png) [@ish](https://forum.suricata.io/u/ish)\
**Post date:** [September 5, 2023, 9:20pm UTC](https://forum.suricata.io/t/suricata-7-0-compilation-problem-warning-treated-as-error-in-table-directive/3898/2 "2023-09-05T21:20:57Z")

</div>

Our documentation now requires a newer version of Sphinx than what is found in RHEL 8. We’ll be adding a `./configure` soon so that this doesn’t happen. For now you have the following options:

- remove the `python3-sphinx` package so `./configure` does not find it. The documentation will not be build then
- ignore this error, perhaps using `make -k COMMAND` to ignore it

Sorry about this error.

Ticket: [Bug #6297: configure/docs: check for a supported version of sphinx-build - Suricata - Open Information Security Foundation](https://redmine.openinfosecfoundation.org/issues/6297)

---

<div class="post-metadata">

**Author:** ![greg](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/greg/32/236_2.png) [@greg](https://forum.suricata.io/u/greg)\
**Post date:** [September 5, 2023, 9:49pm UTC](https://forum.suricata.io/t/suricata-7-0-compilation-problem-warning-treated-as-error-in-table-directive/3898/3 "2023-09-05T21:49:33Z")

</div>

Ok great thanks, it was just an FYI - what I did to solve the issue was  
remove all instances of width from the file and that fixed it, not too  
concerned with the documentation written to the system since the  
Suricata project has all the docs you need online.

Greg
