No curses detected

Luis Pascual Forner <[email protected]> Wed, 22 Mar 2023 11:04:50 +0100
Newsgroups gmane.comp.lang.4gl.aubit.general
Organization IVAL informática <http://www.ival.com>
Message-ID <[email protected]>
Dear Aubit4GL team,

I have compiled aubit4gl on openSUSE Leap 15.4. The compilation was 
successful, but the curses libraries are not detected, even though I 
have all the distribution's ncurses packages installed: libncurses5, 
libncurses5-32bit, libncurses6, libncurses6-32bit, ncurses-devel, 
ncurses5-devel and ncurses5-devel-32bit.

The output of configure is:

Checking for curses libraries:
checking for main in -lncurses... no
checking for winnstr in -lncurses... no
checking for winnstr in -lcurses... no
yes - found
checking For any libncurses library on the system... checking for 
library containing mvadd_wchnstr... no
Did not find it
Found nothing with AC SEARCH LIBS in /lib/libncurses.so.5
/lib/libncurses.so.5.9
/lib/libncurses.so.6
/lib/libncurses.so.6.1
/lib64/libncurses.so.5
/lib64/libncurses.so.5.9
/lib64/libncurses.so.6
/lib64/libncurses.so.6.1
/usr/lib/libncurses.so
/usr/lib/ncurses5/libncurses.so
/usr/lib64/libncurses.so
/usr/lib64/ncurses5/libncurses.so
checking for curses.h... yes
checking for ncurses.h... yes
checking for ncurses/ncurses.h... yes
checking for curses/curses.h... no
checking for main in -lform... yes
checking for main in -lpanel... yes

What I can do?

Thanks in advance